langchain/libs
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
..
cli multiple: update docs urls to latest 2 (#26837) 2024-09-30 17:37:07 -07:00
community feat: add batch request support for text-embedding-v3 model (#26375) 2024-10-31 18:56:22 +00:00
core core[patch]: update image util err msg (#27803) 2024-10-31 10:56:43 -07:00
experimental experimental: migrate to external repo (#26879) 2024-09-25 19:02:19 -07:00
langchain langchain: release 0.3.6 (#27768) 2024-10-30 23:50:42 +00:00
partners integrations[patch]: bump core to 0.3.15 (#27805) 2024-10-31 11:27:05 -07:00
standard-tests standard-tests: test that only one chunk sets input_tokens (#27177) 2024-10-08 11:35:32 -07:00
text-splitters text-splitters[patch]: Release 0.3.1 (#27726) 2024-10-30 00:04:48 +00:00
packages.yml infra: build api docs from package listing (#27774) 2024-10-30 21:31:01 -07:00