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
复制代码
展示所有辛巴克的订单
相关推荐
众智鸿图8 分钟前
让技术扎根场景,让智能守护安全|曾文教授谈时空智能与智慧燃气
人工智能·安全·智慧城市·xr·智慧燃气·地下管网
用户13359939454225 分钟前
看起来快 4 倍,实测只快 4%:Strata 与 llama.cpp 的 200K 长上下文对决!
人工智能·性能优化
丘山录25 分钟前
接单剪片,DeepSeek 排表快多少,手写要 2 小时
人工智能
海宇AI32 分钟前
零信任架构实战:基于海宇企业股权变更构建自动化供应商股权审查网关
大数据·人工智能·架构·自动化
烬中寻道39 分钟前
AI 访问数据库(二):只读账号与凭据载体的工程化落地
人工智能
乐迪信息39 分钟前
航速超限怎么判别:视频轨迹测速与复核口径
人工智能·深度学习
码流子1 小时前
灰度流量混在一起,指标分不清是谁的
人工智能
大模型真好玩1 小时前
DSH+LLM Wiki 个人知识库应用开发实战(二)——DeepSeek Harness 接入 LLM Wiki(实操篇)
人工智能·agent·deepseek
研知有术一站式科研平台1 小时前
研知有术论文辅导:科普一下,发一篇SCI需要多长时间?
人工智能
深信达沙箱1 小时前
板卡厂的下一个增长点:从卖嵌入板到卖安全方案
大数据·人工智能·安全