Share feedback, ideas and get community help

Updated 3 months ago

Dify.ai call agents functions

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
Another thing i cant get my head around, is how to get the conversation id, the module is creating automatically.
I'm not sure what you mean by chatbot or agent, isn't it the same endpoint on dify?
You provide the Conversation ID
it isnt the same.

chatbots allow blocking method. agents only streaming.

chatbots are simple modal assistants while agents can "think" and solve complex tasks
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.
Agents should work with the Dify block
Please provide a bug reproduction for me to fix the potential issue if any
They do. But providing a conversation ID doesn’t work
Dify doesn’t accept the random id from tb
A workaround, is to get the most recent conversation id of a given username by a dify get http api
A fix would be to understand what id style dify is accepting
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?
Add a reply
Sign up and join the conversation on Discord