Type Alias WaldiezRageUserRetrieveConfig

WaldiezRageUserRetrieveConfig: {
    chunkMode: "multi_lines" | "one_line";
    chunkTokenSize: number | null;
    collectionName: string | null;
    contextMaxTokens: number | null;
    customizedAnswerPrefix: string | null;
    customizedPrompt: string | null;
    customTextSplitFunction: string | null;
    customTextTypes: string[];
    customTokenCountFunction: string | null;
    dbConfig: WaldiezVectorDbConfig;
    distanceThreshold: number | null;
    docsPath: string[];
    embeddingFunction: string | null;
    getOrCreate: boolean;
    model: string | null;
    mustBreakAtEmptyLine: boolean;
    n_results: number | null;
    newDocs: boolean;
    overwrite: boolean;
    recursive: boolean;
    task: "code" | "qa" | "default";
    updateContext: boolean;
    useCustomEmbedding: boolean;
    useCustomTextSplit: boolean;
    useCustomTokenCount: boolean;
    vectorDb: "chroma" | "pgvector" | "mongodb" | "qdrant";
}

Type declaration

  • chunkMode: "multi_lines" | "one_line"
  • chunkTokenSize: number | null
  • collectionName: string | null
  • contextMaxTokens: number | null
  • customizedAnswerPrefix: string | null
  • customizedPrompt: string | null
  • customTextSplitFunction: string | null
  • customTextTypes: string[]
  • customTokenCountFunction: string | null
  • dbConfig: WaldiezVectorDbConfig
  • distanceThreshold: number | null
  • docsPath: string[]
  • embeddingFunction: string | null
  • getOrCreate: boolean
  • model: string | null
  • mustBreakAtEmptyLine: boolean
  • n_results: number | null
  • newDocs: boolean
  • overwrite: boolean
  • recursive: boolean
  • task: "code" | "qa" | "default"
  • updateContext: boolean
  • useCustomEmbedding: boolean
  • useCustomTextSplit: boolean
  • useCustomTokenCount: boolean
  • vectorDb: "chroma" | "pgvector" | "mongodb" | "qdrant"