evolving_ideas.app

evolving_ideas.app

Attributes

Classes

InputCollector

Collects user inputs for the idea creation process.

SettingsApp

Application class for managing settings.

EvolvingIdeaApp

Main application class for the Ideas app.

Module Contents

evolving_ideas.app.logger
class evolving_ideas.app.InputCollector

Collects user inputs for the idea creation process.

cache
collect() dict

Collects user inputs for the idea.

Returns:

A dictionary containing the user inputs.

Return type:

dict

class evolving_ideas.app.SettingsApp

Application class for managing settings.

settings
view() dict

View current application settings.

Returns:

A dictionary of current settings.

Return type:

dict

class evolving_ideas.app.EvolvingIdeaApp(llm_responder: evolving_ideas.infra.responder.LLMResponder | None = None)

Main application class for the Ideas app.

session
input_collector
add() dict

Start the Ideas app.

Returns:

A dictionary containing the role, task, Q&A pairs, and summary of the idea.

Return type:

dict

load(idea_id: str) evolving_ideas.domain.services.idea_tree.IdeaTree

Loads an idea by its ID from the repository.

Parameters:

idea_id (str) – The unique identifier of the idea to load.

Returns:

An IdeaTree object representing the loaded idea.

Return type:

IdeaTree

improve(idea_id: str)

Improves an existing idea version by running a chat session to gather input.

Parameters:

idea_id (str) – The unique identifier of the idea to improve.