Giter Site home page Giter Site logo

leonid20000 / odin-slides Goto Github PK

View Code? Open in Web Editor NEW
107.0 4.0 11.0 2.9 MB

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.

License: MIT License

Python 100.00%
generative-ai large-language-models powerpoint-automation presentation-tools productivity-tool productivity-tools slide-generator slides powerpoint pptx

odin-slides's People

Contributors

leonid20000 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

odin-slides's Issues

OpenAI-induced inconsistencies in Odin-Slides versions before 0.7

Issue:
If you're working with versions before 0.7, recent OpenAI updates have introduced certain prompt-response inconsistencies, leading to the occasional creation of empty presentations in Odin-Slides.

Fix:
This issue addresses a bug present in previous versions (versions before 0.7) where certain 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.

Improve Error Message for Invalid API Key

Issue Description:

Currently, when an invalid API key is provided in odin-slides, the error message displayed is not very informative. The message "Hmm, not sure what you want so I did not make any changes. Try differently: >" does not clearly indicate that the API key is invalid, potentially leading users to overlook this issue.

This issue was discovered while resolving Issue #3

Suggested Solution:

To enhance the user experience and facilitate troubleshooting, it is recommended to improve the error message for invalid API keys. The enhanced error message should explicitly state that the provided API key is invalid and prompt the user to check and update it.

Expected Behavior:

When an invalid API key is detected, odin-slides should display an error message similar to the following:

"Error: Invalid API key. Please check and update your API key."

This informative error message will help users quickly identify and resolve issues related to invalid API keys, ensuring a smoother user experience.

Implementing an improved error message for invalid API keys will significantly enhance the usability of the odin-slides.

Error running in Ubuntu 22 and CentOS system

Hi,

Thanks for the wonderful tool! May I ask if you tried the tool in Linux system? It is because when I tried both in Ubuntu and CentOS, it points out the following messages in the debug_log.txt:

2023-12-08 23:47:50,562 - DEBUG - 30
2023-12-08 23:47:50,566 - ERROR - An unexpected error occurred while loading the presentation: Package not found at 'demo.pptx'
2023-12-08 23:47:56,324 - ERROR - An unexpected error occurred: 'usage'
2023-12-08 23:47:56,328 - DEBUG - None
2023-12-08 23:47:56,329 - DEBUG - Not neccessarily an error but Invalid JSON string
2023-12-08 23:47:56,329 - DEBUG - the JSON object must be str, bytes or bytearray, not NoneType

The prompt will return "Hmm, not sure what you want so I did not make any changes. Try differently: >" and no output PPT can be generated.

May I ask if you have any idea about this issue?

Best regards,
Weibo

Using existing pptx as a reference

Hi Leonid!

Thank you for your work here, your package is working very fast and smoothly.

Correct me if I am wrong but I realized you can only resume from a saved session if it has been already processed beforehand.
After manually modifying the presentation which was produced with odin-slides, the changes I had made were not taken into account in the next iterations.

Would it be possible to use an existing external PPTX as a starting point without deleting slides?

how to set the openai api key ?

Hello, I created a .env file at the root folder and added ny ODIN_SLIDES_LLM_API_KEY but I still have an error saying that the API Key is not found.
Because I run that program on windows, I also tried to set it up as an environment varibale directly into the windows system, but it's not working neither.

How should I proceed ?

Thanks in advance,

Damien

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.