Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
add new vs with documents politica ambiental de la UE
Browse files
index-BAAI_bge-m3-1500-200-recursive_splitter-CA_ES_UE/index.faiss
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8b9f3a1d01546449d470f537d1dcf02e6eaf9b228aea679f53ea58e804c96746
|
3 |
+
size 522162221
|
index-BAAI_bge-m3-1500-200-recursive_splitter-CA_ES_UE/index.pkl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:eb3fac08ca8f1ba5325ed57ce3e750e02f4305d783e26b5629e3e77bb398f6be
|
3 |
+
size 202783323
|
rag.py
CHANGED
@@ -13,7 +13,7 @@ class RAG:
|
|
13 |
|
14 |
#vectorstore = "index-intfloat_multilingual-e5-small-500-100-CA-ES" # mixed
|
15 |
#vectorstore = "vectorestore" # CA only
|
16 |
-
vectorstore = "index-BAAI_bge-m3-1500-200-recursive_splitter-
|
17 |
|
18 |
def __init__(self, hf_token, embeddings_model, model_name):
|
19 |
|
@@ -86,4 +86,4 @@ class RAG:
|
|
86 |
|
87 |
return response, full_context, source
|
88 |
except Exception as err:
|
89 |
-
print(err)
|
|
|
13 |
|
14 |
#vectorstore = "index-intfloat_multilingual-e5-small-500-100-CA-ES" # mixed
|
15 |
#vectorstore = "vectorestore" # CA only
|
16 |
+
vectorstore = "index-BAAI_bge-m3-1500-200-recursive_splitter-CA_ES_UE"
|
17 |
|
18 |
def __init__(self, hf_token, embeddings_model, model_name):
|
19 |
|
|
|
86 |
|
87 |
return response, full_context, source
|
88 |
except Exception as err:
|
89 |
+
print(err)
|