Add Custom Client example to the docs#435
Merged
Conversation
2 tasks
…on-on-how-to-create-a-custom-client-and-make-it-work-with-the-fastapi-provider
Codecov ReportAttention: Patch coverage is
|
| - Client sends tasks/questions | ||
| - Server processes request and sends the response | ||
| - Server sending workflow message to the client | ||
| - Client sending optional message to the server |
Contributor
There was a problem hiding this comment.
Client sending response to the server if required by received message
| - Server processes request and sends the response | ||
| - Server sending workflow message to the client | ||
| - Client sending optional message to the server | ||
| - Server processes request and sends the next workflow message |
Contributor
There was a problem hiding this comment.
Server processes sends the next workflow message
| - In a real-world scenario, you'd use a separate frontend built with a framework like React or Vue.js. | ||
| - The below example uses a **simple HTML with JavaScript**, all in a single string and served directly from the FastAgency FastAPI app for **simplicity**. | ||
| - This approach is **not suitable for production** but ideal for demonstrating core concepts. | ||
| - In a real-world scenario, you'd use a separate frontend built with a framework like **React or Vue.js**. |
Contributor
There was a problem hiding this comment.
you can also say that most other languages and frameworks could be using this, like go, java,..
…on-on-how-to-create-a-custom-client-and-make-it-work-with-the-fastapi-provider
…on-on-how-to-create-a-custom-client-and-make-it-work-with-the-fastapi-provider
davorinrusevljan
approved these changes
Oct 21, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #424
Type of change