|
| 1 | +interactions: |
| 2 | +- request: |
| 3 | + body: '{"messages": [{"role": "system", "content": "You are a helpful assistant."}, |
| 4 | + {"role": "user", "content": "What is deep learning?"}], "model": "command-r7b-12-2024", |
| 5 | + "max_tokens": 20, "stream": true}' |
| 6 | + headers: |
| 7 | + Accept: |
| 8 | + - '*/*' |
| 9 | + Accept-Encoding: |
| 10 | + - gzip, deflate |
| 11 | + Connection: |
| 12 | + - keep-alive |
| 13 | + Content-Length: |
| 14 | + - '198' |
| 15 | + Content-Type: |
| 16 | + - application/json |
| 17 | + X-Amzn-Trace-Id: |
| 18 | + - 68c492d9-abbd-4d0a-8462-e598765021e4 |
| 19 | + method: POST |
| 20 | + uri: https://api.cohere.com/compatibility/v1/chat/completions |
| 21 | + response: |
| 22 | + body: |
| 23 | + string: 'data: {"id":"2bb1b33e-53d9-4fae-8958-2e54c1e60f09","choices":[{"index":0,"finish_reason":null,"delta":{"content":"","role":"assistant"}}],"created":1740653733,"model":"command-r7b-12-2024","object":"chat.completion.chunk"} |
| 24 | +
|
| 25 | +
|
| 26 | + data: {"id":"2bb1b33e-53d9-4fae-8958-2e54c1e60f09","choices":[{"index":0,"finish_reason":null,"delta":{"content":"Deep"}}],"created":1740653733,"model":"command-r7b-12-2024","object":"chat.completion.chunk"} |
| 27 | +
|
| 28 | +
|
| 29 | + data: {"id":"2bb1b33e-53d9-4fae-8958-2e54c1e60f09","choices":[{"index":0,"finish_reason":null,"delta":{"content":" |
| 30 | + learning"}}],"created":1740653733,"model":"command-r7b-12-2024","object":"chat.completion.chunk"} |
| 31 | +
|
| 32 | +
|
| 33 | + data: {"id":"2bb1b33e-53d9-4fae-8958-2e54c1e60f09","choices":[{"index":0,"finish_reason":null,"delta":{"content":" |
| 34 | + is"}}],"created":1740653733,"model":"command-r7b-12-2024","object":"chat.completion.chunk"} |
| 35 | +
|
| 36 | +
|
| 37 | + data: {"id":"2bb1b33e-53d9-4fae-8958-2e54c1e60f09","choices":[{"index":0,"finish_reason":null,"delta":{"content":" |
| 38 | + a"}}],"created":1740653733,"model":"command-r7b-12-2024","object":"chat.completion.chunk"} |
| 39 | +
|
| 40 | +
|
| 41 | + data: {"id":"2bb1b33e-53d9-4fae-8958-2e54c1e60f09","choices":[{"index":0,"finish_reason":null,"delta":{"content":" |
| 42 | + sub"}}],"created":1740653733,"model":"command-r7b-12-2024","object":"chat.completion.chunk"} |
| 43 | +
|
| 44 | +
|
| 45 | + data: {"id":"2bb1b33e-53d9-4fae-8958-2e54c1e60f09","choices":[{"index":0,"finish_reason":null,"delta":{"content":"field"}}],"created":1740653733,"model":"command-r7b-12-2024","object":"chat.completion.chunk"} |
| 46 | +
|
| 47 | +
|
| 48 | + data: {"id":"2bb1b33e-53d9-4fae-8958-2e54c1e60f09","choices":[{"index":0,"finish_reason":null,"delta":{"content":" |
| 49 | + of"}}],"created":1740653733,"model":"command-r7b-12-2024","object":"chat.completion.chunk"} |
| 50 | +
|
| 51 | +
|
| 52 | + data: {"id":"2bb1b33e-53d9-4fae-8958-2e54c1e60f09","choices":[{"index":0,"finish_reason":null,"delta":{"content":" |
| 53 | + machine"}}],"created":1740653733,"model":"command-r7b-12-2024","object":"chat.completion.chunk"} |
| 54 | +
|
| 55 | +
|
| 56 | + data: {"id":"2bb1b33e-53d9-4fae-8958-2e54c1e60f09","choices":[{"index":0,"finish_reason":null,"delta":{"content":" |
| 57 | + learning"}}],"created":1740653733,"model":"command-r7b-12-2024","object":"chat.completion.chunk"} |
| 58 | +
|
| 59 | +
|
| 60 | + data: {"id":"2bb1b33e-53d9-4fae-8958-2e54c1e60f09","choices":[{"index":0,"finish_reason":null,"delta":{"content":" |
| 61 | + and"}}],"created":1740653733,"model":"command-r7b-12-2024","object":"chat.completion.chunk"} |
| 62 | +
|
| 63 | +
|
| 64 | + data: {"id":"2bb1b33e-53d9-4fae-8958-2e54c1e60f09","choices":[{"index":0,"finish_reason":null,"delta":{"content":" |
| 65 | + artificial"}}],"created":1740653733,"model":"command-r7b-12-2024","object":"chat.completion.chunk"} |
| 66 | +
|
| 67 | +
|
| 68 | + data: {"id":"2bb1b33e-53d9-4fae-8958-2e54c1e60f09","choices":[{"index":0,"finish_reason":null,"delta":{"content":" |
| 69 | + intelligence"}}],"created":1740653733,"model":"command-r7b-12-2024","object":"chat.completion.chunk"} |
| 70 | +
|
| 71 | +
|
| 72 | + data: {"id":"2bb1b33e-53d9-4fae-8958-2e54c1e60f09","choices":[{"index":0,"finish_reason":null,"delta":{"content":" |
| 73 | + that"}}],"created":1740653733,"model":"command-r7b-12-2024","object":"chat.completion.chunk"} |
| 74 | +
|
| 75 | +
|
| 76 | + data: {"id":"2bb1b33e-53d9-4fae-8958-2e54c1e60f09","choices":[{"index":0,"finish_reason":null,"delta":{"content":" |
| 77 | + focuses"}}],"created":1740653733,"model":"command-r7b-12-2024","object":"chat.completion.chunk"} |
| 78 | +
|
| 79 | +
|
| 80 | + data: {"id":"2bb1b33e-53d9-4fae-8958-2e54c1e60f09","choices":[{"index":0,"finish_reason":null,"delta":{"content":" |
| 81 | + on"}}],"created":1740653733,"model":"command-r7b-12-2024","object":"chat.completion.chunk"} |
| 82 | +
|
| 83 | +
|
| 84 | + data: {"id":"2bb1b33e-53d9-4fae-8958-2e54c1e60f09","choices":[{"index":0,"finish_reason":null,"delta":{"content":" |
| 85 | + training"}}],"created":1740653733,"model":"command-r7b-12-2024","object":"chat.completion.chunk"} |
| 86 | +
|
| 87 | +
|
| 88 | + data: {"id":"2bb1b33e-53d9-4fae-8958-2e54c1e60f09","choices":[{"index":0,"finish_reason":null,"delta":{"content":" |
| 89 | + artificial"}}],"created":1740653733,"model":"command-r7b-12-2024","object":"chat.completion.chunk"} |
| 90 | +
|
| 91 | +
|
| 92 | + data: {"id":"2bb1b33e-53d9-4fae-8958-2e54c1e60f09","choices":[{"index":0,"finish_reason":null,"delta":{"content":" |
| 93 | + neural"}}],"created":1740653733,"model":"command-r7b-12-2024","object":"chat.completion.chunk"} |
| 94 | +
|
| 95 | +
|
| 96 | + data: {"id":"2bb1b33e-53d9-4fae-8958-2e54c1e60f09","choices":[{"index":0,"finish_reason":null,"delta":{"content":" |
| 97 | + networks"}}],"created":1740653733,"model":"command-r7b-12-2024","object":"chat.completion.chunk"} |
| 98 | +
|
| 99 | +
|
| 100 | + data: {"id":"2bb1b33e-53d9-4fae-8958-2e54c1e60f09","choices":[{"index":0,"finish_reason":"length","delta":{}}],"created":1740653733,"model":"command-r7b-12-2024","object":"chat.completion.chunk","usage":{"prompt_tokens":11,"completion_tokens":19,"total_tokens":30}} |
| 101 | +
|
| 102 | +
|
| 103 | + data: [DONE] |
| 104 | +
|
| 105 | +
|
| 106 | + ' |
| 107 | + headers: |
| 108 | + Alt-Svc: |
| 109 | + - h3=":443"; ma=2592000,h3-29=":443"; ma=2592000 |
| 110 | + Transfer-Encoding: |
| 111 | + - chunked |
| 112 | + Via: |
| 113 | + - 1.1 google |
| 114 | + access-control-expose-headers: |
| 115 | + - X-Debug-Trace-ID |
| 116 | + cache-control: |
| 117 | + - no-cache, no-store, no-transform, must-revalidate, private, max-age=0 |
| 118 | + content-type: |
| 119 | + - text/event-stream |
| 120 | + date: |
| 121 | + - Thu, 27 Feb 2025 10:55:33 GMT |
| 122 | + expires: |
| 123 | + - Thu, 01 Jan 1970 00:00:00 UTC |
| 124 | + pragma: |
| 125 | + - no-cache |
| 126 | + server: |
| 127 | + - envoy |
| 128 | + vary: |
| 129 | + - Origin |
| 130 | + x-accel-expires: |
| 131 | + - '0' |
| 132 | + x-api-warning: |
| 133 | + - Please set an API version, for more information please refer to https://docs.cohere.com/versioning-reference |
| 134 | + - Version is deprecated, for more information please refer to https://docs.cohere.com/versioning-reference |
| 135 | + x-debug-trace-id: |
| 136 | + - 4bc0ce4bda5305b5b60ef6268db5e3a7 |
| 137 | + x-envoy-upstream-service-time: |
| 138 | + - '88' |
| 139 | + x-trial-endpoint-call-limit: |
| 140 | + - '100' |
| 141 | + x-trial-endpoint-call-remaining: |
| 142 | + - '98' |
| 143 | + status: |
| 144 | + code: 200 |
| 145 | + message: OK |
| 146 | +version: 1 |
0 commit comments