GenAI (Noizu Labs, GenAI Wrapper v0.0.2)

Link to this section Summary

Link to this section Functions

Creates a new chat context.

See GenAIProtocol.run/1.

Link to this function

stream(context, handler)

See GenAIProtocol.stream/2.

Link to this function

with_api_key(context, provider, api_key)

See GenAIProtocol.with_api_key/3.

Link to this function

with_api_org(context, provider, api_org)

See GenAIProtocol.with_api_org/3.

Link to this function

with_message(context, message)

See GenAIProtocol.with_message/2.

Link to this function

with_messages(context, messages)

See GenAIProtocol.with_messages/2.

Link to this function

with_model(context, model)

See GenAIProtocol.with_model/2.

Link to this function

with_safety_setting(context, safety_setting, threshold)

See GenAIProtocol.with_safety_setting/3.

Link to this function

with_setting(context, setting, value)

See GenAIProtocol.with_setting/3.

Link to this function

with_tool(context, tool)

See GenAIProtocol.with_tool/2.

Link to this function

with_tools(context, tools)

See GenAIProtocol.with_tools/2.