You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
langchain/libs/community/langchain_community
Killinsun - Ryota Takeuchi 52f4ad8216
community: Add new fields in metadata for qdrant vector store (#16608)
## Description

The PR is to return the ID and collection name from qdrant client to
metadata field in `Document` class.

## Issue

The motivation is almost same to
[11592](https://github.com/langchain-ai/langchain/issues/11592)

Returning ID is useful to update existing records in a vector store, but
we cannot know them if we use some retrievers.

In order to avoid any conflicts, breaking changes, the new fields in
metadata have a prefix `_`

## Dependencies

N/A

## Twitter handle

@kill_in_sun

<!-- Thank you for contributing to LangChain!

Please title your PR "<package>: <description>", where <package> is
whichever of langchain, community, core, experimental, etc. is being
modified.

Replace this entire comment with:
  - **Description:** a description of the change, 
  - **Issue:** the issue # it fixes if applicable,
  - **Dependencies:** any dependencies required for this change,
- **Twitter handle:** we announce bigger features on Twitter. If your PR
gets announced, and you'd like a mention, we'll gladly shout you out!

Please make sure your PR is passing linting and testing before
submitting. Run `make format`, `make lint` and `make test` from the root
of the package you've modified to check this locally.

See contribution guidelines for more information on how to write/run
tests, lint, etc: https://python.langchain.com/docs/contributing/

If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on
network access,
2. an example notebook showing its use. It lives in
`docs/docs/integrations` directory.

If no one reviews your PR within a few days, please @-mention one of
@baskaryan, @eyurtsev, @hwchase17.
 -->
8 months ago
..
adapters community[patch]: Add safe lookup to OpenAI response adapter (#14765) 10 months ago
agent_toolkits community[minor]: Connery Tool and Toolkit (#14506) 8 months ago
callbacks community[patch]: MLflowCallbackHandler -- Move textstat and spacy as optional dependency (#16657) 8 months ago
chat_loaders Do not issue beta or deprecation warnings on internal calls (#15641) 9 months ago
chat_message_histories community[patch]: Adapt more parameters related to MemorySearchPayload for the search method of ZepChatMessageHistory (#15441) 8 months ago
chat_models [community] fix anthropic streaming (#16682) 8 months ago
docstore community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
document_loaders Use Postponed Evaluation of Annotations in Astra and Cassandra doc loaders (#16694) 8 months ago
document_transformers community[minor]: Adding asynchronous function implementation for Doctran (#15941) 9 months ago
embeddings community[minor]: Update OctoAI LLM, Embedding and documentation (#16710) 8 months ago
graphs langchain[minor], community[minor]: Implement Ontotext GraphDB QA Chain (#16019) 8 months ago
indexes community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
llms <langchain_community\llms\chatglm.py>: <Correcting "history"> (#16729) 8 months ago
output_parsers langchain[patch], community[minor]: move `output_parsers.ernie_functions` (#16057) 9 months ago
retrievers community[patch]: Handle when documents are not provided in the Cohere response (#16144) 9 months ago
storage community: SQLStrStore/SQLDocStore provide an easy SQL alternative to `InMemoryStore` to persist data remotely in a SQL storage (#15909) 9 months ago
tools community[minor]: Connery Tool and Toolkit (#14506) 8 months ago
utilities community: Wikidata tool support (#16691) 8 months ago
utils openai[minor]: implement langchain-openai package (#15503) 9 months ago
vectorstores community: Add new fields in metadata for qdrant vector store (#16608) 8 months ago
__init__.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
cache.py Do not issue beta or deprecation warnings on internal calls (#15641) 9 months ago
py.typed community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago