Skip to content

Commit 6917136

Browse files
authored
AITK - Add Tracing (#8657)
* Initial upload * updated code samples and toc * updated based on feedback * Update based on feedback
1 parent 4a691c0 commit 6917136

File tree

14 files changed

+750
-2
lines changed

14 files changed

+750
-2
lines changed

docs/intelligentapps/agentbuilder.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,16 @@ To view the Python code, follow these steps:
191191

192192
> To authenticate with the model, you usually need an API key from the provider. To access models hosted by GitHub, [generate a personal access token](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens) (PAT) in your GitHub settings.
193193
194+
## What you learned
195+
196+
In this article, you learned how to:
197+
198+
- Use the AI Toolkit for VS Code to test and debug your agents.
199+
- Discover, configure, and build MCP servers to connect your agents to external APIs and services.
200+
- Set up function calling to connect your agents to external APIs and services.
201+
- Implement structured output to deliver predictable results from your agents.
202+
- Integrate prompt engineering into your application with generated code snippets.
203+
194204
## Next steps
195205

196206
- [Run an evaluation job](/docs/intelligentapps/evaluation.md) for the popular evaluators

docs/intelligentapps/bulkrun.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,17 @@ You can:
8484
- **Edit Column Name**: Change the name of any column in the dataset.
8585
- **Add Ground Truth Column**: Add a column for ground truth values to compare with AI responses.
8686

87+
## What you learned
88+
89+
In this article, you learned how to:
90+
91+
- Generate a synthetic dataset for bulk runs.
92+
- Import and export datasets in CSV format.
93+
- Run evaluations on bulk run results.
94+
- Mark responses as good or bad to keep a record of manual evaluations.
95+
- View details of responses and navigate between queries in the dataset.
96+
- Manage data columns for better analysis.
97+
8798
## Next steps
8899

89100
- [Run an evaluation](/docs/intelligentapps/evaluation.md) with the popular evaluators

docs/intelligentapps/evaluation.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,3 +176,15 @@ def measure_the_response_if_human_like_or_not(query, **kwargs):
176176
"reason": "This is a placeholder for the evaluator's reason."
177177
}
178178
```
179+
180+
## What you learned
181+
182+
In this article, you learned how to:
183+
184+
- Create and run evaluation jobs in AI Toolkit for VS Code.
185+
- Monitor the status of evaluation jobs and view their results.
186+
- Compare evaluation results between different versions of prompts and agents.
187+
- View version history for prompts and agents.
188+
- Use built-in evaluators to measure performance with various metrics.
189+
- Create custom evaluators to extend the built-in evaluation capabilities.
190+
- Use LLM-based and code-based evaluators for different evaluation scenarios.

docs/intelligentapps/finetune.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,3 +299,19 @@ For example:
299299
"ACA_APP_ENDPOINT": "<your-aca-endpoint>"
300300
}
301301
```
302+
303+
## What you learned
304+
305+
In this article, you learned how to:
306+
307+
- Set up the AI Toolkit for VS Code to support fine-tuning and inference in Azure Container Apps.
308+
- Create a fine-tuning project in AI Toolkit for VS Code.
309+
- Configure the fine-tuning workflow, including dataset selection and training parameters.
310+
- Run the fine-tuning workflow to adapt a pre-trained model to your specific dataset.
311+
- View the results of the fine-tuning process, including metrics and logs.
312+
- Use the sample notebook for model inference and testing.
313+
- Export and share the fine-tuning project with others.
314+
- Re-evaluate a model using different datasets or training parameters.
315+
- Handle failed jobs and adjust configurations for re-runs.
316+
- Understand the supported models and their requirements for fine-tuning.
317+
- Use the AI Toolkit for VS Code to manage fine-tuning projects, including provisioning Azure resources, running fine-tuning jobs, and deploying models for inference.
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading

docs/intelligentapps/modelconversion.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,20 @@ The default runtime is: `C:\Users\{user_name}\.aitk\bin\model_lab_runtime\Python
211211

212212
Go to the History board. Select **Export** to share the model project with others. This copies the model project without history folder. If you want to share models with others, select the corresponding jobs. This copies the selected history folder containing the model and its configuration.
213213

214+
## What you learned
215+
216+
In this article, you learned how to:
217+
218+
- Create a model conversion project in AI Toolkit for VS Code.
219+
- Configure the conversion workflow, including quantization and evaluation settings.
220+
- Run the conversion workflow to transform a pre-built model into an optimized ONNX model.
221+
- View the results of the conversion, including metrics and logs.
222+
- Use the sample notebook for model inference and testing.
223+
- Export and share the model project with others.
224+
- Re-evaluate a model using different execution providers or datasets.
225+
- Handle failed jobs and adjust configurations for re-runs.
226+
- Understand the supported models and their requirements for conversion and quantization.
227+
214228
## See also
215229

216230
- [How to manually setup GPU conversion](/docs/intelligentapps/reference/ManualConversionOnGPU.md)

docs/intelligentapps/models.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,3 +167,19 @@ You can manage your models in the **MY MODELS** section of the AI Toolkit view.
167167
## License and sign-in
168168

169169
Some models require a publisher or hosting-service license and account to sign-in. In that case, before you can run the model in the [model playground](/docs/intelligentapps/playground.md), you are prompted to provide this information.
170+
171+
## What you learned
172+
173+
In this article, you learned how to:
174+
175+
- Explore and manage generative AI models in AI Toolkit.
176+
- Find models from various sources, including GitHub, ONNX, OpenAI, Anthropic, Google, Ollama, and custom endpoints.
177+
- Add models to your toolkit and deploy them to Azure AI Foundry.
178+
- Add custom models, including Ollama and OpenAI compatible models, and test them in the playground or agent builder.
179+
- Use the model catalog to view available models and select the best fit for your AI application needs.
180+
- Use filters and search to find models quickly.
181+
- Browse models by category, such as Popular, GitHub, ONNX, and Ollama.
182+
- Convert and add custom ONNX models using the model conversion tool.
183+
- Manage models in MY MODELS, including editing, deleting, refreshing, and viewing details.
184+
- Start and stop the ONNX server and copy endpoints for local models.
185+
- Handle license and sign-in requirements for some models before testing them.

0 commit comments

Comments
 (0)