langchain/libs/core/langchain_core/indexing
João Carlos Ferra de Almeida 780ce00dea
core[minor]: add **kwargs to index and aindex functions for custom vector_field support (#26998)
Added `**kwargs` parameters to the `index` and `aindex` functions in
`libs/core/langchain_core/indexing/api.py`. This allows users to pass
additional arguments to the `add_documents` and `aadd_documents`
methods, enabling the specification of a custom `vector_field`. For
example, users can now use `vector_field="embedding"` when indexing
documents in `OpenSearchVectorStore`

---------

Co-authored-by: Eugene Yurtsev <eyurtsev@gmail.com>
2024-10-07 14:52:50 -04:00
..
__init__.py core[minor]: Introduce DocumentIndex abstraction (#25062) 2024-08-05 18:06:33 +00:00
api.py core[minor]: add **kwargs to index and aindex functions for custom vector_field support (#26998) 2024-10-07 14:52:50 -04:00
base.py core: Add ruff rules for pycodestyle Warning (W) (#26964) 2024-09-30 09:31:43 -04:00
in_memory.py core: Put Python version as a project requirement so it is considered by ruff (#26608) 2024-09-18 14:37:57 +00:00