Log in
Log into community
Share feedback, ideas and get community help
View all posts
Related posts
Did this answer your question?
😞
😐
😃
Powered by
Hall
Inactive
Updated 3 months ago
0
Follow
Dify.ai call agents functions
Dify.ai call agents functions
Inactive
0
Follow
K
Kilian S.
5 months ago
·
Hi, it seems like the typebot integration is just calling the chatbot on dify, but not the agent, am I right? If so, is there anything to take care of when connecting to dify via a custom http api or script?
K
B
13 comments
Share
Open in Discord
K
Kilian S.
5 months ago
Another thing i cant get my head around, is how to get the conversation id, the module is creating automatically.
B
Baptiste
5 months ago
I'm not sure what you mean by chatbot or agent, isn't it the same endpoint on dify?
B
Baptiste
5 months ago
You provide the Conversation ID
K
Kilian S.
5 months ago
it isnt the same.
chatbots allow blocking method. agents only streaming.
chatbots are simple modal assistants while agents can "think" and solve complex tasks
K
Kilian S.
5 months ago
that didnt worked. it didnt accepted my conversation IDs.
As of now. I call dify via the dify block, and then call dify after that, and get the most recent conversation Id of a given username.
B
Baptiste
5 months ago
Agents should work with the Dify block
B
Baptiste
5 months ago
Please provide a bug reproduction for me to fix the potential issue if any
K
Kilian S.
5 months ago
They do. But providing a conversation ID doesn’t work
K
Kilian S.
5 months ago
Dify doesn’t accept the random id from tb
K
Kilian S.
5 months ago
A workaround, is to get the most recent conversation id of a given username by a dify get http api
K
Kilian S.
5 months ago
A fix would be to understand what id style dify is accepting
K
Kilian S.
5 months ago
They do work yes. but not with all features. For example it would be great with we could safe all the Outputs the API generates, as Variables.
Id also like to use its speech to text streaming.
Can we call dify or other services and use streaming, in custom blocks? If so, how to diggest their outputs in textblocks?
K
Kilian S.
5 months ago
I assume this is what I was looking for ?
https://docs.typebot.io/contribute/the-forge/run#server-function-stream
Add a reply
Sign up and join the conversation on Discord
Join on Discord