What is Katha vachak meaning?
Katha Means Story
Vachak Means Teller
We are saving gpt content in chuck so that image can be genarted. Midjourney didnot
provide response in runtime. To you midjourney, we need to prompt it, save the
refernece id provided by midjourney for future use. When the image is generated,
you can pull the image from midjourney server.
It is a narrative form that allows the audience or reader to actively participate
in shaping the course of the story.
Unlike traditional storytelling, where the narrative unfolds in a predetermined
manner, interactive storytelling gives the audience the ability to make choices
that influence the direction and outcome of the story.
What is Story Telling
Storytelling is the art of conveying a narrative or a series of events, often with
a purpose to entertain, educate, or convey a message.
Why Interactive?
Interactive storytelling
Allows the reader to actively participate in shaping the course of the story.
Ability to make choices that influence the direction and outcome of the story.
structured prompt
Adding background sound to a storytelling app can enhance the immersive experience
for users. Here's a basic outline of how you can implement this:
Different types of interactive stories include branching narratives, where choices
lead to different story paths; role-playing stories, where participants take on
character roles; text-based adventures, where text input guides the story; and
immersive experiences like virtual reality narratives.
AWS service
Lamba run node code. Node code of story fetch, returns to alexa to narrate. To
check the logs of lamda, aws clod watch log.
Generating a story with details, characters, episodes, and episode dialogues using
the GPT API while dealing with token limitations can be achieved by breaking down
the process into smaller steps. Here's a high-level approach:
Initialize a Story Skeleton:
Start by creating a basic outline of your story. Define the setting, main
characters, and the overall plot. This can be done manually or by using a
combination of human and AI input.
Token Management:
Keep track of the number of tokens used in each interaction with the API. You can
use OpenAI's tiktoken library to count tokens in a text string without making an
API call.
Iterative Generation:
Since you have token limitations, you'll need to generate the story in iterations.
Break down your story into smaller parts like episodes or scenes.
Generate Details:
For each episode or scene, start by giving a brief description of the setting,
introduce any new characters, and outline the main events that will take place.
Generate Character Details:
For each character, provide some background information like their name,
appearance, personality, and role in the story. This can be done in separate
interactions with the API.
Generate Episode Plot:
Describe the key events that will occur in the episode. This can include actions,
dialogues, conflicts, and resolutions.
Generate Episode Dialogues:
Write dialogues for the characters in the episode. You can alternate between
providing prompts for the API and manually editing the output to fine-tune the
dialogues.
Combine Generated Text:
After generating each part (details, character info, episode plot, dialogues),
combine the generated text to form a coherent narrative.
Review and Edit:
Read through the generated text and make any necessary edits for coherence,
consistency, and style. This is an important step to ensure the story flows
naturally.
Repeat the Process:
Continue generating the story in episodes or scenes, keeping track of tokens used
in each iteration.