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 Support for Custom Embeddings #819

Open
raduburtea opened this issue Nov 4, 2024 · 0 comments
Open

Add Support for Custom Embeddings #819

raduburtea opened this issue Nov 4, 2024 · 0 comments

Comments

@raduburtea
Copy link
Collaborator

Add support for custom embeddings in the embedding folder.

This new class, that inherits from EmbeddingModel, would provide a generic template for calling any custom model that is deployed as an AzureML endpoint.

A new file called custom_embedding_model.py will be created in which the CustomEmbeddingModel class will be defined. This class should contain several methods to make an HTTP request, package the chunk to be embedded in a format readable by the endpoint and then retrieve the result from the endpoint.

Another case should be added in factory.py to support this new embedding type.

This idea has been vetted with @ritesh-modi

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

No branches or pull requests

1 participant