prebuilt.podcast_generator.nodes

Attributes

Functions

Start_parallel(state)

No-op node that should be interrupted on.

finalize_report(state)

The is the "reduce" step where we gather all the sections, combine them, and reflect on them to write the intro/conclusion.

initiate_all_interviews(state)

This is the "map" step where we run each interview sub-graph using Send API.

write_conclusion(state)

Write Conclusion.

write_introduction(state)

Write Introduction.

write_report(state)

Write Report.

Module Contents

prebuilt.podcast_generator.nodes.Start_parallel(state)

No-op node that should be interrupted on.

prebuilt.podcast_generator.nodes.finalize_report(state: haive.prebuilt.podcast_generator.state.PodcastGeneratorState)

The is the “reduce” step where we gather all the sections, combine them, and reflect on them to write the intro/conclusion.

prebuilt.podcast_generator.nodes.initiate_all_interviews(state: haive.prebuilt.podcast_generator.state.PodcastGeneratorState)

This is the “map” step where we run each interview sub-graph using Send API.

prebuilt.podcast_generator.nodes.write_conclusion(state: haive.prebuilt.podcast_generator.state.PodcastGeneratorState)

Write Conclusion.

Parameters:

state – [TODO: Add description]

prebuilt.podcast_generator.nodes.write_introduction(state: haive.prebuilt.podcast_generator.state.PodcastGeneratorState)

Write Introduction.

Parameters:

state – [TODO: Add description]

prebuilt.podcast_generator.nodes.write_report(state: haive.prebuilt.podcast_generator.state.PodcastGeneratorState)

Write Report.

Parameters:

state – [TODO: Add description]

prebuilt.podcast_generator.nodes.podcast_model = None