{"repo":"sbslee/streamlit-openai","free":true,"listed":false,"github":"https://github.com/sbslee/streamlit-openai","clone":"git clone https://github.com/sbslee/streamlit-openai.git","description":"Build AI chatbots with Streamlit and OpenAI","language":"Python","stars":20,"topics":["openai","streamlit","function-calling","file-search","chat","code-interpreter","vision","responses-api","image-generation","remote-mcp"],"license":"MIT","category":"chat-messaging","readme_excerpt":"Welcome to the streamlit-openai package! This package provides a Streamlit component for building interactive chat interfaces powered by OpenAI. Here’s a quick overview of the package’s key features: - Easily create chat interfaces in Streamlit - Real-time streaming responses using the Responses API - Integration with OpenAI tools: reasoning, function calling, remote MCP, file search, code interpreter, vision, image generation, web search, and more - File input support for richer interactions - Fully customizable chat interface, including model selection, temperature settings, and more - Support for saving and retrieving chat history Table of Contents - Installation - Usage - Schematic Diagram - Features - Function Calling - Image Generation Example - Web Search Example - Audio Transcription Example - Reasoning - Remote MCP - File Inputs - Message Attachments - Static File Upload - File Uploader Widget - Vision - Image Generation - File Search - PDF Vision Support - Vector Store Retrieval - Web Search - Code Interpreter - Chat History - Chat Summary - Token Usage - Storage Management - Customization - Model Selection - Temperature - Instructions - Avatar Image - Welcome Message - Example Messages - Info Message - Input Box Placeholder - Chat Completions and Assistants APIs - Changelog Installation Usage Export your OpenAI API key: Save the following code to app.py : Run the app: Schematic Diagram The diagram below illustrates the Section and Block classes used to create a cha","default_branch":null,"files":null,"tree":[],"storefront":"/r/sbslee","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/sbslee/streamlit-openai/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}