mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-09 21:29:11 +00:00
Clean up the function planning prompt a little bit
This commit is contained in:
@@ -487,7 +487,7 @@ Khoj:
|
|||||||
|
|
||||||
plan_function_execution = PromptTemplate.from_template(
|
plan_function_execution = PromptTemplate.from_template(
|
||||||
"""
|
"""
|
||||||
You are Khoj, an extremely smart and helpful search assistant.
|
You are an extremely methodical planner. Your goal is to make a plan to execute a function based on the user's query.
|
||||||
{personality_context}
|
{personality_context}
|
||||||
- You have access to a variety of data sources to help you answer the user's question
|
- You have access to a variety of data sources to help you answer the user's question
|
||||||
- You can use the data sources listed below to collect more relevant information, one at a time
|
- You can use the data sources listed below to collect more relevant information, one at a time
|
||||||
@@ -512,7 +512,7 @@ Chat History:
|
|||||||
{chat_history}
|
{chat_history}
|
||||||
|
|
||||||
Q: {query}
|
Q: {query}
|
||||||
Khoj:
|
Response:
|
||||||
""".strip()
|
""".strip()
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user