https://github.com/slidespeak/slidespeak-backend
Backend for SlideSpeak. Create PowerPoints with AI. Get summaries, ask questions, create presentations and more.
https://github.com/slidespeak/slidespeak-backend
chatgpt langchain llama-index llm mongodb pinecone python
Last synced: about 2 months ago
JSON representation
Backend for SlideSpeak. Create PowerPoints with AI. Get summaries, ask questions, create presentations and more.
- Host: GitHub
- URL: https://github.com/slidespeak/slidespeak-backend
- Owner: SlideSpeak
- Created: 2023-07-24T14:45:39.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-12-06T17:24:49.000Z (6 months ago)
- Last Synced: 2024-12-06T18:31:06.800Z (6 months ago)
- Topics: chatgpt, langchain, llama-index, llm, mongodb, pinecone, python
- Language: Python
- Homepage: https://slidespeak.co
- Size: 39.1 KB
- Stars: 78
- Watchers: 3
- Forks: 11
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# slidespeak-backend

[SlideSpeak](https://slidespeak.co): The ultimate AI presentation maker. Summarize PowerPoint files with AI or create entire PowerPoint presentations. Upload your PowerPoint files and use SlideSpeak to get the information you need.
SlideSpeak was built with:
- [Llama Index](https://github.com/jerryjliu/llama_index) and uses the OpenAI [GPT 3.5 Turbo](https://platform.openai.com/docs/models/gpt-3-5) Mobel
- [PineCone](https://www.pinecone.io/) as the primary vector storage
- [MongoDB](https://mongodb.com/) as the Index Store and Document Store
- AWS S3 as the blob file storageThe frontend for this project is available here: [https://github.com/SlideSpeak/slidespeak-webapp](https://github.com/SlideSpeak/slidespeak-webapp)
## Requirements
- Python3
- Pinecone
- MongoDB
- S3 with AWS credentials
- OpenAI API credentials## Installation
- Create a virtual env: `python3 -m venv env`
- Activate the virtual env: `source env/bin/activate`
- Install all dependencies `python3 -m pip install -r requirements.txt`
- Enable python cerificate: `sudo /Applications/Python[VERSION]/Certificates.command`
- Install unoconv: `brew install unoconv`
- Install libreoffice via `https://libreoffice.org/download/`
- Create `.env` and set all environment variables (see `.env.example`)## Setup
_Please note:_ Both the index server and the flask backend need to run in parallel.
- Start index server `python3 index_server.py`
- Start Flask Backend `python3 flask_demo.py`## License
See LICENSE file.