Function provides the primary autocomplete functionality for the API. This prioritize prefix matching with semantic or full-text search.
Example:
const data = await trieve.autocomplete({ page: 1, page_size: 10, query: "Some search query", search_type: "semantic",}); Copy
const data = await trieve.autocomplete({ page: 1, page_size: 10, query: "Some search query", search_type: "semantic",});
Optional
Function provides the primary autocomplete functionality for the API. This prioritize prefix matching with semantic or full-text search.
Example: