Skip to content

Commit

Permalink
docs: patch
Browse files Browse the repository at this point in the history
  • Loading branch information
0xSage committed Nov 21, 2023
1 parent a43ce60 commit b1fade0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docs/docs/specs/messages.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ Here's a standard example `message` json.
"object": "thread.message", // Defaults to "thread.message"
"created_at": 1698983503,
"thread_id": "thread_asdf", // Defaults to parent thread
"role": "assistant", // Defaults to "user" or "assistant"
"assistant_id": "jan", // Defaults to parent thread
"role": "assistant", // From either "user" or "assistant"
"content": [
{
"type": "text",
Expand All @@ -40,9 +41,9 @@ Here's a standard example `message` json.
}
}
],
"assistant_id": "...",
"run_id": "...", // The `run` resulting in this message
"metadata": {}, // Defaults to {}
"chat_completion_id": "", // For now, we use `chat` completion id
// "run_id": "...", // Rather than `run` id
// "file_ids": [],
```

Expand Down

0 comments on commit b1fade0

Please sign in to comment.