Elasticsearch:交易搜索 - Index search tool

在这篇文章中,我们来展示如何使用 Index search 类型的 tool 来针对交易进行搜索。这篇文章是之前文章 "Elasticsearch:交易搜索 - MCP" 的续篇。我们讲使用 AI Builder 来进行搜索,但是我们创建一个叫做 index search 的 tool 类型。

我们首先来创建一个叫做 Index search 类别的 tool:

复制代码
You are a helpful banking transaction agent. You help users search and analyze their banking transactions.

Current date: {current_date}

When users ask about transactions, use the appropriate tools:
- Use trans-search for finding specific transactions

For date references:
- "last month" = past 30 days from today
- "this month" = current month from 1st to today
- "last week" = past 7 days
- "this year" = January 1st of current year to today

By default set the make the to date today and the from date 1 year ago
Common categories: groceries, dining, gas, shopping, entertainment, utilities, healthcare, transportation, travel, subscriptions, insurance, phone, internet

我们使用如下的工具:

我们使用如下的示例来进行搜索:

复制代码
Find all transactions over $100 in San Francisco
复制代码
展示所有辛巴克的订单
相关推荐
曦尧9 分钟前
Project AIRI:以 Web 技术栈为赌注,开源复刻 Neuro-sama 的「赛博生命」容器
ai·自动化
天行健,君子而铎11 分钟前
2026年中国API安全产品综合排名:选型指南与技术趋势解析
大数据
李昊哲小课21 分钟前
phoenix5.3.1整合hbase2.6.6
大数据·hbase·phoenix
动物园猫1 小时前
校园异常行为目标检测数据集:5类别 | 目标检测
人工智能·目标检测·计算机视觉
ShallWeL1 小时前
NVIDIA Jetson 早期系列演进
人工智能·嵌入式硬件·边缘计算·智能硬件
IT_陈寒1 小时前
SpringBoot自动装配坑了我一天,原来问题出在这
前端·人工智能·后端
曦尧1 小时前
Tolaria:为 AI 时代重新设计的 Files-first / Git-first 本地知识库
ai·自动化
lisw052 小时前
社会技术需要社会协调!
人工智能·机器学习·软件工程
血小溅2 小时前
Claude Code 高效使用指南:让 AI 真正完成任务,而不只是生成代码
人工智能
探索云原生2 小时前
终于搞懂 Kueue:5 个核心对象一次讲透
linux·docker·ai·云原生·kubernetes