epam / ai-dial-assistant

Model agnostic assistant/addon implementation for AI DIAL. It allows to use self-hosted OpenAI plugins as DIAL addons
https://epam-rail.com
Apache License 2.0
11 stars 2 forks source link

Improve system prompt to use consistent names for commands/requests #23

Open Oleksii-Klimov opened 11 months ago

Oleksii-Klimov commented 11 months ago

Here is a proposal from @adubovik :

ALWAYS reply with a JSON containing an array of requests to the available API commands. You must not use natural language:
{
  "requests": [
    {
      "name": "<command name>",
      "args": [
        <array of arguments>
      ]
    }
  ]
}

Example:
{"requests": [{"name": "reply", "args": ["Hello, world!"]}]}