cookbook/90_models/ibm/watsonx/README.md
Some of the supported models:
ibm/granite-20b-code-instructibm/granite-3-2b-instructibm/granite-3-8b-instructmeta-llama/llama-3-1-70b-instructmeta-llama/llama-3-1-8b-instructmeta-llama/llama-3-2-11b-vision-instructmeta-llama/llama-3-3-70b-instructmistralai/mistral-largemistralai/mistral-small-24b-instruct-2501mistralai/mixtral-8x7b-instruct-v01mistralai/pixtral-12bNote: Fork and clone this repository if needed
python3 -m venv ~/.venvs/aienv
source ~/.venvs/aienv/bin/activate
export IBM_WATSONX_API_KEY=***
export IBM_WATSONX_PROJECT_ID=***
export IBM_WATSONX_URL=*** (optional, defaults to https://eu-de.ml.cloud.ibm.com)
uv pip install -U ibm-watsonx-ai ddgs agno
python cookbook/92_models/ibm/watsonx/basic_stream.py
python cookbook/92_models/ibm/watsonx/basic.py
python cookbook/92_models/ibm/watsonx/tool_use.py
python cookbook/92_models/ibm/watsonx/structured_output.py
python cookbook/92_models/ibm/watsonx/storage.py
python cookbook/92_models/ibm/watsonx/knowledge.py
python cookbook/92_models/ibm/watsonx/image_agent.py