Spaces:
Sleeping
Sleeping
Serjesh
commited on
Commit
·
f96e25b
1
Parent(s):
04bb9a2
Updating WandB project
Browse files- src/app/app.py +1 -1
- src/app/raq_qa_reterieval_wandb.py +1 -1
src/app/app.py
CHANGED
@@ -39,7 +39,7 @@ async def start_chat():
|
|
39 |
retrieval_augmented_qa_pipeline = RetrievalAugmentedQAPipeline(
|
40 |
vector_db_retriever=vector_db,
|
41 |
llm=chat_openai,
|
42 |
-
wandb_project="RAQ
|
43 |
msg.content = f"Dataset loading is done. You can now ask questions!"
|
44 |
await msg.update()
|
45 |
cl.user_session.set("chain", retrieval_augmented_qa_pipeline)
|
|
|
39 |
retrieval_augmented_qa_pipeline = RetrievalAugmentedQAPipeline(
|
40 |
vector_db_retriever=vector_db,
|
41 |
llm=chat_openai,
|
42 |
+
wandb_project="RAQ in pure python HF")
|
43 |
msg.content = f"Dataset loading is done. You can now ask questions!"
|
44 |
await msg.update()
|
45 |
cl.user_session.set("chain", retrieval_augmented_qa_pipeline)
|
src/app/raq_qa_reterieval_wandb.py
CHANGED
@@ -39,7 +39,7 @@ class RetrievalAugmentedQAPipeline:
|
|
39 |
self.llm = llm
|
40 |
self.vector_db_retriever = vector_db_retriever
|
41 |
self.wandb_project = wandb_project
|
42 |
-
winit(project="RAQ
|
43 |
|
44 |
def run_pipeline(self, user_query: str) -> str:
|
45 |
context_list = self.vector_db_retriever.search_by_text(user_query, k=4)
|
|
|
39 |
self.llm = llm
|
40 |
self.vector_db_retriever = vector_db_retriever
|
41 |
self.wandb_project = wandb_project
|
42 |
+
winit(project="RAQ in pure python HF")
|
43 |
|
44 |
def run_pipeline(self, user_query: str) -> str:
|
45 |
context_list = self.vector_db_retriever.search_by_text(user_query, k=4)
|