GenAI (Noizu Labs, GenAI Wrapper v0.0.2)
Link to this section Summary
Functions
Creates a new chat context.
Link to this section Functions
Link to this function
chat()
Creates a new chat context.
Link to this function
run(context)
See GenAIProtocol.run/1
.
Link to this function
stream(context, handler)
Link to this function
with_api_key(context, provider, api_key)
Link to this function
with_api_org(context, provider, api_org)
Link to this function
with_message(context, message)
Link to this function
with_messages(context, messages)
Link to this function
with_model(context, model)
Link to this function
with_safety_setting(context, safety_setting, threshold)
Link to this function
with_setting(context, setting, value)
Link to this function
with_tool(context, tool)
Link to this function