Skip to content

Commit

Permalink
update default search backend
Browse files Browse the repository at this point in the history
  • Loading branch information
etwk committed Sep 2, 2024
1 parent 7a97868 commit 9205be9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion infra/env.d/check
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ RERANK_BASE_URL=http://infinity:7997
RERANK_MODEL_DEPLOY=api
RERANK_MODEL_NAME=jinaai/jina-reranker-v2-base-multilingual

SEARCH_BASE_URL=https://s.jina.ai
SEARCH_BASE_URL=https://search.ittia.net

PROJECT_HOSTING_BASE_URL=http://127.0.0.1:8000
2 changes: 1 addition & 1 deletion src/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def __init__(self):
self.EMBEDDING_BASE_URL = os.environ.get("EMBEDDING_BASE_URL") or "http://ollama:11434"
self.RERANK_BASE_URL = os.environ.get("RERANK_BASE_URL") or "http://xinference:9997/v1"
self.PROJECT_HOSTING_BASE_URL = os.environ.get("PROJECT_HOSTING_BASE_URL") or "https://check.ittia.net"
self.SEARCH_BASE_URL = os.environ.get("SEARCH_BASE_URL") or "https://s.jina.ai"
self.SEARCH_BASE_URL = os.environ.get("SEARCH_BASE_URL") or "https://search.ittia.net"

# set RAG models deploy mode
self.EMBEDDING_MODEL_DEPLOY = os.environ.get("EMBEDDING_MODEL_DEPLOY") or "local"
Expand Down

0 comments on commit 9205be9

Please sign in to comment.