Update adapters docs#422
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
|
| The FastAgency FastAPI App forms the backend of our system and consists of: | ||
|
|
||
| - **AutoGen Workflows**: These define the core logic and behavior of our application, utilizing agents to perform various tasks and achieve specific goals. | ||
| - **FastAPI Adapter**: This component receives requests from the FastAPI Provider and executes the corresponding AutoGen workflows. |
There was a problem hiding this comment.
I would probably say something like this:
Communicates with autogen, and implents routes and websocket for FastAPI
There was a problem hiding this comment.
Content is updated accordingly
| - **FastAPI**: Provides the infrastructure for building and exposing AutoGen workflows via REST API. | ||
|
|
||
| ### Interaction Flow | ||
|
|
There was a problem hiding this comment.
I am not sure, but maybe this is too detailed information. Lets see how others feel about it.
|
|
||
| The following diagram illustrates the high-level architecture of an application using the **FastAPI Adapter with Mesop UI** as its frontend: | ||
|
|
||
|  |
There was a problem hiding this comment.
maybe in the diagram, we could beside Mesop draw an "Custom application", so that we show that Mesop client is not mandatory for this setup
There was a problem hiding this comment.
I have updated the images and the content to reflect the same
| The FastAgency FastAPI App forms the backend of our system and consists of: | ||
|
|
||
| - **Nats Provider**: Responsible for connecting to the Nats Provider, receiving workflow initiation messages, and distributing them to the workers for execution. | ||
| - **FastAPI Adapter**: This component receives requests from the FastAPI Provider and interacts with the Nats Provider for workflow initiation and result retrieval. |
There was a problem hiding this comment.
I would probably say something like this:
Communicates with NatsProvider, and implents routes and websocket for FastAPI
There was a problem hiding this comment.
Content is updated accordingly
| The FastAgency Nats App forms the backend of the system and consists of: | ||
|
|
||
| - **AutoGen Workflows**: The workflows defined using the AutoGen framework. They are executed by the workers in the Nats Adapter. | ||
| - **Nats Adapter**: Responsible for connecting to the Nats Provider, receiving workflow initiation messages, and distributing them to the workers for execution. |
There was a problem hiding this comment.
Communicates with Autogen, and makes workflow messages available on corresponding Nats topics.
There was a problem hiding this comment.
Content is updated accordingly
Description
Fixes #410
Type of change