Sample App
Smart home client built with React.
Some of the basic features of the sample app include:
- Simple Chat
- Tool Calling
- UI Chat
- Text completion
- Structured output
- 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
Open up the samples/smart-home/client-react
directory.
Starting the Application
You will need to start both the server and the client to run the sample application.
npx nx serve server
npx nx serve client-react
OpenAI API Key
Our samples are built using OpenAI's models.
- Sign up for OpenAI's API
- Create an organization and API Key
- Set the
OPENAI_API_KEY
environment variable in the.env
file in the root directory.
OPENAI_API_KEY=your_openai_api_key