Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Classics2StoryBookGenerator using AutoGen #3

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

ismailsimsek
Copy link
Owner

@ismailsimsek ismailsimsek commented Apr 29, 2024

Use Autogen to retrieve PDF book and summarize to a given language and level.

AI story generator for language learners to experience the joy of classic stories in a language that supports their learning journey.

from classic_storiesv2 import Classics2StoryBookGenerator
generator = Classics2StoryBookGenerator(book="The Karamazov Brothers",
                                        author="Fyodor Dostoevsky",
                                        language="German",
                                        level="A2 Beginner",
                                        summary_size="10 Chapters, each chapter more than 100 sentences log",
                                        writing_style="Philosophical")
generator.generate()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant