-
New xAI and Inflection AI models: You can now set
Assistant.modelto useXAI(e.g., modelgrok-beta) orInflection AI(e.g., modelinflection_3_pi) by specifying these providers in your assistant configuration. Specify these providers inassistant.model,call.squad.members.assistant.model, orcall.squad.members.assistantOverrides.model. -
Integrate Existing Trieve Vector Stores in Your Knowledge Base: When you create a knowledge base with
POST /knowledge-base, you can now specifyvectorStoreProviderIdto use an existing vector store from your Trieve account. -
Create Vector Stores with Uploaded Files: You can first upload files using the
POST /filesendpoint, and then use thefileIdsto specify the IDs of previously uploaded files to create a new Trieve vector store. You can customize how your files are ingested, chunked, then rebalanced to ensure correct knowledge is served by your assistant:
- Split delimiters: Specify
splitDelimitersto control how files are split before chunking (default is[.!?\n]). - Splits per chunk: Set
targetSplitsPerChunkto specify the desired number of splits per chunk when creating a vector store (default is 20 splits per chunk). - Chunk rebalancing: Set
rebalanceChunkstotrueto evenly distribute remainder splits across chunks when creating a vector store to ensure balanced chunk sizes; for example, 66 splits withtargetSplitsPerChunkof 20 will result in 3 chunks with 22 splits each.
- Customize Search Heuristics: You can filter or remove search results from your knowledge base:
- Filter by Score threshold: Set
scoreThresholdto filter out chunks during searches based on their score. For cosine similarity, chunks below the threshold are filtered out; for other distance metrics, chunks above the threshold are filtered. - Remove stop words: Set
removeStopWordstotrueto remove stop words during searches. The stop words list is specified inserver/src/stop-words.txt, and queries that are entirely stop words will still be preserved.
- Updated Analytics Endpoint: The
/analyticsendpoint has changed—useGET /analyticsto retrieve analytics data instead ofPOST /analytics.