Skip to content

[Q&A] 请问下大佬哪里有函数调用的demo或者例子 #1063

Discussion options

You must be logged in to vote

目前没文档,看下 core 实现吧:

https://github.com/lobehub/lobe-chat/blob/main/src/store/chat/slices/message/action.ts#L255

我自己感觉应该写的挺清晰的。

然后整个 function call 的交互流程,可以看看这篇: https://chat-plugin-sdk.lobehub.com/guides/plugin-invoke

Replies: 13 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by canisminor1990
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #1051 on January 16, 2024 02:53.