GenAIWatsonx¶
GenAI integration for watsonx settings
Properties¶
Name | Type | Description | Notes |
---|---|---|---|
kind | str | [optional] [default to 'watsonx'] | |
config | GenAIWatsonxConfig | ||
proj_params | GenAIPartialParams | [optional] |
Example¶
from deepsearch.cps.apis.public_v2.models.gen_ai_watsonx import GenAIWatsonx
# TODO update the JSON string below
json = "{}"
# create an instance of GenAIWatsonx from a JSON string
gen_ai_watsonx_instance = GenAIWatsonx.from_json(json)
# print the JSON string representation of the object
print(GenAIWatsonx.to_json())
# convert the object into a dict
gen_ai_watsonx_dict = gen_ai_watsonx_instance.to_dict()
# create an instance of GenAIWatsonx from a dict
gen_ai_watsonx_form_dict = gen_ai_watsonx.from_dict(gen_ai_watsonx_dict)