Superintelligence.Conversations (superintelligence v0.1.0)

The Conversations context for managing chat conversations.

Summary

Functions

Creates a conversation.

Creates a message in a conversation.

Deletes a conversation.

Gets a single conversation.

Lists all conversations.

Lists messages for a conversation.

Subscribe to conversation updates.

Subscribe to a specific conversation's updates.

Functions

create_conversation(attrs \\ %{})

Creates a conversation.

create_message(conversation_id, attrs)

Creates a message in a conversation.

delete_conversation(conversation)

Deletes a conversation.

get_conversation(id)

Gets a single conversation.

init_tables()

list_conversations()

Lists all conversations.

list_messages(conversation_id)

Lists messages for a conversation.

subscribe()

Subscribe to conversation updates.

subscribe_to_conversation(conversation_id)

Subscribe to a specific conversation's updates.

update_conversation(conversation, attrs)

Updates a conversation.