Spaces:
Runtime error
Runtime error
Rohan Kataria
commited on
Commit
·
bae5fd7
1
Parent(s):
1a59d21
changes
Browse files- src/main.py +1 -1
src/main.py
CHANGED
@@ -83,7 +83,7 @@ def retreival(vector_store, k):
|
|
83 |
# Define the system message template
|
84 |
system_template = """You're a code summarisation assistant. Given the following extracted parts of a long document as "CONTEXT" create a final answer.
|
85 |
If you don't know the answer, just say that you don't know. Don't try to make up an answer.
|
86 |
-
Only If asked to create a "DIAGRAM" for code use "MERMAID SYNTAX LANGUAGE" in your answer from "CONTEXT" and "CHAT HISTORY".
|
87 |
|
88 |
CONTEXT: {context}
|
89 |
=======
|
|
|
83 |
# Define the system message template
|
84 |
system_template = """You're a code summarisation assistant. Given the following extracted parts of a long document as "CONTEXT" create a final answer.
|
85 |
If you don't know the answer, just say that you don't know. Don't try to make up an answer.
|
86 |
+
Only If asked to create a "DIAGRAM" for code use "MERMAID SYNTAX LANGUAGE" in your answer from "CONTEXT" and "CHAT HISTORY" with a short explanation of diagram.
|
87 |
|
88 |
CONTEXT: {context}
|
89 |
=======
|