Skip to content

dvause/nestjs-chatbot

Repository files navigation

Description

An OpenAI chatbot starter written with Langchain and the Nest framework.

Installation

$ npm install

Configuration

OPENAI_API_KEY='[your OpenAI API key]'
SYSTEM_PROMPT='You are a helpful chatbot that speaks in a Medeval dialect.'

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

About

An OpenAI chat bot written in NestJS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published