langchain/libs/community/langchain_community
Baptiste Pasquier 440c162b8b
community: Fix closed session in Infinity (#26933)
**Description:** 

The `aiohttp.ClientSession` is closed at the end of the with statement,
which causes an error during a second call.

The implemented fix is to define the session directly within the with
block, exactly like in the textembed code:


c6350d636e/libs/community/langchain_community/embeddings/textembed.py (L335-L346)
 
**Issue:** Fix #26932

Co-authored-by: ccurme <chester.curme@gmail.com>
2024-10-27 11:37:21 -04:00
..
adapters multiple: pydantic 2 compatibility, v0.3 (#26443) 2024-09-13 14:38:45 -07:00
agent_toolkits all: test 3.13 ci (#27197) 2024-10-25 12:56:58 -07:00
agents all: test 3.13 ci (#27197) 2024-10-25 12:56:58 -07:00
callbacks community[patch]: update gpt-4o cost (#27038) 2024-10-07 09:06:30 -04:00
chains multiple: pydantic 2 compatibility, v0.3 (#26443) 2024-09-13 14:38:45 -07:00
chat_loaders
chat_message_histories
chat_models all: test 3.13 ci (#27197) 2024-10-25 12:56:58 -07:00
cross_encoders multiple: pydantic 2 compatibility, v0.3 (#26443) 2024-09-13 14:38:45 -07:00
docstore
document_compressors multiple: pydantic 2 compatibility, v0.3 (#26443) 2024-09-13 14:38:45 -07:00
document_loaders all: test 3.13 ci (#27197) 2024-10-25 12:56:58 -07:00
document_transformers all: test 3.13 ci (#27197) 2024-10-25 12:56:58 -07:00
embeddings community: Fix closed session in Infinity (#26933) 2024-10-27 11:37:21 -04:00
example_selectors multiple: pydantic 2 compatibility, v0.3 (#26443) 2024-09-13 14:38:45 -07:00
graph_vectorstores community: Cassandra Vector Store: modernize implementation (#27253) 2024-10-22 18:11:11 +00:00
graphs all: test 3.13 ci (#27197) 2024-10-25 12:56:58 -07:00
indexes
llms community: sambastudio llm refactor (#27215) 2024-10-27 11:08:15 -04:00
memory all: test 3.13 ci (#27197) 2024-10-25 12:56:58 -07:00
output_parsers multiple: pydantic 2 compatibility, v0.3 (#26443) 2024-09-13 14:38:45 -07:00
query_constructors add neo4j query constructor for self query (#25288) 2024-08-30 14:54:33 +00:00
retrievers multiple: update docs urls to latest 2 (#26837) 2024-09-30 17:37:07 -07:00
storage Fixed typo in llibs/community/langchain_community/storage/sql.py (#27029) 2024-10-08 17:51:26 +00:00
tools all: test 3.13 ci (#27197) 2024-10-25 12:56:58 -07:00
utilities all: test 3.13 ci (#27197) 2024-10-25 12:56:58 -07:00
utils multiple: pydantic 2 compatibility, v0.3 (#26443) 2024-09-13 14:38:45 -07:00
vectorstores all: test 3.13 ci (#27197) 2024-10-25 12:56:58 -07:00
__init__.py
cache.py Patch enable to use Amazon OpenSearch Serverless(aoss) for Semantic Cache store (#25833) 2024-08-29 13:28:22 +00:00
py.typed