We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d805425 commit 89fb700Copy full SHA for 89fb700
src/xai_sdk/tools.py
@@ -48,7 +48,10 @@ def web_search(
48
# Create a web search tool that excludes certain domains
49
tool = web_search(
50
excluded_domains=["spam-site.com", "unwanted.com"],
51
- enable_image_understanding=True
+ enable_image_understanding=True,
52
+ user_location_country="US",
53
+ user_location_city="San Francisco",
54
+ user_location_timezone="America/Los_Angeles",
55
)
56
```
57
"""
0 commit comments