prebuilt.startup.pitchdeck.agent¶

Pitch deck generation subgraph for creating compelling pitch decks.

This subgraph handles the creation of pitch deck outlines, slide content, and deck refinement.

Classes¶

PitchDeckState

State for pitch deck generation subgraph.

Functions¶

apply_feedback_node(state)

Apply review feedback to improve the deck.

build_pitch_deck_subgraph()

Build the pitch deck generation subgraph.

create_deck_outline_node(state)

Create the pitch deck outline.

create_narrative_node(state)

Create compelling narrative for the pitch.

determine_next_step(state)

Determine next step in pitch deck creation.

generate_slide_content_node(state)

Generate content for the next slide.

review_pitch_deck_node(state)

Review the complete pitch deck.

Module Contents¶

class prebuilt.startup.pitchdeck.agent.PitchDeckState(/, **data)¶

Bases: haive.core.schema.state_schema.StateSchema

State for pitch deck generation subgraph.

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

Parameters:

data (Any)

prebuilt.startup.pitchdeck.agent.apply_feedback_node(state)¶

Apply review feedback to improve the deck.

Parameters:

state (PitchDeckState)

Return type:

dict[str, Any]

prebuilt.startup.pitchdeck.agent.build_pitch_deck_subgraph()¶

Build the pitch deck generation subgraph.

Return type:

langgraph.graph.StateGraph

prebuilt.startup.pitchdeck.agent.create_deck_outline_node(state)¶

Create the pitch deck outline.

Parameters:

state (PitchDeckState)

Return type:

dict[str, Any]

prebuilt.startup.pitchdeck.agent.create_narrative_node(state)¶

Create compelling narrative for the pitch.

Parameters:

state (PitchDeckState)

Return type:

dict[str, Any]

prebuilt.startup.pitchdeck.agent.determine_next_step(state)¶

Determine next step in pitch deck creation.

Parameters:

state (PitchDeckState)

Return type:

str

prebuilt.startup.pitchdeck.agent.generate_slide_content_node(state)¶

Generate content for the next slide.

Parameters:

state (PitchDeckState)

Return type:

dict[str, Any]

prebuilt.startup.pitchdeck.agent.review_pitch_deck_node(state)¶

Review the complete pitch deck.

Parameters:

state (PitchDeckState)

Return type:

dict[str, Any]