8000 fix(generative_ai): Fixes version mismatch between pandas and numpy (… · dtest/python-docs-samples@e1b000b · GitHub
[go: up one dir, main page]

Skip to content

Commit e1b000b

Browse files
fix(generative_ai): Fixes version mismatch between pandas and numpy (GoogleCloudPlatform#11875)
* fix(generative_ai): Fixes version mismatch between pandas and numpy * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 2cc418e commit e1b000b

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

generative_ai/anthropic_claude_3_tool_use.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line 8000 change
@@ -35,25 +35,25 @@ def tool_use(project_id: str, region: str) -> object:
3535
"properties": {
3636
"textQuery": {
3737
"type": "string",
38-
"description": "The text string on which to search"
38+
"description": "The text string on which to search",
3939
},
4040
"priceLevels": {
4141
"type": "array",
4242
"description": "Price levels to query places, value can be one of [PRICE_LEVEL_INEXPENSIVE, PRICE_LEVEL_MODERATE, PRICE_LEVEL_EXPENSIVE, PRICE_LEVEL_VERY_EXPENSIVE]",
4343
},
4444
"openNow": {
4545
"type": "boolean",
46-
"description": "whether those places are open for business."
46+
"description": "whether those places are open for business.",
4747
},
4848
},
49-
"required": ["textQuery"]
50-
}
49+
"required": ["textQuery"],
50+
},
5151
}
5252
],
5353
messages=[
5454
{
5555
"role": "user",
56-
"content": "What are some affordable and good Italian restaurants open now in San Francisco??"
56+
"content": "What are some affordable and good Italian restaurants open now in San Francisco??",
5757
}
5858
],
5959
)

generative_ai/constraints.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
numpy<2.0.0

0 commit comments

Comments
 (0)
0