Skip to main content

Overview

The Teradata tools allow you to run SQL queries on a Teradata database and to build and search vector stores on Teradata Vantage Cloud for RAG-style workflows.

Key Features

  • TERADATA_RUN_QUERY
    • Execute SQL queries on a Teradata database.
    • Retrieve results in a structured format.
  • VANTAGE_CLOUD_VECTOR_STORE_CREATE
    • Create a VectorStore on Vantage Cloud from files in Jinba storage, with document ingestion and chunking.
  • VANTAGE_CLOUD_VECTOR_STORE_ADD_DOCUMENT
    • Add documents from files in Jinba storage to an existing VectorStore on Vantage Cloud.
  • VANTAGE_CLOUD_VECTOR_SEARCH
    • Perform semantic similarity search on a Vantage Cloud VectorStore.

Authentication

For TERADATA_RUN_QUERY, you will need your Teradata database credentials: host, user, and password. The three VANTAGE_CLOUD_* tools share the same config parameters: Note: Treat API keys as sensitive information and never commit them to public repositories.

Vantage Cloud Vector Tools

VANTAGE_CLOUD_VECTOR_STORE_CREATE

Create a VectorStore on Vantage Cloud from files in Jinba storage. Input: Output: result with name (created VectorStore), status, and message.

VANTAGE_CLOUD_VECTOR_STORE_ADD_DOCUMENT

Add documents to an existing VectorStore on Vantage Cloud. Input: Output: result with name, status, and message. Perform semantic similarity search on a Vantage Cloud VectorStore. Input: Output: result with similar_objects (each containing score and, when available, DataBaseName, TableName, TD_ID, TD_FILENAME, chunks, index_label) and total_count.

Example: Create a VectorStore and Search It

Example: Run Teradata Query