Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

community[patch]: Fix bad chunk array import #3733

Merged
merged 2 commits into from
Dec 20, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion libs/langchain-community/src/embeddings/togetherai.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { getEnvironmentVariable } from "@langchain/core/utils/env";
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey there! I noticed that the recent change in the togetherai.ts file adds an import for accessing environment variables. I've flagged this for your review to ensure it aligns with the project's guidelines. Keep up the great work!

import { Embeddings, type EmbeddingsParams } from "@langchain/core/embeddings";
import { chunkArray } from "../utils/chunk.js";
import { chunkArray } from "@langchain/core/utils/chunk_array";

/**
* Interface for TogetherAIEmbeddingsParams parameters. Extends EmbeddingsParams and
Expand Down