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

4.1.0 toolexecutor | Conversational Agent w/ Tavily Search & Retriever #84

Merged
merged 22 commits into from
Apr 14, 2024

Conversation

Daethyra
Copy link
Owner

@Daethyra Daethyra commented Apr 6, 2024

  • renamed Chatbot page to Curie
  • added new page: Tavily Search Agent named InfoNexus
    • i intend to make this a conversational chatbot in the future
  • updated the home page's information, moved some info into expanders, clarified some of the content

… 4.1.0

Added langgraph as a new dependency with version 0.0.31 in pyproject.toml under [tool.poetry] section. This change is necessary to incorporate the latest features and improvements provided by the langgraph library into the FreeStream project.
…te`s

moved the footer call and included expanders for RAGbot and Chatbot sections. Also updated the Chatbot prompt from `st.write` to `st.markdown`. Additionally, introduced information about the Tool Executor and its operational workflow.
…ngGraph

Added a new page "Tool Executor" to the FreeStream application, giving users their first agent executor and demonstrate cyclical workflows for LLMs. The page includes functionality to configure retrievers, instantiate tools, call models, execute tools, and define conditional edges for workflow navigation.
Added numexpr "^2.10.0" to the project dependencies in pyproject.toml. This library is required for efficient numerical expression evaluation and will be used in upcoming performance optimizations.
…ncies

Added langchainhub and tavily-python to the dev dependencies section in pyproject.toml to support additional functionality required for development processes. Langchainhub version is set to ^0.1.15, while tavily-python is set to ^0.3.3.
- Updated the page icon to a wrench emoji.
- Added a file upload button to the sidebar for documentation upload.
- Implemented a temperature slider in the sidebar for adjusting model randomness.
- Adjusted the toolbox based on file upload presence.
- Integrated chat history display and user input field with assistant response.

Explanatory body:
This commit updates the UI and functionality of the Tool Executor page in the FreeStream application. It includes changes such as updating the page icon, adding a file upload button to the sidebar, implementing a temperature slider for adjusting model randomness, adjusting the toolbox based on file upload presence, and integrating chat history display with user input field and assistant response. These changes aim to enhance user experience and provide more interactive features on the Tool Executor page.
Added StreamHandler and footer to the Tool Executor page for consistent UI elements and improved user experience.
…e handling

- Added memory setup for contextual conversation in the chat history.
- Refactored assistant response handling to work with the node printing process
    - Results are less than satisfactory, but the code works.
- https://github.com/langchain-ai/streamlit-agent/blob/main/streamlit_agent/mrkl_demo.py

Integrate StreamlitCallbackHandler to enable real-time chat interaction with the assistant. This change allows users to engage in conversations and receive immediate responses within the application interface.
@Daethyra Daethyra self-assigned this Apr 6, 2024
@Daethyra Daethyra added the enhancement New feature or request label Apr 6, 2024
Added a placeholder and divider to the Tool Executor page in order to enhance the visual layout and provide a clearer structure for the content. This change aims to improve user experience and maintain consistency across the application's pages.
Enabling the streaming feature for both ChatOpenAI and OpenAI models in order to support real-time interactions and continuous data processing. This change allows for seamless integration of streaming capabilities within the application, enhancing user experience and expanding functionality.
Refactored the Tool Executor to enhance the output display by adding expandable sections for each node's output. This change provides a more organized and user-friendly interface, allowing users to easily navigate through the tool's results.
Changed the project description in pyproject.toml from "An effort to give easy access to generative AI." to "Free AI Assistants." This update better reflects the project's focus and purpose.
- Updated the file upload button in the UI to support additional file types and provide guidance on file size considerations.
- Now accepts multiple files for upload, improving user experience and flexibility.
…eamlit version in pyproject.toml and poetry.lock

Renamed Chatbot to Curie and Tool_Executor to InfoNexus, updated page titles, icons, and content. Added LangSmith tracing initialization and environment variables. Modified the structure of the chatbot and tool executor pages, including changes in text and expanders. Updated dependencies: streamlit to 1.33.0.
@Daethyra Daethyra marked this pull request as ready for review April 14, 2024 04:06
@Daethyra Daethyra merged commit c0165f8 into streamlit Apr 14, 2024
3 checks passed
@Daethyra Daethyra deleted the 4.1.0-toolexecutor branch April 14, 2024 05:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant