khoj-ai / khoj

Your AI second brain. Self-hostable. Get answers from the web or your docs. Build custom agents, schedule automations, do deep research. Turn any online or local LLM into your personal, autonomous AI (e.g gpt, claude, gemini, llama, qwen, mistral).
https://khoj.dev
GNU Affero General Public License v3.0
16.2k stars 796 forks source link

Add model_config for crossencoder model #885

Closed aam-at closed 3 months ago

aam-at commented 3 months 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.