Skip to content

Commit 836c42f

Browse files
committed
update
1 parent 0896c81 commit 836c42f

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

articles/ai-services/openai/how-to/fine-tuning-functions.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,5 +90,6 @@ As with the example before, this example is artificially expanded for readabilit
9090

9191
## Next steps
9292

93+
- [Function calling fine-tuning scenarios](https://techcommunity.microsoft.com/t5/ai-azure-ai-services-blog/fine-tuning-with-function-calling-on-azure-openai-service/ba-p/4065968#:~:text=Fine%20tuning%20lets%20you%20shorten%20your%20function%20calls,the%20entire%20function%20object%20from%20the%20functions%20array.)
9394
- Explore the fine-tuning capabilities in the [Azure OpenAI fine-tuning tutorial](../tutorials/fine-tune.md).
9495
- Review fine-tuning [model regional availability](../concepts/models.md#fine-tuning-models)

articles/ai-services/openai/how-to/function-calling.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -441,6 +441,9 @@ Here's the current information for the three cities:
441441
Is there anything else you need?
442442
```
443443

444+
> [!IMPORTANT]
445+
> The JSON response might not always be valid so you need to add additional logic to your code to be able to handle errors. For some use cases you may find you need to use fine-tuning to improve [function calling performance](./fine-tuning-functions.md).
446+
444447
## Prompt engineering with functions
445448

446449
When you define a function as part of your request, the details are injected into the system message using specific syntax that the model has been trained on. This means that functions consume tokens in your prompt and that you can apply prompt engineering techniques to optimize the performance of your function calls. The model uses the full context of the prompt to determine if a function should be called including function definition, the system message, and the user messages.

0 commit comments

Comments
 (0)