Lenstack

Results 3 comments of Lenstack

We could use Type: openai.AssistantToolTypeFunction, Function: &openai.FunctionDefinition{}

@henomis Internally, lingoose uses "github.com/sashabaranov/go-openai". Therefore, in the implementation of getChatCompletionRequestTools, when using openai.FunctionDefinition{}, it requires to be called as &openai.FunctionDefinition{} because "FunctionDefinition" is a pointer.