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

https://github.com/jtpio/chromeai-langchainjs-demo

Small demo app using ChromeAI with LangChain.js
https://github.com/jtpio/chromeai-langchainjs-demo

Last synced: 10 months ago
JSON representation

Small demo app using ChromeAI with LangChain.js

Awesome Lists containing this project

README

          

# ChromeAI LangChain Demo

A simple web application that demonstrates how to use LangChain.js with ChromeAI to create a chat interface.

## Getting Started

### Prerequisites

- Node.js (recommended latest LTS version)
- Chrome browser (for ChromeAI)

### Installation

1. Clone the repository
2. Install dependencies:
```
npm install
```

### Running the Demo

Start the development server:
```
npm run dev
```

### Building for Production

Build the application:
```
npm run build
```

Preview the production build:
```
npm run preview
```

## Technology Stack

- LangChain.js (@langchain/core and @langchain/community)
- Vite (for building and development)
- ChromeAI language model

## Deployment

The application is set up for automatic deployment to GitHub Pages using GitHub Actions. When you push changes to the `main` branch, the application will automatically build and deploy to GitHub Pages.