Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 1.16 KB

File metadata and controls

35 lines (26 loc) · 1.16 KB

LLMAPIProfile

Properties

Name Type Description Notes
connections List[Connection] [optional]
id str
is_enabled bool
is_one_arm bool Indicates whether the LLM API profile is one-arm
links List[APILink] [optional]
model_name str
params List[Params] [optional]

Example

from cyperf.models.llmapi_profile import LLMAPIProfile

# TODO update the JSON string below
json = "{}"
# create an instance of LLMAPIProfile from a JSON string
llmapi_profile_instance = LLMAPIProfile.from_json(json)
# print the JSON string representation of the object
print(LLMAPIProfile.to_json())

# convert the object into a dict
llmapi_profile_dict = llmapi_profile_instance.to_dict()
# create an instance of LLMAPIProfile from a dict
llmapi_profile_from_dict = LLMAPIProfile.from_dict(llmapi_profile_dict)

[Back to Model list] [Back to API list] [Back to README]