khoj-ai / khoj

Your AI second brain. Get answers to your questions, whether they be online or in your own notes. Use online AI models (e.g gpt4) or private, local LLMs (e.g llama3). Self-host locally or use our cloud instance. Access from Obsidian, Emacs, Desktop app, Web or Whatsapp.
https://khoj.dev
GNU Affero General Public License v3.0
12.63k stars 640 forks source link

Add model_config for crossencoder model #885

Closed aam-at closed 1 month ago

aam-at commented 1 month ago

Add model_config for crossencoder model, so the server admin can use models which require trust_remote_code to run locally, e.g. Alibaba-NLP/gte-multilingual-reranker-base.