our friendly logo that looks like a hashbrown character from an animated tv showhashbrown

@hashbrownai/corefryHashbrown

Initialize a Hashbrown chat instance with the given configuration.

@template Output - The type of messages expected from the LLM. @template Tools - The set of tools to register with the chat instance.

function fryHashbrown<Tools extends Chat.AnyTool>(init: {
    debugName?: string;
    apiUrl: string;
    model: string;
    system: string;
    messages?: Chat.Message<string, Tools>[];
    tools?: Tools[];
    middleware?: Chat.Middleware[];
    emulateStructuredOutput?: boolean;
    debounce?: number;
    retries?: number;
}): Hashbrown<string, Tools>;
@paraminit

Initialization options.

{
    debugName?: string;
    apiUrl: string;
    model: string;
    system: string;
    messages?: Chat.Message<string, Tools>[];
    tools?: Tools[];
    middleware?: Chat.Middleware[];
    emulateStructuredOutput?: boolean;
    debounce?: number;
    retries?: number;
}
@typeTools
Chat.AnyTool
@returns
{Hashbrown<Output, Tools>} A configured Hashbrown instance.
Hashbrown<string, Tools>

@hashbrownai/corefryHashbrown

function fryHashbrown<Schema extends s.HashbrownType, Tools extends Chat.AnyTool, Output extends s.Infer<Schema> = s.Infer<Schema>>(init: {
    debugName?: string;
    apiUrl: string;
    model: string;
    system: string;
    messages?: Chat.Message<Output, Tools>[];
    tools?: Tools[];
    responseSchema: Schema;
    middleware?: Chat.Middleware[];
    emulateStructuredOutput?: boolean;
    debounce?: number;
    retries?: number;
}): Hashbrown<Output, Tools>;
@paraminit
{
    debugName?: string;
    apiUrl: string;
    model: string;
    system: string;
    messages?: Chat.Message<Output, Tools>[];
    tools?: Tools[];
    responseSchema: Schema;
    middleware?: Chat.Middleware[];
    emulateStructuredOutput?: boolean;
    debounce?: number;
    retries?: number;
}
@typeSchema
s.HashbrownType
@typeTools
Chat.AnyTool
@typeOutput
s.Infer<Schema>
@returns
Hashbrown<Output, Tools>

LiveLoveApp provides secure, compliant, and reliable long-term support to enterprises. We are a group of engineers who are passionate about open source.

Enterprise Support

AI Engineering Sprint

Get your team up-to-speed on AI engineering with a one week AI engineering sprint. Includes a workshop on AI engineering with hashbrown and a few days with the hashbrown developer team to bring your AI ideas to life.

Long Term Support

Keep your hashbrown deployments running at peak performance with our Long Term Support. Includes an ongoing support retainer for direct access to the hashbrown developer team, SLA-backed issue resolution, and guided upgrades.

Consulting

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.