kittycad.models.ai_plugin_manifest
Classes
|
AI plugin manifest. |
- class kittycad.models.ai_plugin_manifest.AiPluginManifest(api=<kittycad.types.Unset object>, auth=<kittycad.types.Unset object>, contact_email=<kittycad.types.Unset object>, description_for_human=<kittycad.types.Unset object>, description_for_model=<kittycad.types.Unset object>, legal_info_url=<kittycad.types.Unset object>, logo_url=<kittycad.types.Unset object>, name_for_human=<kittycad.types.Unset object>, name_for_model=<kittycad.types.Unset object>, schema_version=<kittycad.types.Unset object>)[source][source]
AI plugin manifest.
This is used for OpenAI’s ChatGPT plugins. You can read more about them [here](https://platform.openai.com/docs/plugins/getting-started/plugin-manifest).
Method generated by attrs for class AiPluginManifest.
- __annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'api': typing.Union[kittycad.types.Unset, kittycad.models.ai_plugin_api.AiPluginApi], 'auth': typing.Union[kittycad.types.Unset, kittycad.models.ai_plugin_auth.AiPluginAuth], 'contact_email': typing.Union[kittycad.types.Unset, str], 'description_for_human': typing.Union[kittycad.types.Unset, str], 'description_for_model': typing.Union[kittycad.types.Unset, str], 'legal_info_url': typing.Union[kittycad.types.Unset, str], 'logo_url': typing.Union[kittycad.types.Unset, str], 'name_for_human': typing.Union[kittycad.types.Unset, str], 'name_for_model': typing.Union[kittycad.types.Unset, str], 'schema_version': typing.Union[kittycad.types.Unset, str]}[source]
- __attrs_attrs__ = (Attribute(name='api', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, kittycad.models.ai_plugin_api.AiPluginApi], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='api'), Attribute(name='auth', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, kittycad.models.ai_plugin_auth.AiPluginAuth], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='auth'), Attribute(name='contact_email', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='contact_email'), Attribute(name='description_for_human', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='description_for_human'), Attribute(name='description_for_model', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='description_for_model'), Attribute(name='legal_info_url', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='legal_info_url'), Attribute(name='logo_url', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='logo_url'), Attribute(name='name_for_human', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='name_for_human'), Attribute(name='name_for_model', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='name_for_model'), Attribute(name='schema_version', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='schema_version'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties'))[source]
- __dict__ = mappingproxy({'__module__': 'kittycad.models.ai_plugin_manifest', '__annotations__': {'api': typing.Union[kittycad.types.Unset, kittycad.models.ai_plugin_api.AiPluginApi], 'auth': typing.Union[kittycad.types.Unset, kittycad.models.ai_plugin_auth.AiPluginAuth], 'contact_email': typing.Union[kittycad.types.Unset, str], 'description_for_human': typing.Union[kittycad.types.Unset, str], 'description_for_model': typing.Union[kittycad.types.Unset, str], 'legal_info_url': typing.Union[kittycad.types.Unset, str], 'logo_url': typing.Union[kittycad.types.Unset, str], 'name_for_human': typing.Union[kittycad.types.Unset, str], 'name_for_model': typing.Union[kittycad.types.Unset, str], 'schema_version': typing.Union[kittycad.types.Unset, str], 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': "AI plugin manifest.\n\n This is used for OpenAI's ChatGPT plugins. You can read more about them [here](https://platform.openai.com/docs/plugins/getting-started/plugin-manifest).\n ", 'to_dict': <function AiPluginManifest.to_dict>, 'from_dict': <classmethod(<function AiPluginManifest.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function AiPluginManifest.__getitem__>, '__setitem__': <function AiPluginManifest.__setitem__>, '__delitem__': <function AiPluginManifest.__delitem__>, '__contains__': <function AiPluginManifest.__contains__>, '__dict__': <attribute '__dict__' of 'AiPluginManifest' objects>, '__weakref__': <attribute '__weakref__' of 'AiPluginManifest' objects>, '__attrs_attrs__': (Attribute(name='api', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, kittycad.models.ai_plugin_api.AiPluginApi], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='api'), Attribute(name='auth', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, kittycad.models.ai_plugin_auth.AiPluginAuth], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='auth'), Attribute(name='contact_email', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='contact_email'), Attribute(name='description_for_human', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='description_for_human'), Attribute(name='description_for_model', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='description_for_model'), Attribute(name='legal_info_url', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='legal_info_url'), Attribute(name='logo_url', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='logo_url'), Attribute(name='name_for_human', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='name_for_human'), Attribute(name='name_for_model', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='name_for_model'), Attribute(name='schema_version', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='schema_version'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties')), '__repr__': <function AiPluginManifest.__repr__>, '__eq__': <function AiPluginManifest.__eq__>, '__ne__': <function AiPluginManifest.__ne__>, '__lt__': <function AiPluginManifest.__lt__>, '__le__': <function AiPluginManifest.__le__>, '__gt__': <function AiPluginManifest.__gt__>, '__ge__': <function AiPluginManifest.__ge__>, '__hash__': None, '__init__': <function AiPluginManifest.__init__>, '__match_args__': ('api', 'auth', 'contact_email', 'description_for_human', 'description_for_model', 'legal_info_url', 'logo_url', 'name_for_human', 'name_for_model', 'schema_version')})[source]
- __init__(api=<kittycad.types.Unset object>, auth=<kittycad.types.Unset object>, contact_email=<kittycad.types.Unset object>, description_for_human=<kittycad.types.Unset object>, description_for_model=<kittycad.types.Unset object>, legal_info_url=<kittycad.types.Unset object>, logo_url=<kittycad.types.Unset object>, name_for_human=<kittycad.types.Unset object>, name_for_model=<kittycad.types.Unset object>, schema_version=<kittycad.types.Unset object>)[source]
Method generated by attrs for class AiPluginManifest.
- __match_args__ = ('api', 'auth', 'contact_email', 'description_for_human', 'description_for_model', 'legal_info_url', 'logo_url', 'name_for_human', 'name_for_model', 'schema_version')[source]
-
api:
Union
[Unset
,AiPluginApi
][source]
-
auth:
Union
[Unset
,AiPluginAuth
][source]