OptionalcallbacksOptionaldbThe name of the database to search for documents.
OptionalentityThe chatmodel to extract entities to perform Full text search on the database
OptionalexpandedWhether the metadata is contained in a single column or multiple columns
OptionalfiltersFilters to apply to the search. Default is an empty array.
OptionalftsKThe number of documents retrieved with full text search. Minimum is 1.
OptionalftsName of the table to perform full text search. Default is 'document_fts'
OptionalmaxMax items to maintain per searchtype. Default is 3.
OptionalmetadataOptionalmetadataThe columns from the tables that metadata must contain
OptionalpromptThe prompt to the chatmodel to extract entities to perform Full text search on the database
OptionalsearchSearch type to perform. Cosine similarity and hybrid (vector + FTS) are currently supported.
OptionalsimilarityKThe number of documents retrieved with cosine similarity (vector) search. Minimum is 1.
OptionaltagsOptionalvectorName of the table to perform vector similarity seach. Default is 'documents'
Optionalverbose
Interface for the arguments required to initialize an Azion library.