[COMPASS-7047] Use azure functions in ai prompt Created: 25/Jul/23  Updated: 04/Oct/23  Resolved: 04/Oct/23

Status: Closed
Project: Compass
Component/s: GAI
Affects Version/s: None
Fix Version/s: No version

Type: Investigation Priority: Major - P3
Reporter: Rhys Howell Assignee: Unassigned
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on COMPASS-7100 Update the ai prompt to return MQL st... Closed
Story Points: 3
Documentation Changes: Not Needed

 Description   

Update our ai prompts to use the functions to better support JSON and the format we want. If in the process we find functions complicate things significantly or lower the quality of responses we don't have to use them.

Release blog:
https://techcommunity.microsoft.com/t5/azure-ai-services-blog/function-calling-is-now-available-in-azure-openai-service/ba-p/3879241#:~:text=Function%20calling%20gives%20you%20a,easy%2Dto%2Dinterpret%20outputs 

 

Docs:
https://learn.microsoft.com/en-us/azure/ai-services/openai/how-to/function-calling 

End to end example:
https://github.com/Azure-Samples/openai/tree/main/Basic_Samples/Functions 


Generated at Wed Feb 07 22:45:10 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.