Synced repo using 'sync_with_huggingface' Github Action
Browse files- fact_checker.py +1 -1
fact_checker.py
CHANGED
|
@@ -47,7 +47,7 @@ def robust_json_extractor(response_content):
|
|
| 47 |
|
| 48 |
class FactChecker:
|
| 49 |
def __init__(self, chroma_path, collection_name, groq_client):
|
| 50 |
-
self.client = chromadb.
|
| 51 |
self.collection = self.client.get_collection(
|
| 52 |
name=collection_name,
|
| 53 |
embedding_function=embedding_functions.SentenceTransformerEmbeddingFunction(
|
|
|
|
| 47 |
|
| 48 |
class FactChecker:
|
| 49 |
def __init__(self, chroma_path, collection_name, groq_client):
|
| 50 |
+
self.client = chromadb.Client()
|
| 51 |
self.collection = self.client.get_collection(
|
| 52 |
name=collection_name,
|
| 53 |
embedding_function=embedding_functions.SentenceTransformerEmbeddingFunction(
|