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

Support using Embeddings Model exposed via OpenAI (compatible) API #1051

Open
wants to merge 1 commit into
base: support-azure-openai-api-endpoint
Choose a base branch
from

Conversation

debanjum
Copy link
Member

@debanjum debanjum commented Jan 9, 2025

This change adds the ability to use OpenAI's embedding models or any embedding model exposed behind an OpenAI compatible API (like Ollama, LiteLLM, vLLM etc.). This allows using commercial embedding models to index your content with Khoj.

Khoj previously only supported HuggingFace embedding models running locally on device or via HuggingFaceW inference API endpoint.

@debanjum debanjum force-pushed the support-azure-openai-api-endpoint branch from e057838 to 275d70e Compare January 9, 2025 03:42
@debanjum debanjum force-pushed the support-embbedings-model-via-openai-api branch from 1189679 to cc82667 Compare January 9, 2025 03:45
@debanjum debanjum force-pushed the support-azure-openai-api-endpoint branch from 275d70e to f6948a2 Compare January 9, 2025 03:48
@debanjum debanjum force-pushed the support-embbedings-model-via-openai-api branch from cc82667 to 89a0e28 Compare January 9, 2025 03:48
@debanjum debanjum force-pushed the support-embbedings-model-via-openai-api branch from 89a0e28 to d186eed Compare January 9, 2025 05:26
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.

1 participant