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
复制代码
展示所有辛巴克的订单
相关推荐
hg01184 小时前
中国技术助力肯尼亚移动支付平台走向全球
大数据
青松@FasterAI4 小时前
【动手学大模型】机器何以学习
人工智能·深度学习·神经网络·自然语言处理·大模型开发
lpfasd1234 小时前
Sora 之死:技术理想主义在工程现实主义面前的全面溃败
人工智能
前讯焦点4 小时前
三重布局筑根基,小牛电动2026全速开启智能出行新篇
大数据
try2find4 小时前
在sft后原lora模型做grpo训练与新增lora层做grpo训练的区别
人工智能
xiaoxiaoxiaolll4 小时前
Nature Communications |石墨烯“解锁”亚太赫兹通信:3Gbit/s高速传输背后的器件创新
网络·人工智能
t198751284 小时前
基于深度学习的图像分割MATLAB实现
人工智能·深度学习·matlab
词元Max4 小时前
1.2 深度学习核心概念:神经网络直觉理解
人工智能·深度学习·神经网络
x-cmd4 小时前
[260326] x-cmd v0.8.10:跨 Shell 统一配置命令短名;自动装好依赖运行 WhisperLiveKit 实时语音转写
linux·人工智能·ai·whisper·shortcut·x-cmd
尽兴-4 小时前
Elasticsearch 索引与文档管理实战:从倒排索引到建模最佳实践
大数据·elasticsearch·django·全文检索·索引