ChainGraph API Documentation / @badaitech/badai-api / GraphQL / SemanticSearchPagesByChunkEmbeddingsOptions
Type Alias: SemanticSearchPagesByChunkEmbeddingsOptions
SemanticSearchPagesByChunkEmbeddingsOptions =
object
Defined in: client/graphql.ts:2317
Options for configuring the semantic search of pages by chunk embeddings.
Properties
pages_count?
optionalpages_count:Scalars["Int"]["input"]
Defined in: client/graphql.ts:2319
The maximum number of pages to return in the search results.
similarity_threshold?
optionalsimilarity_threshold:Scalars["Float"]["input"]
Defined in: client/graphql.ts:2324
The minimum similarity score required for a page to be included in the results. Ranges from 0 to 1, where higher values require greater similarity.
tokens_limit?
optionaltokens_limit:Scalars["Int"]["input"]
Defined in: client/graphql.ts:2329
The maximum number of tokens to include in the search results. This helps limit the response size for large documents.