Product Docs
  • What is Dataworkz?
  • Getting Started
    • What You Will Need (Prerequisites)
    • Create with Default Settings: RAG Quickstart
    • Custom Settings: RAG Quickstart
    • Data Transformation Quickstart
    • Create an Agent: Quickstart
  • Concepts
    • RAG Applications
      • Overview
      • Ingestion
      • Embedding Models
      • Vectorization
      • Retrieve
    • AI Agents
      • Introduction
      • Overview
      • Tools
        • Implementation
      • Type
      • Tools Repository
      • Tool Execution Framework
      • Agents
      • Scenarios
      • Agent Builder
    • Data Studio
      • No-code Transformations
      • Datasets
      • Dataflows
        • Single Dataflows:
        • Composite dataflows:
        • Benefits of Dataflows:
      • Discovery
        • How to: Discovery
      • Lineage
        • Features of Lineage:
        • Viewing a dataset's lineage:
      • Catalog
      • Monitoring
      • Statistics
  • Guides
    • RAG Applications
      • Configure LLM's
        • AWS Bedrock
      • Embedding Models
        • Privately Hosted Embedding Models
        • Amazon Bedrock Hosted Embedding Model
        • OpenAI Embedding Model
      • Connecting Your Data
        • Finding Your Data Storage: Collections
      • Unstructured Data Ingestion
        • Ingesting Unstructured Data
        • Unstructured File Ingestion
        • Html/Sharepoint Ingestion
      • Create Vector Embeddings
        • How to Build the Vector embeddings from Scratch
        • How do Modify Existing Chunking/Embedding Dataflows
      • Response History
      • Creating RAG Experiments with Dataworkz
      • Advanced RAG - Access Control for your data corpus
    • AI Agents
      • Concepts
      • Tools
        • Dataset
        • AI App
        • Rest API
        • LLM Tool
        • Relational DB
        • MongoDB
        • Snowflake
      • Agent Builder
      • Agents
      • Guidelines
    • Data Studio
      • Transformation Functions
        • Column Transformations
          • String Operations
            • Format Operations
            • String Calculation Operations
            • Remove Stop Words Operation
            • Fuzzy Match Operation
            • Masking Operations
            • 1-way Hash Operation
            • Copy Operation
            • Unnest Operation
            • Convert Operation
            • Vlookup Operation
          • Numeric Operations
            • Tiles Operation
            • Numeric Calculation Operations
            • Custom Calculation Operation
            • Numeric Encode Operation
            • Mask Operation
            • 1-way Hash Operation
            • Copy Operation
            • Convert Operation
            • VLookup Operation
          • Boolean Operations
            • Mask Operation
            • 1-way Hash Operation
            • Copy Operation
          • Date Operations
            • Date Format Operations
            • Date Calculation Operations
            • Mask Operation
            • 1-way Hash Operation
            • Copy Operation
            • Encode Operation
            • Convert Operation
          • Datetime/Timestamp Operations
            • Datetime Format Operations
            • Datetime Calculation Operations
            • Mask Operation
            • 1-way Hash Operation
            • Copy Operation
            • Encode Operation
            • Page 1
        • Dataset Transformations
          • Utility Functions
            • Area Under the Curve
            • Page Rank Utility Function
            • Transpose Utility Function
            • Semantic Search Template Utility Function
            • New Header Utility Function
            • Transform to JSON Utility Function
            • Text Utility Function
            • UI Utility Function
          • Window Functions
          • Case Statement
            • Editor Query
            • UI Query
          • Filter
            • Editor Query
            • UI Query
      • Data Prep
        • Joins
          • Configuring a Join
        • Union
          • Configuring a Union
      • Working with CSV files
      • Job Monitoring
    • Utility Features
      • IP safelist
      • Connect to data source(s)
        • Cloud Data Platforms
          • AWS S3
          • BigQuery
          • Google Cloud Storage
          • Azure
          • Snowflake
          • Redshift
          • Databricks
        • Databases
          • MySQL
          • Microsoft SQL Server
          • Oracle
          • MariaDB
          • Postgres
          • DB2
          • MongoDB
          • Couchbase
          • Aerospike
          • Pinecone
        • SaaS Applications
          • Google Ads
          • Google Analytics
          • Marketo
          • Zoom
          • JIRA
          • Salesforce
          • Zendesk
          • Hubspot
          • Outreach
          • Fullstory
          • Pendo
          • Box
          • Google Sheets
          • Slack
          • OneDrive / Sharepoint
          • ServiceNow
          • Stripe
      • Authentication
      • User Management
    • How To
      • Data Lake to Salesforce
      • Embed RAG into your App
  • API
    • Generate API Key in Dataworkz
    • RAG Apps API
    • Agents API
  • Open Source License Types
Powered by GitBook
On this page
  1. Concepts
  2. AI Agents

Overview

Dataworkz Agents are LLM reasoning engines coupled with information retrieval capabilities. The Agent is configured with access to a number of different tools that provide the Agent with numerous abilities or skills (called tools) such as querying customer profiles, fetching order information, calling external services, performing currency conversions, etc. The reasoning engine provides the Agent with the ability to create a plan of execution to solve a problem leveraging the tools provided to it. A plan is composed of a series of steps. Each step invokes a tool with a set of parameters it expects. The parameters for each tool invocation are discovered by the Agent from

  • the conversation the user has had so far

  • the environment in which the Agent is executing

  • the context of the question the user is asking

  • results of previous plan steps

E.g. In this conversation -

AI: You have 2 orders -

Order # 232: Order is for a Yellow Shirt

Order # 233: Order is for White Socks

User: What is the status of the order with the socks?

The Agent will figure out that the user means Order # 233 when they refer to the order with the white socks from the conversation so far. If a tool requires the customer’s id, that might be available from the context.

An Example plan to get order status for the order with white socks might look like this -

  1. FetchCustomerDetails(customer_id=’CUST2342’) # customer_id populated from the logged in user’s info

  2. FetchOrderDetails(customer_id=’CUST2342’, order_id=’233’) # order_id populated from the conversation context

  3. FetchShippingDetails(shipping_tracking_id=$2.tracking_no) # where $2 refers to plan step2 and tracking_no is a value available in the return of plan step #2

The Agent will orchestrate these calls, passing the correct arguments to the right tools. The plan does not need to be complete - it can solve either the whole or part of the problem. Once the plan is executed, the Agent will analyze the result and can take one of 3 steps -

  • if it has retrieved enough information to answer the user’s question it will Finish and respond to the user

  • If it does not have the answer to the user’s question but it does have more information to proceed, the agent will iterate and continue with further plan creation using the previous plan as context to the next plan’s execution. This iterative process, will continue as the Agent builds up more and more information

  • If it does not have the answer and it has exhausted all avenues of information retrieval it may do one of the following

    • If the problem is because it is missing input it may ask the user

    • If the problem is because some tool invocation failed it may Finish but respond with a message indicating failure to retrieve information

    • If the problem is because it cannot answer either because the problem is beyond its reasoning abilities or it just doesn’t have the answer it may respond accordingly

This orchestrated execution, coupled with reasoning and planning followed by analysis in an interactive fashion enables the Agent to solve complex problems.

PreviousIntroductionNextTools

Last updated 1 month ago