This template shows off how you can set up a UI to do ChatGPT style question and answer on a knowledge base, using a Relevance AI chain.
To create the demo dataset for this frontend, use this Google Colab.
View video of this repo in action!
To boot up the frontend:
npm install
npm run dev
To deploy the chains created in the chains
folder, we use the Relevance AI CLI.
npm install -g @relevanceai/chain
Run relevance login
to authenticate the CLI.
Then relevance deploy
to deploy your chains!
Make sure to set your relevant account details in relevance-config.ts
.
I'm Dan, one of the founding team at Relevance AI. My inbox is always open on Twitter or for more information about Relevance AI, head to our website.