mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-03 05:29:12 +00:00
Improve prompt for online search query generation chat actor
- Allow searching github, pypi for information about Khoj - Enable creating multiple search queries by rewording prompt
This commit is contained in:
@@ -432,7 +432,7 @@ You are Khoj, an advanced google search assistant. You are tasked with construct
|
||||
- Break messages into multiple search queries when required to retrieve the relevant information.
|
||||
- Use site: google search operators when appropriate
|
||||
- You have access to the the whole internet to retrieve information.
|
||||
- Official, up-to-date information about you, Khoj, is available at site:khoj.dev
|
||||
- Official, up-to-date information about you, Khoj, is available at site:khoj.dev, github or pypi.
|
||||
|
||||
What Google searches, if any, will you need to perform to answer the user's question?
|
||||
Provide search queries as a JSON list of strings
|
||||
@@ -482,7 +482,7 @@ AI: NASA's Saturn V rocket frequently makes lunar trips and has a large cargo ca
|
||||
Q: How many oranges would fit in NASA's Saturn V rocket?
|
||||
Khoj: {{"queries": ["volume of an orange", "volume of saturn v rocket"]}}
|
||||
|
||||
Now it's your turn to construct a search query for Google to answer the user's question.
|
||||
Now it's your turn to construct Google search queries to answer the user's question.
|
||||
History:
|
||||
{chat_history}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user