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
@StephenHodgson do you know how to assign local methods to Assistant functions when using the RetrieveAssistantAsync() method, where the OpenAI server-side assistant already has defined functions?
I find the documentation unclear on this, and so far been unable to find a way to assign a method to an existing list of tools.
E.g. I would have expected something like:
_assistant=await _openai.AssistantsEndpoint.RetrieveAssistantAsync(assistantId);foreach(var tool in _assistant.Tools){
tool.Function.Method =myLocalMethod;}
The text was updated successfully, but these errors were encountered:
I'll add this along with ability to update tools to fix #298 and #303
StephenHodgson
changed the title
Cannot assign local methods to _retrieved_ Assistant Tool Functions
Enable Assistant Tool Function Methods to be updated
May 15, 2024
@StephenHodgson do you know how to assign local methods to Assistant functions when using the
RetrieveAssistantAsync()
method, where the OpenAI server-side assistant already has defined functions?I find the documentation unclear on this, and so far been unable to find a way to assign a method to an existing list of tools.
E.g. I would have expected something like:
The text was updated successfully, but these errors were encountered: