LangSphere is an interactive AI playground designed to showcase the capabilities of various large language models (LLMs). It's your one-stop destination for exploring different features beyond typical ChatGPT interactions. Whether you want to analyze PDFs, dive into CSV data, or track statistics, LangSphere has you covered!
LangSphere offers the following features:
- Interactive Learning Tool: Explore a variety of AI features, including PDF analysis, data insights, and COVID-19 tracking.
- AskPDF: Upload and analyze PDFs, ask questions, and get answers. Perfect for clarifying assignment requirements or understanding complex documents.
- DataLens: Analyze CSV data and gain insights. Uncover hidden patterns and trends in your datasets effortlessly.
- VizTrackr: Upcoming Feature
To run LangSphere locally, follow these steps:
- Clone this repository:
- Navigate to the project directory:
cd langsphere
- Install the required dependencies:
pip install -r requirements.txt
- Create a
.env
file in the project root and add your API keys. You need API keys for services like OpenAI or Hugging Face. Here's an example of what the .env file might look like:
OPENAI_API_KEY=your_openai_api_key_here
HUGGING_FACE_API_KEY=your_hugging_face_api_key_here
- Run the Streamlit app:
streamlit run Home.py