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

Already on GitHub? Sign in to your account

Add AzureMLEndpointEmbeddings for embedding support via Azure ML serverless API #27148

Conversation

Ko-Ko-Kirk
Copy link

Thank you for contributing to LangChain!

  • PR title: "community: add Azure ML embedding endpoint for serverless API"

  • PR message: Delete this entire checklist and replace with

    • Description: This PR introduces the AzureMLEndpointEmbeddings class, enabling users to obtain embeddings through Azure Machine Learning. The feature utilizes the embedding API on Azure ML, offering users a serverless embedding solution.The class allows for both synchronous and asynchronous text embedding via Azure ML embedding endpoint, integrating seamlessly into the LangChain ecosystem.

    • Issue: None

    • Dependencies: None

    • Twitter handle: None

  • Add tests and docs: If you're adding a new integration, please include

    1. a test for the integration, preferably unit tests that do not rely on network access,
    2. an example notebook showing its use. It lives in docs/docs/integrations directory.
  • Lint and test: Run make format, make lint and make test from the root of the package(s) you've modified. See contribution guidelines for more: https://python.langchain.com/docs/contributing/

Additional guidelines:

  • Make sure optional dependencies are imported within a function.
  • Please do not add dependencies to pyproject.toml files (even optional ones) unless they are required for unit tests.
  • Most PRs should not touch more than one package.
  • Changes should be backwards compatible.
  • If you are adding something to community, do not re-import it in langchain.

If no one reviews your PR within a few days, please @-mention one of baskaryan, efriis, eyurtsev, ccurme, vbarda, hwchase17.

@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Oct 6, 2024
Copy link

vercel bot commented Oct 6, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
langchain ⬜️ Ignored (Inspect) Visit Preview Dec 13, 2024 11:34pm

@dosubot dosubot bot added community Related to langchain-community Ɑ: embeddings Related to text embedding models module labels Oct 6, 2024
Copy link
Member

@efriis efriis left a comment

Choose a reason for hiding this comment

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

fyi the azure team is working on a dedicated integration package, so we may still close this such that their team can release it there all together

will let you know whether they want to move forward with community first! If so, it would be great to get docs added

@efriis
Copy link
Member

efriis commented Dec 13, 2024

(also looks like there's a set of CI failures to look at that will prevent merging regardless)

@efriis efriis self-assigned this Dec 13, 2024
@efriis
Copy link
Member

efriis commented Dec 16, 2024

closing in favor of work there - langchain-azure-ai is now out and would recommend trying AzureAIEmbeddingsModel from there!

@efriis efriis closed this Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community Related to langchain-community Ɑ: embeddings Related to text embedding models module size:L This PR changes 100-499 lines, ignoring generated files.
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants