Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/replicate/llama-chat
A boilerplate for creating a Llama 3 chat app
https://github.com/replicate/llama-chat
Last synced: 1 day ago
JSON representation
A boilerplate for creating a Llama 3 chat app
- Host: GitHub
- URL: https://github.com/replicate/llama-chat
- Owner: replicate
- License: apache-2.0
- Created: 2023-07-17T19:00:13.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-12T16:10:06.000Z (3 months ago)
- Last Synced: 2024-10-28T22:36:17.818Z (16 days ago)
- Language: JavaScript
- Homepage: https://llama3.replicate.dev
- Size: 2.72 MB
- Stars: 832
- Watchers: 25
- Forks: 309
- Open Issues: 30
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Llama Chat 🦙
This is a [Next.js](https://nextjs.org/) app that demonstrates how to build a chat UI using the [Llama 3](https://replicate.com/meta/llama-3-70b-chat) language model and Replicate's [streaming API (private beta)](https://replicate.com/docs/streaming).
Here's a demo:
https://github.com/replicate/llama-chat/assets/14149230/e700b256-dc34-4c4e-b912-8a84ec4bec6a
## Usage
Install dependencies:
```console
npm install
```Add your [Replicate API token](https://replicate.com/account#token) to `.env.local`:
```
REPLICATE_API_TOKEN=
```Run the development server:
```console
npm run dev
```Open [http://localhost:3000](http://localhost:3000) with your browser.
For detailed instructions on how to create and use this template, see [replicate.com/docs/get-started/nextjs](https://replicate.com/docs/get-started/nextjs)