hashbrown

Getting Started

Guide

  1. 1. Basics of AI
  2. 2. System Instructions
  3. 3. Skillet Schema
  4. 4. Streaming
  5. 5. Tool Calling
  6. 6. Structured Output
  7. 7. Generative UI
  8. 8. JavaScript Runtime

Recipes

  1. Natural Language Forms
  2. UI Chatbot with Tools
  3. Predictive Suggestions
  4. Remote MCP

Platforms

Sample App

Smart home client built with React.

Some of the basic features of the sample app include:

  1. Simple Chat
  2. Tool Calling
  3. UI Chat
  4. Text completion
  5. Structured output
  6. Structured completion

Check out our smart home sample app on GitHub


Clone Repository

git clone https://github.com/liveloveapp/hashbrown.git

Then install the dependencies:

cd hashbrown
npm install

OpenAI API Key

Our samples are built using OpenAI's models.

  1. Sign up for OpenAI's API
  2. Create an organization and API Key
  3. Set the OPENAI_API_KEY environment variable in the .env file in the root directory, which allows the smart-home-server process to load it
OPENAI_API_KEY=your_openai_api_key

See the code

Open up the samples/smart-home/react directory.

Start the Application

You will need to start both the server and the client to run the sample application.

npx nx serve smart-home-server
npx nx serve smart-home-react
Sample App Clone Repository OpenAI API Key See the code Start the Application