Starterkit for OpenAI chat client based on your own content. Main ingredients:
- Next.js
- Pinecone
- @7-docs/edge
- TypeScript
- Tailwind
- Clone this repo
npm install
- Prepare vector database
- Ingest content
cp .env.example .env.local
and paste your tokens:OPENAI_API_KEY
,PINECONE_URL
,PINECONE_API_KEY
The following commands are using kadena-docs
as set in config.ts and ingest content from the
kadena-community/docs
repository.
Create a Pinecone account if you don't have one already. Then create an index:
npx 7-docs pinecone-create-index --index kadena
npx 7-docs ingest --source github --repo kadena-community/docs --files 'docs/**/*.md' --namespace kadena-docs
npm run dev
Netlify
Make sure to add the environment variables to the platform first.