Skip to content

lakshay405/local-llm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

local-llm

Streamlit OpenAI Server App This Streamlit application interacts with an OpenAI server using the instructor library for enhanced functionality and integrates with stock data retrieval.

Features OpenAI Integration: Utilizes the OpenAI API for natural language processing and model completions. Stock Data Retrieval: Fetches stock prices based on user input using a custom get_stock_prices function. Streamlit Interface: Provides a user-friendly interface for interacting with the OpenAI models and displaying results. Requirements Python 3.6+ OpenAI (openai library) anthropic streamlit instructor pydantic stock_data (assuming this is a custom module or function for fetching stock prices) Setup and Installation Clone the repository: git clone https://github.com/yourusername/streamlit-openai-app.git cd streamlit-openai-app Install the required libraries: pip install -r requirements.txt Usage Launch the Streamlit app by running streamlit run app.py. Enter a prompt in the chat input field and hit enter to see responses from the OpenAI model. The app integrates with a custom function to fetch stock prices based on the model's response. Results are displayed dynamically in the Streamlit app interface. File Structure app.py: Main script containing the Streamlit application and integration with OpenAI and stock data. requirements.txt: List of Python dependencies. stock_data.py: Custom module for fetching stock prices (get_stock_prices function assumed).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages