Feedloop AI
  • GETTING STARTED
    • Discover Feedloop AI
    • Authentication
      • Sign Up
      • Login
    • Platform
      • Workspace
      • Project
      • People
      • Usage
  • WHAT IS AGENT
    • What is Agent
      • ⚪Manage Agent
    • Basic Agent
      • ⚪Instruction
        • Who
        • What
      • ⚪Training
        • Rules
        • Example
      • ⚪Skill
        • Knowledge
        • Analys
      • ⚪Style
    • Procedures
    • Advance Reasoning
      • ⚪Creating New Agent
      • ⚪Advance Agent Activation
      • ⚪Deleting Agent
      • ⚪Advance Agent Managing Existing
  • AGENT SETTINGS
    • Instruction
      • Who
      • What
      • Additional Instruction
    • Training
      • Chat Rules
      • Retrieval
      • Answering
    • Context
      • Primitive Context
      • Array
    • Tools
      • Knowledge
      • API - Call
        • Manage API Call
        • Basic Configuration
        • Header
        • Body Field
          • Input Binding
            • Page 2
          • Output Binding
        • Testing API Call
        • Trouble Shooting
        • Example Implementation
          • API Call Covid
      • Data Connector
    • Card
      • Intro & Summary Text
      • Data Visualization Card
      • Analyze Card
    • Procedure Basic Info
      • Activation Condition
      • Goal
      • Action
    • Procedures Interaction
      • Procedures Step
      • Procedures Context
      • Procedures Tools
  • AGENT UTILITY
    • Resource
      • Document PDF
        • Preparing your PDF
      • Data Connector
        • Create new data connector
        • Configure dataset, table, and column
        • Using Data Playground
        • Dataset in Data Playground
        • Training in Data Playground
        • SQL generation and modification
        • SQL Execution
    • Apps
      • Chat Widget
      • Web App
    • Testing
    • Monitoring
      • Customer Chat
      • Context
      • Document
  • TASK
    • ⚪Image Analyzer
      • Building Analyzer
      • ID Identifier
    • ⚪Document Analyzer
      • Contractual Document Analyzer
    • ⚪Database Analyzer
    • ⚪Additional Solution
      • Text Sentiment Analyzer
      • Customer Complaint Analyzer
  • For Developer
    • API Chat
      • Chat Initialization
      • Chat Message
      • Chat History
      • Error Handling
    • Embed Widget
      • Embedding the Widget
      • Identity Attributes
      • Widget Attribute Details
Powered by GitBook
On this page
  • Logic
  • Goal Section
  • Purpose
  • How to Configure
  1. AGENT SETTINGS
  2. Procedure Basic Info

Goal

PreviousActivation ConditionNextAction

Last updated 6 months ago

The Goal defines the specific condition that must be met for a procedure to be considered complete. This ensures that the procedure ends only when all required information or criteria are fulfilled, based on user input or system events.


Logic

Goal Logic - How it works
  • Context Validation: The system will check that all required details are properly collected and stored in the context. If any required fields (e.g., [userid], [kode_barang], [status_klaim]) are missing, the procedure will not proceed to completion.

  • Step Completion: The procedure will verify if all the steps have been completed, particularly the final step in the interaction flow. Only when the last step has been successfully executed will the system mark the goal as fulfilled.

  • Action and Tool Use: The goal may also reference actions or tools that need to be triggered as part of the procedure. For instance, the agent should post the collected data to the ClaimClient table using a specific action tool. The system checks whether the required actions have been completed (e.g., posting claim data or retrieving the [id_pengajuan]).

  • Goal Fulfillment: The system considers the goal complete when all steps are passed, all context fields are filled, and the necessary actions have been executed. Once all conditions are met, the system will proceed to the next phase, such as triggering any remaining actions or closing the procedure.

Goal Section

Purpose

The Goal specifies the end condition of the procedure. It ensures that the procedure completes when specific data or actions are fulfilled, such as collecting required claim details or verifying information.

How to Configure

  1. Click Edit: Click the Edit button next to the Goal field to modify it.

  2. Enter the Goal: Define the condition that indicates the end of the procedure. This is usually based on collecting specific user input or completing a task.

    • Example The system uses the ClaimClient action tool to ensure the collected claim data is properly stored in the relevant columns. The procedure ends when the client provides all required details related to their claim, such as full name, user ID, item code, item type, purchase date, claim type, damage details, proof link, and claim status.

  3. Save Changes: Once you've entered the required details, click Save to apply the changes.

Edit Goal
Input Goal