-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Working version with text input path
- Loading branch information
1 parent
579ab21
commit 2e6ef38
Showing
31 changed files
with
10,714 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"python.analysis.extraPaths": [ | ||
"./src/crewai_notebooklm_clone" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
[ | ||
{ | ||
"speaker": "Giggles", | ||
"text": "Wow, Giggles! Today we're diving into the fascinating world of black holes!" | ||
}, | ||
{ | ||
"speaker": "Chuckles", | ||
"text": "I know, Chuckles! I've always been curious about these cosmic phenomena. Let's start with the basics." | ||
}, | ||
{ | ||
"speaker": "Giggles", | ||
"text": "So, I heard that black holes are actually pretty common in the universe. Is that true?" | ||
}, | ||
{ | ||
"speaker": "Chuckles", | ||
"text": "Yeah, that's right. Astrophysicists believe that giant black holes are at the center of almost every large galaxy. And we're not just talking about a few, we're talking about billions of galaxies, each with millions of stellar-sized black holes." | ||
}, | ||
{ | ||
"speaker": "Giggles", | ||
"text": "Whoa, that's mind-blowing! So, what's the estimated total number of black holes out there?" | ||
}, | ||
{ | ||
"speaker": "Chuckles", | ||
"text": "Well, according to estimates, there are over 200 billion galaxies, each with about 100 million stellar-sized black holes. That adds up to..." | ||
}, | ||
{ | ||
"speaker": "Giggles", | ||
"text": "Wait, let me guess... a really big number?" | ||
}, | ||
{ | ||
"speaker": "Chuckles", | ||
"text": "Ha! Yeah, you could say that. The estimated total number of black holes is on the order of 10^19, or 10 billion billion." | ||
}, | ||
{ | ||
"speaker": "Giggles", | ||
"text": "10 billion billion?! That's a number that's hard to even wrap your head around. What's the significance of that number, Chuckles?" | ||
}, | ||
{ | ||
"speaker": "Chuckles", | ||
"text": "Well, it just goes to show how ubiquitous black holes are in the universe. And it's not just about the number, it's also about their role in shaping the universe as we know it." | ||
}, | ||
{ | ||
"speaker": "Giggles", | ||
"text": "That's so cool. And I heard that in the distant future, black holes will be all that's left. Is that true?" | ||
}, | ||
{ | ||
"speaker": "Chuckles", | ||
"text": "Yeah, that's right. According to an analysis by astrophysicists Fred Adams and Gregory Laughlin, in about 40 billion years, the universe will be a very different place, and black holes will be the only stellar-like objects remaining." | ||
}, | ||
{ | ||
"speaker": "Giggles", | ||
"text": "Wow, that's a pretty sobering thought. But also kind of fascinating. I mean, can you imagine a universe where the only things left are black holes?" | ||
}, | ||
{ | ||
"speaker": "Chuckles", | ||
"text": "It's definitely a thought-provoking idea. And it just goes to show how much we still have to learn about the universe and its many mysteries." | ||
}, | ||
{ | ||
"speaker": "Giggles", | ||
"text": "Absolutely. Well, I think we've just scratched the surface of this fascinating topic. Thanks for joining me on this journey into the world of black holes, Chuckles!" | ||
}, | ||
{ | ||
"speaker": "Chuckles", | ||
"text": "My pleasure, Giggles. It's always fun to explore the unknown with you." | ||
} | ||
] |
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
[tool.poetry] | ||
name = "crewai_notebooklm_clone" | ||
version = "0.1.0" | ||
description = "crewai-notebooklm-clone using crewAI" | ||
authors = ["Your Name <[email protected]>"] | ||
|
||
[tool.poetry.dependencies] | ||
python = ">=3.10,<=3.13" | ||
crewai = { extras = ["tools"], version = ">=0.70.1,<1.0.0" } | ||
|
||
|
||
[tool.poetry.scripts] | ||
crewai_notebooklm_clone = "crewai_notebooklm_clone.main:run" | ||
run_crew = "crewai_notebooklm_clone.main:run" | ||
train = "crewai_notebooklm_clone.main:train" | ||
replay = "crewai_notebooklm_clone.main:replay" | ||
test = "crewai_notebooklm_clone.main:test" | ||
|
||
[build-system] | ||
requires = ["poetry-core"] | ||
build-backend = "poetry.core.masonry.api" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,24 @@ | ||
[tool.poetry] | ||
[project] | ||
name = "crewai_notebooklm_clone" | ||
version = "0.1.0" | ||
description = "crewai-notebooklm-clone using crewAI" | ||
authors = ["Your Name <[email protected]>"] | ||
authors = [ | ||
{ name = "Your Name", email = "[email protected]" }, | ||
] | ||
requires-python = ">=3.10,<=3.13" | ||
dependencies = [ | ||
"crewai[tools]>=0.70.1,<1.0.0", | ||
] | ||
|
||
[tool.poetry.dependencies] | ||
python = ">=3.10,<=3.13" | ||
crewai = { extras = ["tools"], version = ">=0.70.1,<1.0.0" } | ||
|
||
|
||
[tool.poetry.scripts] | ||
[project.scripts] | ||
crewai_notebooklm_clone = "crewai_notebooklm_clone.main:run" | ||
run_crew = "crewai_notebooklm_clone.main:run" | ||
train = "crewai_notebooklm_clone.main:train" | ||
replay = "crewai_notebooklm_clone.main:replay" | ||
test = "crewai_notebooklm_clone.main:test" | ||
|
||
[build-system] | ||
requires = ["poetry-core"] | ||
build-backend = "poetry.core.masonry.api" | ||
requires = [ | ||
"hatchling", | ||
] | ||
build-backend = "hatchling.build" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,25 @@ | ||
researcher: | ||
summarizer_and_conversational_script_writer: | ||
role: > | ||
{topic} Senior Data Researcher | ||
Senior Content Summarizer | ||
goal: > | ||
Uncover cutting-edge developments in {topic} | ||
Summarize the user provided {content} and create a two-speaker conversational script for a podcast. | ||
backstory: > | ||
You're a seasoned researcher with a knack for uncovering the latest | ||
developments in {topic}. Known for your ability to find the most relevant | ||
information and present it in a clear and concise manner. | ||
An expert at distilling long texts into easy-to-understand summaries and | ||
creating two-speaker (Giggles and Chuckles) conversational scripts for a podcast. | ||
reporting_analyst: | ||
audio_producer: | ||
role: > | ||
{topic} Reporting Analyst | ||
Audio Producer | ||
goal: > | ||
Create detailed reports based on {topic} data analysis and research findings | ||
Convert the JSON conversational script into podcast audio. | ||
backstory: > | ||
You're a meticulous analyst with a keen eye for detail. You're known for | ||
your ability to turn complex data into clear and concise reports, making | ||
it easy for others to understand and act on the information you provide. | ||
A seasoned audio producer who brings scripts to life with natural-sounding voices. | ||
podcast_audio_producer: | ||
role: > | ||
Podcast Audio Producer | ||
goal: > | ||
Merge the audio files into a single podcast file. | ||
backstory: > | ||
A seasoned audio producer who brings scripts to life with natural-sounding voices. | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,20 @@ | ||
research_task: | ||
summarizer_and_conversational_script_writer_task: | ||
description: > | ||
Conduct a thorough research about {topic} | ||
Make sure you find any interesting and relevant information given | ||
the current year is 2024. | ||
Summarize the content into key points suitable for conversational podcast dialogue. | ||
expected_output: > | ||
A list with 10 bullet points of the most relevant information about {topic} | ||
agent: researcher | ||
A conversational script between two podcast hosts (Giggles and Chuckles) in JSON format. | ||
agent: summarizer_and_conversational_script_writer | ||
|
||
reporting_task: | ||
audio_producer_task: | ||
description: > | ||
Review the context you got and expand each topic into a full section for a report. | ||
Make sure the report is detailed and contains any and all relevant information. | ||
Generate audio using the script. | ||
expected_output: > | ||
A fully fledge reports with the mains topics, each with a full section of information. | ||
Formatted as markdown without '```' | ||
agent: reporting_analyst | ||
Audio files in MP3 format for each of the two speakers (Chuckles and Giggles). | ||
agent: audio_producer | ||
|
||
podcast_audio_producer_task: | ||
description: > | ||
Merge the audio files into a single podcast file. | ||
expected_output: > | ||
An audio file in MP3 format. | ||
agent: podcast_audio_producer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.