Spaces:
Sleeping
Sleeping
Update kig_core/prompts.py
Browse files- kig_core/prompts.py +2 -3
kig_core/prompts.py
CHANGED
@@ -84,9 +84,8 @@ SUMMARIZER_PROMPT = ChatPromptTemplate.from_template(SUMMARIZER_TEMPLATE)
|
|
84 |
# This prompt guides the LLM to output structured Key Issues based on gathered context.
|
85 |
# It references the Pydantic model 'KeyIssue' for the desired format.
|
86 |
KEY_ISSUE_STRUCTURING_TEMPLATE = f"""Based on the provided context (summaries of relevant documents, research findings, etc.), identify and formulate distinct Key Issues related to the original user query.
|
87 |
-
User Query: {
|
88 |
-
Context:
|
89 |
-
{{context}}
|
90 |
For each Key Issue identified, provide the following information in the exact JSON format described below. Output a JSON list containing multiple KeyIssue objects.
|
91 |
JSON Schema for each Key Issue object:
|
92 |
{{
|
|
|
84 |
# This prompt guides the LLM to output structured Key Issues based on gathered context.
|
85 |
# It references the Pydantic model 'KeyIssue' for the desired format.
|
86 |
KEY_ISSUE_STRUCTURING_TEMPLATE = f"""Based on the provided context (summaries of relevant documents, research findings, etc.), identify and formulate distinct Key Issues related to the original user query.
|
87 |
+
User Query: {user_query}
|
88 |
+
Context: {context}
|
|
|
89 |
For each Key Issue identified, provide the following information in the exact JSON format described below. Output a JSON list containing multiple KeyIssue objects.
|
90 |
JSON Schema for each Key Issue object:
|
91 |
{{
|