Straico Official icon

Straico Official

Get data from Straico API

Agent → Add RAG

AI-generated

Overview

This node operation adds a RAG (Retrieval-Augmented Generation) to a specified agent in the Straico API. It is useful for enhancing an agent's capabilities by associating it with a RAG, which can improve the agent's responses by leveraging additional data sources. For example, you can add a RAG to a customer support agent to enable it to provide more accurate and context-aware answers based on external documents or knowledge bases.

Use Case Examples

  1. Add a RAG to an AI assistant agent to improve its knowledge base.
  2. Associate a RAG with a chatbot agent to enhance its response accuracy using external data.

Properties

Name Meaning
Agent ID The unique identifier of the agent to which the RAG will be added. Required to specify the target agent.
RAG ID The unique identifier of the RAG to be added to the agent. Required to specify which RAG to associate with the agent.

Output

JSON

  • json - The JSON response from the Straico API after adding the RAG to the agent, containing details of the operation result.

Dependencies

  • Straico API with an API key credential for authentication

Troubleshooting

  • Ensure that the Agent ID and RAG ID are correctly provided and exist in the Straico system.
  • Check that the API credentials are valid and have the necessary permissions to modify agents.
  • Common error messages may include missing parameters or authentication failures; verify input parameters and API key validity.

Links

Discussion