diff --git a/docs/protocols/lmc-messages.mdx b/docs/protocols/lmc-messages.mdx index 6e7be0360e..f7831087f6 100644 --- a/docs/protocols/lmc-messages.mdx +++ b/docs/protocols/lmc-messages.mdx @@ -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 @@ -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`| \ No newline at end of file +code|shell|Shell code that should be executed.|`assistant`|