Skip to content

Commit 2217ac6

Browse files
lecheuklunCheuk Lun Ko
authored andcommitted
Add polynomial fitting agent example
1 parent a9fba56 commit 2217ac6

File tree

9 files changed

+581
-1
lines changed

9 files changed

+581
-1
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ jobs:
3535
- name: Set up MATLAB
3636
uses: matlab-actions/setup-matlab@v2
3737
with:
38-
products: Text_Analytics_Toolbox
38+
products: >
39+
Text_Analytics_Toolbox
40+
Curve_Fitting_Toolbox
3941
cache: true
4042
- name: Run tests and generate artifacts
4143
env:

examples/FitPolynomialToDataUsingAIAgentExample.md

Lines changed: 573 additions & 0 deletions
Large diffs are not rendered by default.
23.8 KB
Loading
39.2 KB
Loading
36.3 KB
Loading
5.55 KB
Loading
104 KB
Binary file not shown.
595 KB
Binary file not shown.

tests/texampleTests.m

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,11 @@ function testDescribeImagesUsingChatGPT(testCase)
127127
evalc("DescribeImagesUsingChatGPT");
128128
end
129129

130+
function testFitPolynomialToDataUsingAIAgentExample(testCase)
131+
testCase.startCapture("FitPolynomialToDataUsingAIAgentExample");
132+
evalc("FitPolynomialToDataUsingAIAgentExample");
133+
end
134+
130135
function testInformationRetrievalUsingOpenAIDocumentEmbedding(testCase)
131136
testCase.startCapture("InformationRetrievalUsingOpenAIDocumentEmbedding");
132137
evalc("InformationRetrievalUsingOpenAIDocumentEmbedding");

0 commit comments

Comments
 (0)