|
|
||
|---|---|---|
| .. | ||
| README.md | ||
| grok_examples.ipynb | ||
| grok_examples.py | ||
| grok_vision_examples.ipynb | ||
| grok_vision_examples.py | ||
| requirements.txt | ||
README.md
xAI Examples with AgentOps
This directory contains examples of using the xAI (Grok) API with AgentOps instrumentation.
Prerequisites
- Python >= 3.10 < 3.13
- Install required dependencies:
pip install agentops openai
Examples
1. Grok Examples
Example: grok_examples
This example demonstrates:
- Basic Grok API usage
2. Grok Vision Examples
Example: grok_vision_examples
This example demonstrates:
- Vision capabilities with Grok
AgentOps Integration
These examples show how to use AgentOps to monitor and analyze your AI applications. AgentOps automatically instruments your xAI calls to provide insights into performance, usage patterns, and model behavior.
To learn more about AgentOps, visit https://www.agentops.ai