Straico Official icon

Straico Official

Get data from Straico API

RAG → Update

AI-generated

Overview

This node operation updates an existing RAG (Retrieval-Augmented Generation) resource by uploading a new file to it. It is useful when you want to modify or add new data to an existing RAG instance, which can then be used for enhanced prompt completions or other AI-driven tasks.

Use Case Examples

  1. Updating a RAG with a new PDF document to improve its knowledge base.
  2. Replacing the existing file in a RAG with an updated version to keep the data current.

Properties

Name Meaning
RAG ID The unique identifier of the RAG resource to update.
File The file to upload to update the RAG resource. This is a required binary file input.

Output

JSON

  • json - The JSON response from the Straico API after updating the RAG resource, containing details about the updated RAG.

Dependencies

  • Straico API
  • An API key credential for Straico API authentication

Troubleshooting

Error 'No binary data property "" found on item!' indicates that the specified file input does not contain binary data. Ensure the file is correctly provided as binary data in the input.

  • API request failures may occur due to invalid RAG ID or network issues. Verify the RAG ID is correct and the API credentials are valid.
  • Ensure the file being uploaded is supported and not corrupted to avoid upload errors.

Links

Discussion