You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
.Net: When using OpenAI function calling return the function response using the function role #3248
changed the title [-]When using OpenAI function calling return the function response using the `function` role[/-][+].Net: When using OpenAI function calling return the function response using the `function` role[/+]on Oct 23, 2023
Some additional notes to the function calling flow:
According to the spec, the message coming back from the assistant which includes details on which function to call, should be appended to the ChatHistory and sent back in the next call along with the Function response (with the function role) reference
Might have been discussed elsewhere but the function role is also using the "name" property to set the named of the function called. There is no Name property on ChatMessageBase
Activity
[-]When using OpenAI function calling return the function response using the `function` role[/-][+].Net: When using OpenAI function calling return the function response using the `function` role[/+]lavinir commentedon Oct 26, 2023
Some additional notes to the function calling flow:
msvinth-work commentedon Nov 2, 2023
Might have been discussed elsewhere but the function role is also using the "name" property to set the named of the function called. There is no Name property on ChatMessageBase
markwallace-microsoft commentedon Nov 13, 2023
Resolved by #3421