Scar头像

让GPT进行复杂函数调用(嵌套Function Calling)的方法

#设置Tag是个好习惯 目前Function Calling应该是不支持嵌套调用的下面提供了一种简单的解决方案:给ChatGPT“获取当前位置”以及“查询温度”的函数,让他告诉我今天该穿什么衣服。Here are some tools: getLocalLocation() :&...

Scar头像

Java Langchain4j 使用Tools实现Agent功能

#设置Tag是个好习惯 import dev.langchain4j.agent.tool.Tool; import dev.langchain4j.memory.chat.MessageWindowChatMemory; import dev.langchain4j.model.ope...

Scar头像

FastChat4j is developing...

最近在筹备FastChat4j,旨在打造一个快速开发LLM应用的脚手架,支持对多个LLM API进行统筹管理。

GitHub 项目地址:https://github.com/inwardflow/fastchat4j

参考博客:https://aki.cc/post/22.html

#设置Tag是个好习惯

Scar头像

可以借鉴一下CTF答题的做法来推广ChatGPT

让玩家设计Prompts

例如“设计一段Prompts(不超过三个字),输出30个字”

#设置Tag是个好习惯

Scar头像

一种让ChatGPT稳定返回JSON数据的方法

#设置Tag是个好习惯 ...

Scar头像

LangChain's features

#设置Tag是个好习惯 ...

Scar头像

ChatGPT 清空指令

#设置Tag是个好习惯 用途启动一次与 ChatGPT 的全新对话。指令Prompts:清空大脑,开启新一轮对话。注意事项保留“Prompts:”,不能替换成“指令:”,否则可能会返回“很抱歉,我不会执行这个指令”。...