Comments (2)
@rvjosh I've just worked on adding in support to use 3P embeddings API hosted on huggingface (if you configure it to be run as a Sentence Embedding
task). See PRs #609 , #616 . This should be fairly extensible with using the OpenAI service directly (eventually), but it would also work for any model via HuggingFace now. Will be available in the next release.
from khoj.
Are you on a machine with GPU? It's pretty fast when running on GPU enabled machines.
- You can choose any sentence transformer compatible model for indexing
- Using the standard sentence transformer models is generally faster for search as they're smaller in size and of decently good quality. Ada's larger embedding size slows down the speed of search
- For large datasets, the first run will be slower but subsequent runs should be fine as only the updated embeddings are regenerated.
We haven't seen a strong enough need to support generating embedding via API yet. But open to considering this if there's a strong enough reason to do so in the future
from khoj.
Related Issues (20)
- [FIX] AppImage for 1.12.1 missing some libs
- The local ollama cannot be connected HOT 7
- [FIX] Khoj Chat agent doesn't stop generating content HOT 3
- [FIX]
- [FIX]The deployment was not successful, regardless of whether I used Ollama openai, All show uvicorn. error: connection closed HOT 10
- [FIX] HOT 2
- [FIX]https://app.khoj.dev/ is down?, malfunction, stuck at "Generating a well-informed response" HOT 1
- Does running @agent AnythingLLM call only the model in the ai agent session and not the model configured by the system?
- CSRF-Error with Docker Desktop HOT 6
- [IDEA] Add better support for document summarization
- [FIX] Fix Styling, Selectable Text and Exiting Chat View in Obsidian
- [FIX] You must be authenticated to access it hugging HOT 1
- [FIX] Khoj outputs chinese characters as raw unicode in a codeblock and many words are misspell HOT 8
- [FIX] firefox CSRF verification failed. Request aborted. HOT 3
- [FIX] No Local AI connection (tried, llama.cpp OR ollama)
- [FIX] text doesn't generate after local inference completes request
- [IDEA] Request to Update Documentation and Enhance Local Setup Options for Emacs Client
- [FIX] Khoj failed to parse online search result. HOT 4
- Integrate better PDF Loaders - PDFMiner, Textract, Azure Document Intelligence HOT 1
- Integrate Langchain processor to include models from all model providers HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from khoj.