AJaySi / AI-Writer

Alwrity - AI contextual Content generation Suite. Prevents AI hallucinations, Web Researched factual, SEO optimized content. Get blog Images. Create your AI-Powered Content Agents team. Create content with RAG, Local documents, web urls. Open Source AI writer.
https://alwrity.com
108 stars 37 forks source link

Interactive Content writer - Chain of Thoughts content writing #90

Open AJaySi opened 1 week ago

AJaySi commented 1 week ago

Alwrity is highly opinionated and takes few keywords/input to write the content. There is not much control over generating titles, outlines, sections and research questions.

An interactive content writer will have "Human in the Loop"(HITL) for each stage of generating content. This option will make alwrity chatty, but some users may prefer a fine grained control.

Having a fine-grained control will also reduce iterations of editing.

AJaySi commented 3 days ago

Explanation: Step 1: The user is prompted to enter keywords or a blog title. This step only displays the text input field. Step 2: Once the keywords are entered and the user clicks "Next", the title options are generated and displayed. Step 3: After selecting and confirming the title, the user is asked to confirm the topic. Step 4: Once the topic is confirmed, the outline is generated and displayed. The user then confirms the outline. Step 5: The article is generated based on the confirmed outline, and the user confirms the final article. This step-wise approach ensures a smooth and interactive user experience where each step is displayed sequentially after the previous one is completed.

AJaySi commented 3 days ago

Explanation: State Management: The st.session_state is used to track the current step and store intermediate data like keywords, chosen title, and outline. Navigation: Each step has buttons for "Next" or "Confirm" and a "Back" button to navigate to the previous step. Step-wise Flow: The steps are implemented sequentially, only moving to the next step once the current step is confirmed.