Skip to content

Latest commit

 

History

History
55 lines (35 loc) · 1.7 KB

README.md

File metadata and controls

55 lines (35 loc) · 1.7 KB

ai-utils

This repository (which uses Turborepo) contains the following packages:

Additionally, it contains the following applications:

  • ai-chat: A Next.js 13 application that allows users to chat with AI using the OpenAI API.
  • file-converter: A Next.js 13 application that converts files to text that can also be shown in markdown styling.

Usage

  1. Clone this repository:
git clone https://github.com/JasperAlexander/ai-utils.git
  1. Inside the repository, run the following command to install the dependencies:
pnpm install
  1. Add an OpenAI API key to apps/ai-chat/.env.example.

  2. Rename .env.example to .env.local. You can do this by running the following command in the root directory of this app.

mv apps/ai-chat/.env.example apps/ai-chat/.env.local
  1. Build all apps and packages by running the following command:
pnpm run build
  1. To start all apps and packages locally, run the following command:
pnpm run dev

Contributing

If you're interested in contributing, please read the contributing docs before submitting a pull request.

License

This repository is licensed under the MIT License. See LICENSE for more information.