StoryAnswer

Properties

PropertyTypeDescription
ai_stories_id string (snowflake) Required
ai_stories_title string Required
ai_stories_model_id string (snowflake) Required
model_label string, or null Required Null when the model is no longer offered.
ai_stories_system_prompt string Required Who the model is while it plans and writes. Empty makes it a skilled fiction writer.
ai_stories_planning_prompt string Required The idea, the characters you have in mind, the length: the plan is made from this.
ai_stories_writing_prompt string Required Style, voice, length of each chapter. Empty asks for the complete story, chapter by chapter, in vivid prose.
ai_stories_overrides LlmSettings Required
progress StoryProgress Required
models list of LlmModelOption Required The models one may pick.

Used by

MethodPathSummary
POST /ai/stories Start a story from its prompts.
GET /ai/stories/{storyId} One story and its runs.
PATCH /ai/stories/{storyId} Change a story's name, model or prompts, for its next run.
PUT /ai/stories/{storyId}/settings Replace the settings a story's runs override the model's defaults with.
DELETE /ai/stories/{storyId}/settings Drop every setting a story overrides, back to its model's defaults.

All documentation

0 database statements · 11 reads from the cache · 0.0 ms waiting for the database · 28.0 MiB peak memory
public.settingsSELECTfrom the cache
public.mesh_nodesSELECTfrom the cache
public.fqdnsSELECTfrom the cache
public.sitesSELECTfrom the cache
public.api_buildsSELECTfrom the cache
public.filesSELECTfrom the cache
public.filesSELECTfrom the cache
public.filesSELECTfrom the cache
public.filesSELECTfrom the cache
public.api_buildsSELECTfrom the cache
public.docs_guidesSELECTfrom the cache