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

Implement Streamlit Integration #2083

Closed
wants to merge 11 commits into from

Conversation

berrytern
Copy link
Collaborator

Description:

This pull request implements Streamlit integration, enabling internal component interactions through various key functionalities:

  1. Chat Template: Modifies the Streamlit application layout to incorporate chat components, enhancing user interface flexibility and interaction.
  2. Send Chat Message: Allows sending messages programmatically to a Streamlit chat component, fostering real-time communication.
  3. Listen to Chat Message: Captures incoming messages within a Streamlit chat component, enabling dynamic and responsive interactions.
  4. Get Session Messages: Retrieves all messages from a designated Streamlit session, essential for comprehensive logging and analytical tasks.
  5. Get Last Session: Fetches the most recent active session of a Streamlit application, crucial for maintaining session continuity and effective management.

The implementation separates the Streamlit functionalities into a distinct Docker image (approximately 600 MB) built using multi-stage builds. We recommend reviewing this approach for potential implementation in the Langflow Dockerfile, for example. The solution is ready for use, and the components to interact with Streamlit are already available in the store.

Copy link

vercel bot commented Jun 5, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
langflow ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 8, 2024 5:45pm

@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. enhancement New feature or request labels Jun 5, 2024
@dosubot dosubot bot added size:XL This PR changes 500-999 lines, ignoring generated files. and removed size:L This PR changes 100-499 lines, ignoring generated files. labels Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request size:XL This PR changes 500-999 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants