RepoReplicateReplicatepublished Jul 17, 2023seen 5d

replicate/llama-chat

JavaScript

Open original ↗

Captured source

source ↗
published Jul 17, 2023seen 5dcaptured 9hhttp 200method plain

replicate/llama-chat

Description: A boilerplate for creating a Llama 3 chat app

Language: JavaScript

License: Apache-2.0

Stars: 836

Forks: 302

Open issues: 29

Created: 2023-07-17T19:00:13Z

Pushed: 2025-12-16T00:52:29Z

Default branch: main

Fork: no

Archived: no

README:

Llama Chat 🦙

This is a Next.js app that demonstrates how to build a chat UI using the Llama 3 language model and Replicate's streaming API (private beta).

Here's a demo:

https://github.com/replicate/llama-chat/assets/14149230/e700b256-dc34-4c4e-b912-8a84ec4bec6a

Usage

Install dependencies:

npm install

Add your Replicate API token to .env.local:

REPLICATE_API_TOKEN=

Run the development server:

npm run dev

Open http://localhost:3000 with your browser.

For detailed instructions on how to create and use this template, see replicate.com/docs/get-started/nextjs