Skip to content
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

Add an example for FastAPI integration with UI modifications #144

Open
MA3CIN opened this issue Sep 18, 2024 · 2 comments
Open

Add an example for FastAPI integration with UI modifications #144

MA3CIN opened this issue Sep 18, 2024 · 2 comments

Comments

@MA3CIN
Copy link

MA3CIN commented Sep 18, 2024

I'm trying to modify the chainlit UI (send a message from the agent) via a FastAPI endpoint, and am running into some issues (described here: Chainlit/chainlit#1356). The documentation is very sparse (https://docs.chainlit.io/integrations/fastapi) and doesn't include a single example with any chainlit functionality.

The cookbook also doesn't contain a FastAPI example that modifies the UI (as in displays a new message)

Documentation is also extremely sparse on init_http_context(), which seems to be the key here with FastAPI integration

Can i get a minimal working example?

@MA3CIN
Copy link
Author

MA3CIN commented Sep 20, 2024

Bump

@nethi
Copy link

nethi commented Sep 22, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants