An open API service indexing awesome lists of open source software.

https://github.com/emapeire/eloquent-js-chat

eloquent-js-chat
https://github.com/emapeire/eloquent-js-chat

css gpt-3-5-turbo javascript llama2 llamaindex nextjs openai-api shadcn-ui taildwindcss typescript

Last synced: about 2 months ago
JSON representation

eloquent-js-chat

Awesome Lists containing this project

README

          

# Eloquent JavaScript Chat App

![Eloquent JS Chat](https://github.com/emapeire/eloquent-js-chat/assets/63935846/29ecbabb-bdd0-4df3-89f7-ff49a3692963)

This is a chat app built with `npx create-llama` and [Eloquent JavaScript](https://eloquentjavascript.net/).

In this app you will be able to interact with a intelligent llama that will answer your questions about JavaScript.

## First steps

- You need to put your own OpenAI API key in the `.env` file to be able to use the app.
- Soon you will be able to use the app in your browser with auth credentials to access to your own OpenAI account, but for now you need to run it locally.

## How to run it locally

- Clone the repo.
- Run `npm install`.
- Create a `.env` file in the root folder and then put your OpenAI API key.
- Run `npm run dev`.
- Open your browser in `localhost:3000`.
- Enjoy learning JavaScript with the llama chat!