Skip to content

Create endpoint for adding single message #40

@A-Huli

Description

@A-Huli
POST {username}/bots/{bot_id}/conversations/{conversation_id}/messages
"type": ("human" or "ai")
"data":{
"content": str
"additional_kwargs": dict
"example": (true or false)
}

Should append a single message to the conversation
Create a Pydantic model for a single message in backend/pydantic_models/conversations.py

type - should default to human
content - must be set
additional_kwargs - should default to empty dict
example - should default to False

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions