Spaces:
Running
Running
Update app.py
Browse filesdef retrieve_context(question, state, k=15)
app.py
CHANGED
|
@@ -96,7 +96,7 @@ def build_vectorstore(chunks):
|
|
| 96 |
return index, embeddings
|
| 97 |
|
| 98 |
|
| 99 |
-
def retrieve_context(question, state, k=
|
| 100 |
index = state.get("index")
|
| 101 |
chunks = state.get("chunks")
|
| 102 |
|
|
|
|
| 96 |
return index, embeddings
|
| 97 |
|
| 98 |
|
| 99 |
+
def retrieve_context(question, state, k=15):
|
| 100 |
index = state.get("index")
|
| 101 |
chunks = state.get("chunks")
|
| 102 |
|