mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-09 13:00:34 +00:00
**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> |
||
---|---|---|
.. | ||
__init__.py | ||
arcee.py | ||
arxiv.py | ||
asknews.py | ||
azure_ai_search.py | ||
bedrock.py | ||
bm25.py | ||
breebs.py | ||
chaindesk.py | ||
chatgpt_plugin_retriever.py | ||
cohere_rag_retriever.py | ||
databerry.py | ||
docarray.py | ||
dria_index.py | ||
elastic_search_bm25.py | ||
embedchain.py | ||
google_cloud_documentai_warehouse.py | ||
google_vertex_ai_search.py | ||
kay.py | ||
kendra.py | ||
knn.py | ||
llama_index.py | ||
metal.py | ||
milvus.py | ||
nanopq.py | ||
needle.py | ||
outline.py | ||
pinecone_hybrid_search.py | ||
pubmed.py | ||
pupmed.py | ||
qdrant_sparse_vector_retriever.py | ||
rememberizer.py | ||
remote_retriever.py | ||
svm.py | ||
tavily_search_api.py | ||
tfidf.py | ||
thirdai_neuraldb.py | ||
vespa_retriever.py | ||
weaviate_hybrid_search.py | ||
web_research.py | ||
wikipedia.py | ||
you.py | ||
zep_cloud.py | ||
zep.py | ||
zilliz.py |