MongoDBQueryEngineName | Description |
---|---|
connection_string | Type: str |
llm | Type: ForwardRef(‘LLM’) | None Default: None |
database_name | Type: str | None Default: None |
embedding_function | Type: ForwardRef(‘BaseEmbedding’) | Callable[…, Any] | None Default: None |
embedding_model | Type: ForwardRef(‘BaseEmbedding’) | str | None Default: None |
collection_name | Type: str | None Default: None |
Name | Description |
---|---|
new_doc_dir | Directory containing new documents. Type: pathlib.Path | str | None Default: None |
new_doc_paths_or_urls | List of file paths or URLs for new documents. Type: Sequence[pathlib.Path | str] | None Default: None |
*args | Additional positional arguments. Type: Any |
**kwargs | Additional keyword arguments. Type: Any |
Name | Description |
---|---|
*args | Type: Any |
**kwargs | Type: Any |
Type | Description |
---|---|
bool | bool: True if connection is successful; False otherwise. |
Type | Description |
---|---|
str | str: The collection name. |
Name | Description |
---|---|
new_doc_dir | Directory containing documents to be indexed. Type: pathlib.Path | str | None Default: None |
new_doc_paths_or_urls | List of file paths or URLs for documents. Type: Sequence[pathlib.Path | str] | None Default: None |
*args | Additional positional arguments. Type: Any |
**kwargs | Additional keyword arguments. Type: Any |
Type | Description |
---|---|
bool | bool: True if the database is successfully initialized; False otherwise. |
Name | Description |
---|---|
question | The query question. Type: str |
*args | Type: Any |
**kwargs | Type: Any |
Type | Description |
---|---|
Any | Any: The query response as a string, or a default reply if no results are found. |