tie-xue / llama-chat

A boilerplate for creating a Llama 2 chat app

Home Page:https://llama.replicate.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Llama Chat 🦙

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

Here's a demo:

llama-demo.mp4

Usage

Install dependencies:

npm install

Add your Replicate API token to .env.local:

REPLICATE_API_TOKEN=<your-token-here>

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

About

A boilerplate for creating a Llama 2 chat app

https://llama.replicate.dev

License:Apache License 2.0


Languages

Language:JavaScript 98.5%Language:CSS 1.5%