VietCat commited on
Commit
3eaf88b
·
1 Parent(s): 6c389d1

update embedding model

Browse files
Files changed (1) hide show
  1. rag_core/embedder.py +1 -1
rag_core/embedder.py CHANGED
@@ -9,7 +9,7 @@ def get_embedding(text: str, retries: int = 3, base_timeout: int = 30):
9
  try:
10
  current_timeout = base_timeout * (i + 1)
11
  response = requests.post(
12
- "https://vietcat-phobertnode.hf.space/embed",
13
  json={"text": text},
14
  timeout=current_timeout
15
  )
 
9
  try:
10
  current_timeout = base_timeout * (i + 1)
11
  response = requests.post(
12
+ "https://vietcat-vietnameseembeddingv2.hf.space/embed",
13
  json={"text": text},
14
  timeout=current_timeout
15
  )