Automaton v0.1.0 Automaton.Conversation.Server View Source

Link to this section Summary

Functions

Adds a message to the conversation

Get conversation info

Initialize the conversation state

Get the last message in the conversation

Starts a new conversation with the initial message

Stop current conversation and clean up

Link to this section Functions

Link to this function add_message(pid, message) View Source

Adds a message to the conversation

Get conversation info

Initialize the conversation state

Get the last message in the conversation

Link to this function start_link(session_id, message, opts \\ []) View Source

Starts a new conversation with the initial message

Link to this function stop(pid, reason \\ :normal, timeout \\ :infinity) View Source

Stop current conversation and clean up