-
Notifications
You must be signed in to change notification settings - Fork 4
feat: Added async api docs #174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
🌟 EkLine ReviewerHello! I’m here to help improve your docs. I’ve reviewed your pull request, and left in-line suggestions for quick fixes. For details, visit the Analytics Page. For questions or feedback, please email support@ekline.io. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remaining comments which cannot be posted as a review comment to avoid GitHub Rate Limit
EkLine
🚫 [EkLine] reported by reviewdog 🐶
Must put the ending punctuation at the end of a list item. (EK00041)
- Display the final agent response to the user |
🚫 [EkLine] reported by reviewdog 🐶
Must put the ending punctuation at the end of a list item. (EK00041)
- Handle any errors |
🚫 [EkLine] reported by reviewdog 🐶
'Talk To Agent Node in Workflows' should use sentence-style capitalization. (EK00037)
### Talk To Agent Node in Workflows |
🚫 [EkLine] reported by reviewdog 🐶
Must put the ending punctuation at the end of a list item. (EK00041)
1. Add the "Talk To Agent" node to your workflow |
🚫 [EkLine] reported by reviewdog 🐶
Must put the ending punctuation at the end of a list item. (EK00041)
2. Configure it with your agent ID |
🚫 [EkLine] reported by reviewdog 🐶
Must put the ending punctuation at the end of a list item. (EK00041)
3. Connect it to response nodes to process the agent's output |
🚫 [EkLine] reported by reviewdog 🐶
Must put the ending punctuation at the end of a list item. (EK00041)
4. The async API is used automatically by the workflow engine |
🚫 [EkLine] reported by reviewdog 🐶
Must put the ending punctuation at the end of a list item. (EK00041)
- One to trigger the agent asynchronously |
🚫 [EkLine] reported by reviewdog 🐶
Must put the ending punctuation at the end of a list item. (EK00041)
- One to handle agent response events |
Published docs preview URL: https://devrev-preview-234aa1fd-7b60-4a09-b4f6-9dcaa90b04f6.docs.buildwithfern.com |
Published docs preview URL: https://devrev-preview-b55d3640-b3aa-48be-8fcd-084ed0386528.docs.buildwithfern.com |
Published docs preview URL: https://devrev-preview-1cfea4fe-f469-4dbd-802c-2b51f3d77615.docs.buildwithfern.com |
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Published docs preview URL: https://devrev-preview-20dc8503-8968-42fb-ad2b-9ba4da622661.docs.buildwithfern.com |
…nto guide/agent-async
Published docs preview URL: https://devrev-preview-7543142d-a237-4ad6-9484-4e1f18e611cc.docs.buildwithfern.com |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LG
fern/docs/pages/interact-agent.mdx
Outdated
} | ||
``` | ||
|
||
### 3. Error Message |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Published docs preview URL: https://devrev-preview-48322b76-c3ae-4753-b0e1-0eb9a8b31b09.docs.buildwithfern.com |
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…nto guide/agent-async
Published docs preview URL: https://devrev-preview-9f43139e-54ac-40ec-b6e2-23425ae3f18a.docs.buildwithfern.com |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved with a couple superficial corrections.
@@ -0,0 +1,371 @@ | |||
This cookbook provides a step-by-step guide to use the asynchronous API for DevRev agents. It assumes you've already created an agent using the DevRev agent builder platform. | |||
|
|||
This DevRev async API enables you to execute agents without any execution timeout concerns. The execution occurs as an asynchronous workflow that sends events to you via webhooks. This approach ensures: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This DevRev async API enables you to execute agents without any execution timeout concerns. The execution occurs as an asynchronous workflow that sends events to you via webhooks. This approach ensures: | |
The DevRev async API enables you to execute agents without any execution timeout concerns. The execution occurs as an asynchronous workflow that sends events to you via webhooks. This approach ensures: |
In any unlikely and unforeseen circumstances, if an individual operation of the workflow times out, you do not receive an error event right now to notify that you should not wait for any more messages. It is better to have a client side timeout for now while the issue is brainstormed and fixed for you. | ||
</Callout> | ||
|
||
## Setting up webhook |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No gerunds in titles. https://www.notion.so/devrev/How-should-instructions-be-written-dac658b248d94db6a0c301079cffbbf5?pvs=4
## Setting up webhook | |
## Set up webhook |
across multiple calls. | ||
</Callout> | ||
|
||
## Handling webhook events |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
## Handling webhook events | |
## Handle webhook events |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved with a couple superficial corrections.
https://app.devrev.ai/devrev/works/ISS-154393