// This file was auto-generated by Fern from our API Definition.

import type * as Vapi from "../index.js";

export interface TrieveKnowledgeBase {
    /**
     * This knowledge base is provided by Trieve.
     *
     * To learn more about Trieve, visit https://trieve.ai.
     */
    provider: Vapi.TrieveKnowledgeBaseProvider;
    /** This is the name of the knowledge base. */
    name?: string | undefined;
    /**
     * This is the searching plan used when searching for relevant chunks from the vector store.
     *
     * You should configure this if you're running into these issues:
     * - Too much unnecessary context is being fed as knowledge base context.
     * - Not enough relevant context is being fed as knowledge base context.
     */
    searchPlan?: Vapi.TrieveKnowledgeBaseSearchPlan | undefined;
    /** This is the plan if you want us to create/import a new vector store using Trieve. */
    createPlan?: Vapi.TrieveKnowledgeBaseImport | undefined;
    /** This is the id of the knowledge base. */
    id: string;
    /** This is the org id of the knowledge base. */
    orgId: string;
}
