Sign in

What is an "Expert"? How do we create our own expert?

There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.

DagKnows allows you to create your own AI agent. We call them Experts. If you want to give special instructions to AI to do something but don't want to repeat those instructions every time you type a prompt, you can create an expert. For example, suppose you want to build an AI agent that handles your queries related to your cloud cost, you can create an expert and add all your special instructions into the expert. It is like training a new hire to make them an expert. Giving them all the instructions so that they can be productive.


To create an expert,

  • Go to Experts tab in the left nav bar
  • Click Create Expert
  • Fill in the template.
  • You must give a name to the expert. No whitespaces or special characters except '_'. for example aws_cost_expert
  • A title is necessary. For example: "Expert in handling cloud cost related tasks". Our AI engine uses this title to decide to decide which expert to assign a given task to.
  • Enter a Description. Here you add all the instructions for the expert, things like what it should do and should not do etc.
  • You can also add a list of Environment variables the expert has access to. Each environment variable entry would have the variable name and the variable description.
  • Keywords is just a comma separated list of keywords related to the agent. If any of these keywords is mentioned in a user's prompt, the expert instructions in the description section will be appended to the main system prompt and sent to LLM. Be careful about the keywords. If they are too generic then every time a user prompt includes any, the prompt will be appended and it will bloat the system prompt. If it is too rare then a user may forget to mention the keyword in their query and LLM won't receive the expert instructions and then may hallucinate.
  • Collaborators is a list of other experts this expert collaborates with. The collaborators' expert prompts will also be appended to the system prompt. For example, our aws_cost_expert can collaborate with aws_expert which may have some other AWS related generic instructions.
  • You can add Tags to the expert for classification. However the most important tag the expert must has is "expertprompt". It is automatically added for you by default. If you want to disable the expert, you can remove this tag. If you want to enable the expert, just add back the "expertprompt" tag.