/** * This file was auto-generated by Fern from our API Definition. */ import * as CortexAI from "../../../../index.js"; /** * @example * { * tenant_id: "tenant_1234", * query: "John Smith Jake" * } */ export interface FullTextSearchRequest { /** Unique identifier for the tenant/organization */ tenant_id: string; /** Optional sub-tenant identifier used to organize data within a tenant. If omitted, the default sub-tenant created during tenant setup will be used. */ sub_tenant_id?: string; /** Search terms to find in your content */ query: string; /** How to combine search terms: 'or' (any term matches), 'and' (all terms must match), 'phrase' (exact phrase must appear) */ operator?: CortexAI.Bm25OperatorType; /** Maximum number of results to return */ max_results?: number; /** What to search: 'sources' for documents or 'memories' for user memories */ search_mode?: CortexAI.SearchMode; }