Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/leonid20000/odin-slides
This is an advanced Python tool that empowers you to effortlessly draft customizable PowerPoint slides using the Generative Pre-trained Transformer (GPT) of your choice. Leveraging the capabilities of Large Language Models (LLM), odin-slides enables you to turn the lengthiest Word documents into well organized presentations.
https://github.com/leonid20000/odin-slides
ai-assistant chatgpt-api generative-ai hacktoberfest large-language-models machine-learning natural-language-processing openai-api portfolio powerpoint powerpoint-automation pptx presentation-tools productivity-tool productivity-tools prompt-engineering rag slide-generator slides writing-tool
Last synced: 6 days ago
JSON representation
This is an advanced Python tool that empowers you to effortlessly draft customizable PowerPoint slides using the Generative Pre-trained Transformer (GPT) of your choice. Leveraging the capabilities of Large Language Models (LLM), odin-slides enables you to turn the lengthiest Word documents into well organized presentations.
- Host: GitHub
- URL: https://github.com/leonid20000/odin-slides
- Owner: leonid20000
- License: mit
- Created: 2023-08-05T10:23:58.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-29T15:07:53.000Z (11 months ago)
- Last Synced: 2025-01-09T14:32:47.125Z (13 days ago)
- Topics: ai-assistant, chatgpt-api, generative-ai, hacktoberfest, large-language-models, machine-learning, natural-language-processing, openai-api, portfolio, powerpoint, powerpoint-automation, pptx, presentation-tools, productivity-tool, productivity-tools, prompt-engineering, rag, slide-generator, slides, writing-tool
- Language: Python
- Homepage:
- Size: 2.83 MB
- Stars: 122
- Watchers: 4
- Forks: 15
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Citation: CITATION.cff
Awesome Lists containing this project
README
# odin-slides
**odin-slides** is an advanced Python tool that empowers you to effortlessly draft impressive PowerPoint presentations. Leveraging the capabilities of Large Language Models (LLM), odin-slides enables content summarization, slide generation, and seamless presentation creation or updating based on user input and a chosen template. Whether you're preparing a business pitch, a conference presentation, or a classroom lecture, odin-slides simplifies the process and saves you valuable time.
This project is dedicated to the memory of Dennis Austin, the software developer of PowerPoint.
[![Documentation Status](https://readthedocs.org/projects/odin-slides/badge/?version=latest)](https://odin-slides.readthedocs.io/en/latest/?badge=latest)
[![CodeQL](https://github.com/leonid20000/odin-slides/actions/workflows/codeql.yml/badge.svg)](https://github.com/leonid20000/odin-slides/actions/workflows/codeql.yml)
![PyPI - Downloads](https://img.shields.io/pypi/dm/odin-slides?link=https%3A%2F%2Fshields.io%2Fbadges%2Fpy-pi-downloads)## Demo Video
Experience the power of odin-slides in action with an engaging demo. Click the play button below to witness how this useful Python tool, driven by LLMs, effortlessly streamlines presentation creation and saves you valuable time:
[![odin-slides Demo Video](https://img.youtube.com/vi/s7ezOqQjMGA/0.jpg)](https://www.youtube.com/watch?v=s7ezOqQjMGA)
## Wiki Page
Visit the [wiki page](https://github.com/leonid20000/odin-slides/wiki) to see short gifs demonstrating the latest features and updates of odin-slides, including automated summarization of large Word documents, effortless presentation creation, and customization with custom placeholders.
## Latest Updates
### Version 0.9 (February 27, 2024)
- Deprecated the usage of `gpt-3.5-turbo-16k` in favor of defaulting to `gpt-3.5-turbo` with a 16k context window. This change enhances the overall performance and efficiency of the tool.
- Strengthened the support for placeholder-based inline PowerPoint file revisions, providing users with enhanced flexibility over their presentation revision. Check out the [Quick GIF Demo on Placeholder Usage](https://github.com/leonid20000/odin-slides/wiki/GPT-Fill%E2%80%90in%E2%80%90the%E2%80%90Blanks:-A-Placeholder-PowerPlay-for-Your-Slides) for more details.
### Version 0.7 (November 19, 2023)
- This update fixes a bug present in previous versions (versions before 0.7) where certain OpenAI prompt-response inconsistencies resulted in the creation of empty presentations. Additionally, the update enhances the handling of potential future inconsistencies, ensuring a more reliable and stable user experience.
### Version 0.6 (September 27, 2023)
- Added a new feature that allows odin-slides to adopt manual modifications done by the user to the pptx text. This includes manually modified text in the title or the content of the slides.
## Table of Contents
- [Features](#features)
- [Installation](#installation)
- [Installing via Distribution Package](#installing-via-distribution-package)
- [Installing from the Git Repository](#installing-from-the-git-repository)
- [Development Installation](#development-installation)
- [Usage](#usage)
- [Examples](#examples)
- [Supported File Types](#supported-file-types)
- [Contributions](#contributions)
- [License](#license)
- [Acknowledgments and Credits](#acknowledgments-and-credits)
- [Contact](#contact)## Features
- **Smart Presentation Creation:** Easily create new PowerPoint presentations or update existing ones with odin-slides' user-friendly command-line interface. Simply provide a template and let odin-slides handle the rest.
- **Input-Driven Presentation Generation:** Leverage the power of odin-slides to effortlessly transform Microsoft Word (docx) files into captivating presentations. This intelligent tool expertly distills extensive Word documents, converting input into impactful and concise slides. (Keep an eye out for forthcoming updates that will enhance compatibility, adding support for file formats like LaTeX and PDF.)
- **Customizable Language Models:** odin-slides supports different language models, with OpenAI GPT-3.5 Turbo as the initial model. You have the flexibility to choose the language model that best fits your presentation needs.
- **Automatic Template Loading:** Specify your desired PowerPoint file as a template, and odin-slides will automatically load its layout theme. No need to manually configure the template every time you create a new presentation.
- **Session Resumption:** Save your presentation creation sessions and resume them later, so you can work at your own pace. odin-slides keeps track of your progress and allows you to pick up right where you left off.
- **Extensibility:** odin-slides is designed to support additional Language Models and file types in future updates. Stay tuned for enhanced functionality and new features.
## Installation
### Installing via Distribution Package
To install odin-slides from a distribution package, utilize the provided pip command:
```bash
pip install odin-slides
```This command will retrieve and install the odin-slides package from the Python Package Index (PyPI).
### Installing from the Git Repository
To use the latest version of odin-slides directly from the Git repository, follow these simple steps:
1. Install odin-slides as a command-line tool using pip:
```bash
pip install git+https://github.com/leonid20000/odin-slides.git
```### Development Installation
To install odin-slides in development mode (editable mode) and contribute to its development, follow these steps:
1. Clone the odin-slides repository to your local machine.
```bash
git clone https://github.com/leonid20000/odin-slides.git
```2. Change into the following directory.
```bash
cd odin_slides
```3. Install the required dependencies.
```bash
pip install -r requirements.txt
```4. Install odin-slides in development mode.
```bash
pip install -e .
```Now you can make changes to the odin-slides codebase, and the changes will be immediately reflected when you run the odin-slides command-line tool.
## Usage
Before running `odin-slides`, you need to ensure that you have set your OpenAI API key as an environment variable named `ODIN_SLIDES_LLM_API_KEY`. This API key is required for the application to communicate with the OpenAI services.
> **Notice:** Make sure that you put usage limits on the keys that you create and regularly rotate your keys. This helps ensure the security of your API access and prevents misuse.
Once you have set the API key, you can execute the following command in your terminal:
```bash
odin-slides -t -o [-i ] [-s ]
`````: Path to an existing PowerPoint file to copy the layout theme from.
``: Desired output file name for the presentation (without the extension).
`` (optional): Path to an input Word document to create the presentation based on. Large Word documents will be automatically summarized for presentation purposes.
`` (optional): Path to a previously saved session file to resume.
Note: For input files larger than 5000 words, odin-slides automatically summarizes them for presentation purposes. You can also resume sessions to continue your presentation creation journey.
## Examples
- Create a new presentation from scratch:
```bash
odin-slides -t /path/to/template.pptx -o my_presentation
```- Resume a session and continue working on a presentation:
```bash
odin-slides -t /path/to/template.pptx -o my_presentation -s /path/to/my_presentation_session.pkl
```- Generate a presentation from an existing Word document:
```bash
odin-slides -t /path/to/template.pptx -o my_presentation -i /path/to/input.docx
```## Supported File Types
odin-slides currently supports the following file types for input documents:
- Microsoft Word (docx): Easily generate presentations from your existing Word documents. Even large Word documents are automatically summarized for concise and effective presentation creation. (Note: Other file types such as LaTeX and PDF will be supported in future updates.)
## Contributions
Contributions to odin-slides are welcome! If you find any issues, have suggestions for improvements, or would like to contribute in any way, please feel free to open an issue or submit a pull request.
## Acknowledgments and Credits
This project was created by Dr. Leonit Zeynalvand and offered under the MIT License.
## Light Up the Night
**odin-slides** is an open-source labour of love, a weekend project embracing the power of community. Consider giving it a star 🌟, if you think it deserves one. Your star helps acknowledge the collective effort behind this project and motivates further improvements.
Thank you for being a part of our open source community! 🌟