acumplid commited on
Commit
60311f6
1 Parent(s): c774338

Fix bug adding self

Browse files
Files changed (2) hide show
  1. .gitignore +7 -0
  2. rag.py +1 -1
.gitignore ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ venv
2
+ **/__pycache__
3
+ .env
4
+ vectorestore/
5
+ venv/
6
+ venv/**
7
+ **/venv
rag.py CHANGED
@@ -70,7 +70,7 @@ class RAG:
70
  def get_response(self, prompt: str, model_parameters: dict) -> str:
71
 
72
  docs = self.get_context(prompt, model_parameters["NUM_CHUNKS"])
73
- text_context, full_context = beautiful_context(docs)
74
 
75
  del model_parameters["NUM_CHUNKS"]
76
 
 
70
  def get_response(self, prompt: str, model_parameters: dict) -> str:
71
 
72
  docs = self.get_context(prompt, model_parameters["NUM_CHUNKS"])
73
+ text_context, full_context = self.beautiful_context(docs)
74
 
75
  del model_parameters["NUM_CHUNKS"]
76