ChromaDBQueryEngineName | Description |
---|---|
host | Type: str | None Default: ‘localhost’ |
port | Type: int | None Default: 8000 |
settings | Type: ForwardRef(‘Settings’) | None Default: None |
tenant | Type: str | None Default: None |
database | Type: str | None Default: None |
embedding_function | Type: Optional[EmbeddingFunction[Any]] Default: None |
metadata | Type: dict[str, typing.Any] | None Default: None |
llm | Type: ForwardRef(‘LLM’) | None Default: None |
collection_name | Type: str | None Default: None |
Name | Description |
---|---|
new_doc_dir | A dir of input documents that are used to create the records in database. Type: pathlib.Path | str | None Default: None |
new_doc_paths_or_urls | A sequence of input documents that are used to create the records in database. A document can be a path to a file or a url. Type: Sequence[pathlib.Path | str] | None Default: None |
*args | Any additional arguments Type: Any |
**kwargs | Any additional keyword arguments Type: Any |
Name | Description |
---|---|
*args | Any additional arguments Type: Any |
**kwargs | Any additional keyword arguments Type: Any |
Type | Description |
---|---|
bool | bool: True if connection is successful |
Type | Description |
---|---|
str | The name of the collection. |
Name | Description |
---|---|
new_doc_dir | a dir of input documents that are used to create the records in database. Type: pathlib.Path | str | None Default: None |
new_doc_paths_or_urls | a sequence of input documents that are used to create the records in database. a document can be a path to a file or a url. Type: Sequence[pathlib.Path | str] | None Default: None |
*args | Any additional arguments Type: Any |
**kwargs | Any additional keyword arguments Type: Any |
Type | Description |
---|---|
bool | bool: True if initialization is successful |
Name | Description |
---|---|
question | A natural language query string used to search the indexed documents. Type: str |
Type | Description |
---|---|
str | A string containing the response generated by LLM. |