Skip to content

About

Next Steps: an experiment in using generative AI in a non-chat form

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Next Steps

An experiment in using generative AI in a non-chat form. You write a goal and your thoughts, press a button, and get one read-only answer. There is no back-and-forth: every response stands alone.

Part of Thursday.

Run it

No build step. Any static server over the repo root works:

python3 -m http.server 8000

Then open http://localhost:8000. It needs to be served over HTTP — the page uses ES modules, which will not load from file://.

The first visit asks you to pick an AI provider. A free key from AI for All is enough to try it.

Layout

  • index.html — the page
  • lib/ — the OpenAI client, provider setup, and page script
  • static/ — CSS, examples, and the system prompt the model runs under

License

MIT. Feel free to copy and share.

About

Next Steps: an experiment in using generative AI in a non-chat form

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages