An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

        

# slidespeak-backend

![slidespeak-banner-github](https://github.com/SlideSpeak/slidespeak-backend/assets/5519740/6dba254f-abdd-40fd-a647-59ec2b41e0fb)

[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 storage

The 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.