Skip to content

Commit 0134069

Browse files
authored
Merge pull request #1347 from guardrails-ai/cohere-model-fix
fix cohere model again after bad merge
2 parents 920169a + e8c10e3 commit 0134069

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

docs/dist/examples/generate_structured_data_cohere.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@
146146
},
147147
{
148148
"cell_type": "code",
149-
"execution_count": 6,
149+
"execution_count": null,
150150
"id": "42766922-14d0-4b5e-853a-23f05b896a09",
151151
"metadata": {},
152152
"outputs": [
@@ -171,7 +171,7 @@
171171
"\n",
172172
"raw_llm_response, validated_response, *rest = guard(\n",
173173
" messages=[{\"role\": \"user\", \"content\": prompt}],\n",
174-
" model=\"command-r\",\n",
174+
" model=\"command-r-08-2024\",\n",
175175
" max_tokens=1024,\n",
176176
" temperature=0.3,\n",
177177
")"

docs/dist/examples/generate_structured_data_cohere.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ guard = gd.Guard.for_pydantic(output_class=Orders)
105105

106106
raw_llm_response, validated_response, *rest = guard(
107107
messages=[{"role": "user", "content": prompt}],
108-
model="command-r",
108+
model="command-r-08-2024",
109109
max_tokens=1024,
110110
temperature=0.3,
111111
)

docs/src/examples/generate_structured_data_cohere.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@
146146
},
147147
{
148148
"cell_type": "code",
149-
"execution_count": 6,
149+
"execution_count": null,
150150
"id": "42766922-14d0-4b5e-853a-23f05b896a09",
151151
"metadata": {},
152152
"outputs": [
@@ -171,7 +171,7 @@
171171
"\n",
172172
"raw_llm_response, validated_response, *rest = guard(\n",
173173
" messages=[{\"role\": \"user\", \"content\": prompt}],\n",
174-
" model=\"command-r\",\n",
174+
" model=\"command-r-08-2024\",\n",
175175
" max_tokens=1024,\n",
176176
" temperature=0.3,\n",
177177
")"

0 commit comments

Comments
 (0)