jswope00 / AI-MicroApp-Template-Completion

This is a template for an AI Micro-app that allows you to build an AI-powered app like configuring a form.
MIT License
2 stars 0 forks source link

Create a "Revisions" option #7

Open jswope00 opened 2 months ago

jswope00 commented 2 months ago

These micro-apps are intentionally not "chatbots" and they aren't "custom GPTs". Those things are great, but too open and unstructured for assessment and organizational use (where costs need to be tightly controlled).

That being said, I have seen several use cases now where the AI gives an output, but the user has to revise that output. I.e. the AI provides a video script but the user says, "cut that down to 500 words" or something.

So I'd like to build in an option to "revise" the output, and a "max revisions" setting.

Here is a user story.

I think the way we calculate costs for this template is just by looking at the tokens used for the one prompt, since that was the max for this template in the past. Now, we might have multiple prompts, so you'll have to adjust the cost numbers to "add on" to each other if a user runs multiple revisions.

rajaathota72-fc commented 1 month ago

Added revise concept to the completion template

https://www.youtube.com/watch?v=jAkUJ1VPfhc

Check out this once

rajaathota72-fc commented 1 month ago

UI corrections - revise after button clicked and maintain session history

rajaathota72-fc commented 1 month ago

[main · Streamlit.pdf](https://github.com/user-attachments/files/15686034/main.Streamlit.pdf)

added session history