@hashbrownai/react
v0.5.0
Published
React components for Hashbrown AI
Downloads
3,333
Readme
Getting Started
Install:
npm install @hashbrownai/{core,react,openai} --saveConfigure the provider:
export function Providers() {
return (
<HashbrownProvider
url={url}
emulateStructuredOutput
>
{children}
</HashbrownProvider>
)
}HashbrownProvider accepts:
url(required): Base URL of your Hashbrown API endpoint.middleware(optional): Functions to transform requests before they are sent.emulateStructuredOutput(optional): Enables structured output emulation for models that lack native tool-calling support while still letting you work with structured schemas.
Adapters
Hashbrown supports multiple providers:
Contributing
hashbrown is a community-driven project. Read our contributing guidelines on how to get involved.
Workshops and Consulting
Want to learn how to build React apps with AI? Learn more about our workshops.
LiveLoveApp provides hands-on engagement with our AI engineers for architecture reviews, custom integrations, proof-of-concept builds, performance tuning, and expert guidance on best practices. Learn more about LiveLoveApp.
License
MIT © LiveLoveApp, LLC
