Optional
callbacksOptional
dbThe name of the database to search for documents.
Optional
entityThe chatmodel to extract entities to perform Full text search on the database
Optional
expandedWhether the metadata is contained in a single column or multiple columns
Optional
filtersFilters to apply to the search. Default is an empty array.
Optional
ftsKThe number of documents retrieved with full text search. Minimum is 1.
Optional
ftsName of the table to perform full text search. Default is 'document_fts'
Optional
maxMax items to maintain per searchtype. Default is 3.
Optional
metadataOptional
metadataThe columns from the tables that metadata must contain
Optional
promptThe prompt to the chatmodel to extract entities to perform Full text search on the database
Optional
searchSearch type to perform. Cosine similarity and hybrid (vector + FTS) are currently supported.
Optional
similarityKThe number of documents retrieved with cosine similarity (vector) search. Minimum is 1.
Optional
tagsOptional
vectorName of the table to perform vector similarity seach. Default is 'documents'
Optional
verbose
Interface for the arguments required to initialize an Azion library.