langchain/libs/community/langchain_community/retrievers
Yudai Kotani 05a44797ee
langchain_community: Add default None values to DocumentAttributeValue class properties (#28785)
**Description**: 
This PR addresses an issue where the DocumentAttributeValue class
properties did not have default values of None. By explicitly setting
the Optional attributes (DateValue, LongValue, StringListValue, and
StringValue) to default to None, this change ensures the class functions
as expected when no value is provided for these attributes.

**Changes Made**:
Added default None values to the following properties of the
DocumentAttributeValue class:
DateValue
LongValue
StringListValue
StringValue
Removed the invalid argument extra="allow" from the BaseModel
inheritance.
Dependencies: None.

**Twitter handle (optional)**: @__korikori1021

**Checklist**
- [x] Verified that KendraRetriever works as expected after the changes.

Co-authored-by: y1u0d2a1i <y.kotani@raksul.com>
2024-12-18 09:43:04 -05:00
..
__init__.py community: add Needle retriever and document loader integration (#28157) 2024-12-03 22:06:25 +00:00
arcee.py multiple: pydantic 2 compatibility, v0.3 (#26443) 2024-09-13 14:38:45 -07:00
arxiv.py docs: update integration api refs (#25195) 2024-08-09 12:27:32 +00:00
asknews.py community[minor]: add AskNews retriever and AskNews tool (#21581) 2024-05-20 18:23:06 -07:00
azure_ai_search.py multiple: update docs urls to latest 2 (#26837) 2024-09-30 17:37:07 -07:00
bedrock.py multiple: pydantic 2 compatibility, v0.3 (#26443) 2024-09-13 14:38:45 -07:00
bm25.py community: BM25Retriever preservation of document id (#27019) 2024-12-04 00:36:00 +00:00
breebs.py community[patch]: Add missing type annotations (#22758) 2024-06-10 16:59:28 -04:00
chaindesk.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 2023-12-11 13:53:30 -08:00
chatgpt_plugin_retriever.py multiple: pydantic 2 compatibility, v0.3 (#26443) 2024-09-13 14:38:45 -07:00
cohere_rag_retriever.py multiple: pydantic 2 compatibility, v0.3 (#26443) 2024-09-13 14:38:45 -07:00
databerry.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 2023-12-11 13:53:30 -08:00
docarray.py multiple: pydantic 2 compatibility, v0.3 (#26443) 2024-09-13 14:38:45 -07:00
dria_index.py community[patch]: upgrade to recent version of mypy (#21616) 2024-05-13 14:55:07 -04:00
elastic_search_bm25.py community[minor]: import fix (#20995) 2024-04-29 10:32:50 -04:00
embedchain.py community[patch]: Fixing embedchain document mapping (#18255) 2024-02-29 14:54:37 -08:00
google_cloud_documentai_warehouse.py multiple: update removal targets (#25361) 2024-08-14 09:50:39 -04:00
google_vertex_ai_search.py multiple: pydantic 2 compatibility, v0.3 (#26443) 2024-09-13 14:38:45 -07:00
kay.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 2023-12-11 13:53:30 -08:00
kendra.py langchain_community: Add default None values to DocumentAttributeValue class properties (#28785) 2024-12-18 09:43:04 -05:00
knn.py multiple: pydantic 2 compatibility, v0.3 (#26443) 2024-09-13 14:38:45 -07:00
llama_index.py multiple: pydantic 2 compatibility, v0.3 (#26443) 2024-09-13 14:38:45 -07:00
metal.py multiple: pydantic 2 compatibility, v0.3 (#26443) 2024-09-13 14:38:45 -07:00
milvus.py multiple: update docs urls to latest 2 (#26837) 2024-09-30 17:37:07 -07:00
nanopq.py multiple: pydantic 2 compatibility, v0.3 (#26443) 2024-09-13 14:38:45 -07:00
needle.py community: add Needle retriever and document loader integration (#28157) 2024-12-03 22:06:25 +00:00
outline.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 2023-12-11 13:53:30 -08:00
pinecone_hybrid_search.py multiple: pydantic 2 compatibility, v0.3 (#26443) 2024-09-13 14:38:45 -07:00
pubmed.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 2023-12-11 13:53:30 -08:00
pupmed.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 2023-12-11 13:53:30 -08:00
qdrant_sparse_vector_retriever.py multiple: update docs urls to latest 2 (#26837) 2024-09-30 17:37:07 -07:00
rememberizer.py community[minor]: Rememberizer retriever (#20052) 2024-05-01 10:41:44 -04:00
remote_retriever.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 2023-12-11 13:53:30 -08:00
svm.py multiple: pydantic 2 compatibility, v0.3 (#26443) 2024-09-13 14:38:45 -07:00
tavily_search_api.py docs: add retriever integrations template (#24836) 2024-07-31 13:50:44 -04:00
tfidf.py multiple: pydantic 2 compatibility, v0.3 (#26443) 2024-09-13 14:38:45 -07:00
thirdai_neuraldb.py multiple: pydantic 2 compatibility, v0.3 (#26443) 2024-09-13 14:38:45 -07:00
vespa_retriever.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 2023-12-11 13:53:30 -08:00
weaviate_hybrid_search.py multiple: pydantic 2 compatibility, v0.3 (#26443) 2024-09-13 14:38:45 -07:00
web_research.py multiple: pydantic 2 compatibility, v0.3 (#26443) 2024-09-13 14:38:45 -07:00
wikipedia.py docs: update integration api refs (#25195) 2024-08-09 12:27:32 +00:00
you.py community[patch]: docstrings update (#20301) 2024-04-11 16:23:27 -04:00
zep_cloud.py multiple: pydantic 2 compatibility, v0.3 (#26443) 2024-09-13 14:38:45 -07:00
zep.py multiple: pydantic 2 compatibility, v0.3 (#26443) 2024-09-13 14:38:45 -07:00
zilliz.py multiple: pydantic 2 compatibility, v0.3 (#26443) 2024-09-13 14:38:45 -07:00