no not yet, just trying to wrap my head around it. In their launch it mentions that function calling is available. Function calling is under the umbrella of “tools” in the assistants docs. In the reference client github repo linked in the product launch blog post I see them using tools with an attribute type: 'function'
which makes me think that they either do, or in the near future, will support file_search
:
client.updateSession({
tools: [
{
type: 'function',
name: 'get_weather',
description:
'Retrieves the weather for a given lat, lng coordinate pair. Specify a label for the location.',
parameters: {
type: 'object',
properties: {
lat: {
type: 'number',
description: 'Latitude',
},
lng: {
type: 'number',
description: 'Longitude',
},
location: {
type: 'string',
description: 'Name of the location',
},
},
required: ['lat', 'lng', 'location'],
},
},
],
});