Difference Between Agent Prompts and Knowledge Base
In the MOSS AI ecosystem, agent prompts and knowledge bases play distinct roles, each influencing the behavior and information retrieval capabilities of agents.
Agent Prompts
Purpose: Define the agent's persona, language style, and interaction rules, determining how it expresses itself and how it responds to users. Trigger: Agent prompts take effect during each inference process, influencing the overall conversational style and behavior of the agent. Example: An AI assistant’s prompt might be set to define it as a “witty and humorous financial analyst,” ensuring it maintains a specific tone and professionalism across all conversations.
Knowledge Base
Purpose: Stores additional knowledge-based information. When the agent requires specific expertise or content, it retrieves and queries the knowledge base. Trigger: The knowledge base is only accessed when the user’s query pertains to related content. Example: If the knowledge base contains a "MOSS AI RAG Knowledge Base Creation Guide," the agent will search for and provide that information only when the user asks about it.
Last updated