GenAI (Noizu Labs, GenAI Wrapper v0.0.3)
Link to this section Summary
Link to this section Functions
Link to this function
chat(thread_provider \\ :default)
Creates a new chat context.
Link to this function
run(context)
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, options \\ nil)
Link to this function
with_messages(context, messages, options \\ nil)
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