This site demos generative AI with Nuxt Content
Testing repo and site (Kick It - Nuxt Content using generative AI)
Check out the deployment at kick-start.nuxt.space.
git clone git@github.com:deniskropp/nuxt-kick-start
cd nuxt-kick-start
git submodule update --init
pnpm install
pnpm dev
Then open http://localhost:3000 to see the app.
We are using Cohere at the moment, please put your API key in .env!
COHERE_API_KEY=xyz
- embed in any .md file (/content) using '::chat'
- generate content from page and component input
- allow props, e.g. 'task' or 'instruction'
- uses useContent() for the body of the active page
- makes messages for AI end-point with content, props etc.
- returns generated content as markdown formatted string
Learn more how to deploy on Nuxt docs.