Skip to content

Starterkit for Deno, Aleph.js, Pinecone and @7-docs/edge

Notifications You must be signed in to change notification settings

7-docs/template-deno-aleph-pinecone

Repository files navigation

template-deno-aleph-pinecone

Starterkit for OpenAI chat client based on your own content. Main ingredients:

This template runs at 7-docs-aleph-pinecone.deno.dev.

Install

The following commands are using my-namespace as set in config.ts and ingest content from the reactjs/react.dev repository. By all means, you're encouraged to change them to something more original.

Prepare db

Create a Pinecone account if you don't have one already. Then create an index:

npx 7-docs pinecone-create-index --index my-namespace

Ingest

npx 7-docs ingest --source github --repo denoland/manual --files '**/*.md' --namespace manual-deno

Run

deno task dev

Deploy

This application can be deployed somewhere with support for Deno + edge functions. Examples:

Make sure to add the environment variables. Also update project in .github/workflows/deploy.yml to your Deno Deploy project name.

About

Starterkit for Deno, Aleph.js, Pinecone and @7-docs/edge

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published