LlamaIndexQueryEnginellm
parameter to change that).Name | Description |
---|---|
vector_store | Type: BasePydanticVectorStore |
llm | Type: ForwardRef(‘LLM’) | None Default: None |
file_reader_class | Type: type[‘SimpleDirectoryReader’] | 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 |
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. |