Skip to content

(EAI-419): Fix broken langchain wrapper #446

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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jul 15, 2024
Merged

(EAI-419): Fix broken langchain wrapper #446

merged 4 commits into from
Jul 15, 2024

Conversation

mongodben
Copy link
Collaborator

@mongodben mongodben commented Jul 11, 2024

Jira: https://jira.mongodb.org/browse/EAI-419

Changes

  • Upgrade the langchain wrapper in mongodb-chatbot-server
  • Remove failing integration test b/c outside scope of what we need to support

Notes

@mongodben mongodben marked this pull request as ready for review July 12, 2024 19:16
@@ -20,22 +13,4 @@ describe("LangChainEmbedder", () => {
const result = await embedder.embed({ text: "hello" });
expect(result).toEqual({ embedding: [1, 2, 3] });
});
it("works with Azure OpenAI", async () => {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Does this have any implications around our support for Azure OpenAI? I'm assuming we still support it and just don't want a special test case?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

correct.

it requires slightly different configuration than our standard azure openai wrapper. it'd be more work than worth doing to explicitly test this

Copy link
Collaborator

@nlarew nlarew left a comment

Choose a reason for hiding this comment

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

LGTM, 1 question

@mongodben mongodben merged commit f1b4cc2 into main Jul 15, 2024
1 check passed
@mongodben mongodben deleted the EAI-419 branch July 15, 2024 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants