← 开源
replicate

llama-chat

A boilerplate for creating a Llama 3 chat app

ApplicationsWrappersJavaScript
在 GitHub 打开
增长势头
+024 小时新增 Star0.0%
833
Star
293
Fork
+-2
本周
12
贡献者
创建于 2023-07-17 · 更新于 2026-10-01 · 今日第 13091 名
主要开发者
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