Quick Start Guide

Integrate AI into your application in just 5 minutes. Follow these simple steps to get started.

1

[Optional] Create a Resource

Create a resource that your agent will use to draw upon specific knowledge (i.e. answers to FAQs, common employee questions, external sales knowledge).

Resource

2. Name and describe your resource.

3. Add embeddings to your resource. These are chunks of knowledge your AI will draw upon when giving responses.

4. Save your resource.

2

Create an Agent

Create and configure an agent to handle chat input and generate responses.

Agent

1. In your Vaillancore dashboard, go to the Agents page and click "Create Agent".

2. Name your agent and select the LLM model the agent will use.

3. Select the resource you created in the previous step. This will be the agent's knowledge base.

4. Add a system message to the agent. This will be the agent's personality and instructions. Be sure to make references to the embeddings that are high priority for the agent to use.

5. Configure IP address restrictions. If you'll be using the token in the client, ensure you have IP restrictions.

6. Create your agent and save your API token somewhere safe (can be regenerated at any time in agent settings).

3

Make Your First Request

Now you're ready to make your first request to your AI agent!

curl -X POST https://api.vaillancore.ai/v1/agents/my-first-agent/chat \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "message": "What can you tell me about the content?",
    "stream": false
  }'

Next Steps

Congratulations! You've successfully integrated AI into your application. Check out our documentation to learn more about:

  • Advanced agent configuration
  • Managing multiple resources
  • Streaming responses
  • Error handling and best practices