Create a response
Create a text response with function and Mixedbread hosted-store tools.
Request body
Example request
{
"tools": [
{
"filters": {
"all": [
{
"key": "price",
"operator": "gt",
"value": "100"
},
{
"key": "color",
"operator": "eq",
"value": "red"
}
],
"any": [
{
"key": "price",
"operator": "gt",
"value": "100"
},
{
"key": "color",
"operator": "eq",
"value": "red"
}
],
"none": [
{
"key": "price",
"operator": "gt",
"value": "100"
},
{
"key": "color",
"operator": "eq",
"value": "red"
}
]
}
}
]
}Response
The generated response, or a semantic server-sent event stream
Example response
{
"hosted_tools": [
{
"filters": {
"all": [
{
"key": "price",
"operator": "gt",
"value": "100"
},
{
"key": "color",
"operator": "eq",
"value": "red"
}
],
"any": [
{
"key": "price",
"operator": "gt",
"value": "100"
},
{
"key": "color",
"operator": "eq",
"value": "red"
}
],
"none": [
{
"key": "price",
"operator": "gt",
"value": "100"
},
{
"key": "color",
"operator": "eq",
"value": "red"
}
]
}
}
]
}Changes
Changed in 7 of the 17 revisions of this API.1037
- ○
endpoint added
endpoint-added
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
This revision also has 35 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
added to the
/response propertyoneOflist for the response statusresponse-property-one-of-added
- ○
added
reasoningsourcesdiscriminator mapping keys to the//request propertyrequest-property-discriminator-mapping-added
- ○
added to the
//request propertyoneOflistrequest-property-one-of-added
- ○
added
reasoningsourcesdiscriminator mapping keys to the/response property for the response statusresponse-property-discriminator-mapping-added
- ▲
- ▲
removed from the
//request propertyoneOflistrequest-property-one-of-removed
- ▲
added to the
/response propertyoneOflist for the response statusresponse-property-one-of-added
- ▲
added to the
/response propertyoneOflist for the response statusresponse-property-one-of-added
- ○
added to the
request propertyanyOflistrequest-property-any-of-added
- ○
added
store_grepstore_list_chunksstore_metadata_facetsdiscriminator mapping keys to the/request propertyrequest-property-discriminator-mapping-added
- ○
added
store_grep_callstore_list_chunks_callstore_metadata_facets_calldiscriminator mapping keys to the//request propertyrequest-property-discriminator-mapping-added
- ○
mapped value for discriminator key
store_search_callchanged from to for//request propertyrequest-property-discriminator-mapping-changed
- ○
added to the
/request propertyoneOflistrequest-property-one-of-added
- ○
added to the
//request propertyoneOflistrequest-property-one-of-added
- ○
added to the
response propertyanyOflist for the response statusresponse-property-any-of-added
- ○
added
store_grepstore_list_chunksstore_metadata_facetsdiscriminator mapping keys to the/response property for the response statusresponse-property-discriminator-mapping-added
- ○
added
store_grep_callstore_list_chunks_callstore_metadata_facets_calldiscriminator mapping keys to the/response property for the response statusresponse-property-discriminator-mapping-added
- ○
mapped value for discriminator key
store_search_callchanged from to for/response property for the response statusresponse-property-discriminator-mapping-changed
- ○
removed from the
/response propertyoneOflist for the response statusresponse-property-one-of-removed
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
added the new optional request property
///////new-optional-request-property
- ○
added the optional property
//////to the response with the statusresponse-optional-property-added
- ○
- ▲
the response property
///became optional for the statusresponse-property-became-optional
- ▲
response property
tools/items/oneOf[subschema #1: StoreSearchTool]/store_identifierslist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
added to the
/////response propertyoneOflist for the response statusresponse-property-one-of-added
- ▲
added to the
/response propertyoneOflist for the response statusresponse-property-one-of-added
- ▲
added to the
/response propertyoneOflist for the response statusresponse-property-one-of-added
- ○
added the new optional request property
////new-optional-request-property
- ○
added the new optional request property
////new-optional-request-property
- ○
added the new optional request property
///new-optional-request-property
- ○
added to the
request propertyanyOflistrequest-property-any-of-added
- ○
the request property
///became optionalrequest-property-became-optional
- ○
added
input_fileinput_imagediscriminator mapping keys to the//////request propertyrequest-property-discriminator-mapping-added
- ○
added
list_storesdiscriminator mapping keys to the/request propertyrequest-property-discriminator-mapping-added
- ○
added
list_stores_calldiscriminator mapping keys to the//request propertyrequest-property-discriminator-mapping-added
- ○
request property
///list-of-types was widened by adding typesnullto media typeapplication/jsonrequest-property-list-of-types-widened
- ○
added to the
//////request propertyoneOflistrequest-property-one-of-added
- ○
added to the
//request propertyoneOflistrequest-property-one-of-added
- ○
added to the
/request propertyoneOflistrequest-property-one-of-added
- ○
added the optional property
///to the response with the statusresponse-optional-property-added
- ○
added the optional property
///to the response with the statusresponse-optional-property-added
- ○
added the optional property
///to the response with the statusresponse-optional-property-added
- ○
added to the
response propertyanyOflist for the response statusresponse-property-any-of-added
- ○
added
input_fileinput_imagediscriminator mapping keys to the/////response property for the response statusresponse-property-discriminator-mapping-added
- ○
added
list_storesdiscriminator mapping keys to the/response property for the response statusresponse-property-discriminator-mapping-added
- ○
added
list_stores_calldiscriminator mapping keys to the/response property for the response statusresponse-property-discriminator-mapping-added
- ▲
- ○
endpoint added
endpoint-added
This revision also has 5 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○