Skip to content

Correct punctuation in the document. #1033

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions docs/protocols/lmc-messages.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@ To support the incoming `L`anguage `M`odel `C`omputer architecture, we extend Op

```python
# The user sends a message.
{"role": "user", "type": "message": "content": "What's 2380*3875?"}
{"role": "user", "type": "message", "content": "What's 2380*3875?"}

# The assistant runs some code.
{"role": "assistant", "type": "code", "format": "python", "content", "2380*3875"}
{"role": "assistant", "type": "code", "format": "python", "content": "2380*3875"}

# The computer responds with the result of the code.
{"role": "computer", "type": "console", "format": "output", "content", "9222500"}
{"role": "computer", "type": "console", "format": "output", "content": "9222500"}

# The assistant sends a message.
{"role": "assistant", "type": "message", "content", "The result of multiplying 2380 by 3875 is 9222500."}
{"role": "assistant", "type": "message", "content": "The result of multiplying 2380 by 3875 is 9222500."}
```

## Anatomy
Expand Down Expand Up @@ -64,4 +64,4 @@ code|javascript|JavaScript code that should be executed.|`assistant`, `computer`
code|python|Python code that should be executed.|`assistant`|
code|r|R code that should be executed.|`assistant`|
code|applescript|AppleScript code that should be executed.|`assistant`|
code|shell|Shell code that should be executed.|`assistant`|
code|shell|Shell code that should be executed.|`assistant`|