From b80c4bcfdd907efe1c114a9cee1b44f2e89b0a6c Mon Sep 17 00:00:00 2001 From: Debanjum Singh Solanky Date: Tue, 8 Oct 2024 19:47:51 -0700 Subject: [PATCH] Improve agent command descriptions --- src/khoj/utils/helpers.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/khoj/utils/helpers.py b/src/khoj/utils/helpers.py index 30c9d5d6..4c7bf985 100644 --- a/src/khoj/utils/helpers.py +++ b/src/khoj/utils/helpers.py @@ -321,7 +321,7 @@ command_descriptions = { ConversationCommand.Notes: "Only talk about information that is available in your knowledge base.", ConversationCommand.Default: "The default command when no command specified. It intelligently auto-switches between general and notes mode.", ConversationCommand.Online: "Search for information on the internet.", - ConversationCommand.Webpage: "Get information from webpage links provided by you.", + ConversationCommand.Webpage: "Get information from webpage suggested by you.", ConversationCommand.Image: "Generate images by describing your imagination in words.", ConversationCommand.Automation: "Automatically run your query at a specified time or interval.", ConversationCommand.Help: "Get help with how to use or setup Khoj from the documentation", @@ -329,11 +329,11 @@ command_descriptions = { } command_descriptions_for_agent = { - ConversationCommand.General: "Respond without any outside information or personal knowledge.", - ConversationCommand.Notes: "Search through the knowledge base. Required if the agent expects context from the knowledge base.", - ConversationCommand.Online: "Search for the latest, up-to-date information from the internet.", - ConversationCommand.Webpage: "Scrape specific web pages for information.", - ConversationCommand.Summarize: "Retrieve an answer that depends on the entire document or a large text. Knowledge base must be a single document.", + ConversationCommand.General: "Agent can use the agents knowledge base and general knowledge.", + ConversationCommand.Notes: "Agent can search the users knowledge base for information.", + ConversationCommand.Online: "Agent can search the internet for information.", + ConversationCommand.Webpage: "Agent can read suggested web pages for information.", + ConversationCommand.Summarize: "Agent can read an entire document. Agents knowledge base must be a single document.", } tool_descriptions_for_llm = { @@ -352,8 +352,8 @@ mode_descriptions_for_llm = { } mode_descriptions_for_agent = { - ConversationCommand.Image: "Allow the agent to generate images.", - ConversationCommand.Text: "Allow the agent to generate text.", + ConversationCommand.Image: "Agent can generate image in response.", + ConversationCommand.Text: "Agent can generate text in response.", }