mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-11-24 07:55:07 +01:00
Clean up the function planning prompt a little bit
This commit is contained in:
parent
f71e4969d3
commit
7b288a1179
1 changed files with 2 additions and 2 deletions
|
@ -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()
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue