QdrantVectorDBName | Description |
---|---|
client=None | |
embedding_function | Type: EmbeddingFunction Default: None |
content_payload_key | Type: str Default: ‘_content’ |
metadata_payload_key | Type: str Default: ‘_metadata’ |
collection_options | Type: dict Default: {} |
**kwargs | Type: Any |
Name | Description | |
---|---|---|
collection_name | str | The name of the collection. Type: str |
overwrite | bool | Whether to overwrite the collection if it exists. Default is False. Type: bool Default: False |
get_or_create | bool | Whether to get the collection if it exists. Default is True. Type: bool Default: True |
Type | Description |
---|---|
None | Any | The collection object. |
Name | Description | |
---|---|---|
collection_name | str | The name of the collection. Type: str |
Type | Description |
---|---|
None | Any |
Name | Description | |
---|---|---|
ids | List[ItemID] | A list of document ids. Each id is a typed ItemID .Type: list[str | int] |
collection_name | str | The name of the collection. Default is None. Type: str Default: None |
**kwargs |
Type | Description |
---|---|
None | None |
Name | Description | |
---|---|---|
collection_name | str | The name of the collection. Type: str Default: None |
Name | Description | |
---|---|---|
ids | List[ItemID] | A list of document ids. If None, will return all the documents. Default is None. Type: list[str | int] Default: None |
collection_name | str | The name of the collection. Default is None. Type: str Default: None |
include=True | ||
**kwargs |
Type | Description |
---|---|
list[Document] | List[Document] | The results. |
Name | Description | |
---|---|---|
docs | List[Document] | A list of documents. Each document is a TypedDict Document .Type: list[Document] |
collection_name | str | The name of the collection. Default is None. Type: str Default: None |
upsert | bool | Whether to update the document if it exists. Default is False. Type: bool Default: False |
Type | Description |
---|---|
None | None |
Name | Description | |
---|---|---|
queries | List[str] | A list of queries. Each query is a string. Type: list[str] |
collection_name | str | The name of the collection. Default is None. Type: str Default: None |
n_results | int | The number of relevant documents to return. Default is 10. Type: int Default: 10 |
distance_threshold | float | The threshold for the distance score, only distance smaller than it will be returned. Don’t filter with it if 0 .Default is 0. Type: float Default: 0 |
**kwargs | Type: Any |
Type | Description |
---|---|
list[list[tuple[Document, float]]] | QueryResults | The query results. Each query result is a list of list of tuples containing the document and the distance. |
Name | Description | |
---|---|---|
docs | List[Document] | A list of documents. Type: list[Document] |
collection_name | str | The name of the collection. Default is None. Type: str Default: None |
Type | Description |
---|---|
None | None |