langchain/libs/community/langchain_community
L 8ef0df3539
feat: add batch request support for text-embedding-v3 model (#26375)
PR title: “langchain: add batch request support for text-embedding-v3
model”

PR message:

• Description: This PR introduces batch request support for the
text-embedding-v3 model within LangChain. The new functionality allows
users to process multiple text inputs in a single request, improving
efficiency and performance for high-volume applications.
	•	Issue: This PR addresses #<issue_number> (if applicable).
• Dependencies: No new external dependencies are required for this
change.
• Twitter handle: If announced on Twitter, please mention me at
@yourhandle.

Add tests and docs:

1. Added unit tests to cover the batch request functionality, ensuring
it operates without requiring network access.
2. Included an example notebook demonstrating the batch request feature,
located in docs/docs/integrations.

Lint and test: All required formatting and linting checks have been
performed using make format and make lint. The changes have been
verified with make test to ensure compatibility.

Additional notes:

	•	The changes are fully backwards compatible.
• No modifications were made to pyproject.toml, ensuring no new
dependencies were added.
• The update only affects the langchain package and does not involve
other packages.

---------

Co-authored-by: Chester Curme <chester.curme@gmail.com>
2024-10-31 18:56:22 +00:00
..
adapters community: [fix] add missing tool_calls kwargs of delta message in openai adapter (#27492) 2024-10-31 14:07:17 -04:00
agent_toolkits all: test 3.13 ci (#27197) 2024-10-25 12:56:58 -07:00
agents docs: Add OpenAIAssistantV2Runnable docstrings (#27402) 2024-10-30 15:35:51 +00:00
callbacks community: Added anthropic.claude-3-5-sonnet-20241022-v2:0 cost detials (#27728) 2024-10-30 14:01:01 +00:00
chains multiple: pydantic 2 compatibility, v0.3 (#26443) 2024-09-13 14:38:45 -07:00
chat_loaders Improvement[Community] Improve methods in IMessageChatLoader (#25746) 2024-08-26 14:20:22 -04:00
chat_message_histories docs: Add docstrings for CassandraChatMessageHistory class and package namespace function. (#24222) 2024-08-23 15:49:41 +00:00
chat_models community: OCI Generative AI tool calling bug fix (#26910) 2024-10-31 02:35:25 +00:00
cross_encoders multiple: pydantic 2 compatibility, v0.3 (#26443) 2024-09-13 14:38:45 -07:00
docstore infra: update mypy 1.10, ruff 0.5 (#23721) 2024-07-03 10:33:27 -07:00
document_compressors multiple: pydantic 2 compatibility, v0.3 (#26443) 2024-09-13 14:38:45 -07:00
document_loaders Update word_document.py | Fixed metadata["source"] for web paths (#27220) 2024-10-31 18:37:41 +00:00
document_transformers all: test 3.13 ci (#27197) 2024-10-25 12:56:58 -07:00
embeddings feat: add batch request support for text-embedding-v3 model (#26375) 2024-10-31 18:56:22 +00: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 community[patch]: restore compatibility with SQLAlchemy 1.x (#22546) 2024-06-19 17:58:57 +00:00
llms community: Fix a validation error for MoonshotChat (#27801) 2024-10-31 14:00:16 -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 community[patch]: Fix Playwright Tools bug with Pydantic schemas (#27050) 2024-10-30 23:45:36 +00:00
utilities community: Update Polygon.io API (#27552) 2024-10-31 18:14:06 +00:00
utils multiple: pydantic 2 compatibility, v0.3 (#26443) 2024-09-13 14:38:45 -07:00
vectorstores fix "WARNING: Received notification from DBMS server: {severity: WARN… (#27112) 2024-10-31 18:47:25 +00:00
__init__.py infra: update mypy 1.10, ruff 0.5 (#23721) 2024-07-03 10:33:27 -07:00
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 community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 2023-12-11 13:53:30 -08:00