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
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_KEYenvironment variable in the.envfile 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