UNPKG

weaviate-agents

Version:
18 lines (17 loc) 737 B
export declare const mapCollections: (collections: (string | QueryAgentCollectionConfig)[]) => (string | { name: string; view_properties: string[] | undefined; target_vector: string | string[] | undefined; tenant: string | undefined; })[]; /** Configuration for a collection to query. */ export type QueryAgentCollectionConfig = { /** The name of the collection to query. */ name: string; /** Tenant for the collection if multi-tenancy is enabled. */ tenant?: string; /** List of of property names the agent has the ability to view for the collection. */ viewProperties?: string[]; /** Target vector for the query if a collection uses named vector. */ targetVector?: string | string[]; };