Metadata-Version: 2.1
Name: streamlit-openai
Version: 0.0.2
Summary: Build AI chatbots with Streamlit and OpenAI's API
Home-page: https://github.com/sbslee/streamlit-openai
Author: Seung-been "Steven" Lee
Author-email: sbstevenlee@gmail.com
License: MIT
Description: # streamlit-openai
        
        ## Installation
        
        ```
        $ pip install streamlit-openai
        ```
        
        ## Usage
        
        Save the following code to `app.py`:
        
        ```
        import streamlit as st
        import streamlit_openai as so
        
        if "chat" not in st.session_state:
            # Use Chat Completions API
            st.session_state.chat = so.utils.BasicChat()
        
            # Alternatively, use Assistants API
            # st.session_state.chat = so.utils.AssistantChat()
        
        st.session_state.chat.start()
        ```
        
        Run the app:
        
        ```
        $ streamlit run app.py
        ```
Platform: UNKNOWN
Description-Content-Type: text/markdown
