Function formatToOpenAIAssistantTool
- formatToOpenAIAssistantTool(tool): {
function: {
description: any;
name: any;
parameters: JsonSchema7Type & {};
};
type: string;
} Parameters
tool: StructuredToolInterface
Returns {
function: {
description: any;
name: any;
parameters: JsonSchema7Type & {};
};
type: string;
}
function: {
description: any;
name: any;
parameters: JsonSchema7Type & {};
}
description: any
name: any
parameters: JsonSchema7Type & {}
type: string