snowflake.ml.model.openai_signatures.OPENAI_CHAT_SIGNATURE

snowflake.ml.model.openai_signatures.OPENAI_CHAT_SIGNATURE = {'__call__': ModelSignature(                     inputs=[                         FeatureGroupSpec(                 name='messages',                 specs=[                     FeatureSpec(dtype=DataType.STRING, name='content', nullable=True), FeatureSpec(dtype=DataType.STRING, name='name', nullable=True), FeatureSpec(dtype=DataType.STRING, name='role', nullable=True), FeatureSpec(dtype=DataType.STRING, name='title', nullable=True)                 ], shape=(-1,)             ) , FeatureSpec(dtype=DataType.DOUBLE, name='temperature', nullable=True), FeatureSpec(dtype=DataType.INT64, name='max_completion_tokens', nullable=True), FeatureSpec(dtype=DataType.STRING, name='stop', shape=(-1,), nullable=True), FeatureSpec(dtype=DataType.INT32, name='n', nullable=True), FeatureSpec(dtype=DataType.BOOL, name='stream', nullable=True), FeatureSpec(dtype=DataType.DOUBLE, name='top_p', nullable=True), FeatureSpec(dtype=DataType.DOUBLE, name='frequency_penalty', nullable=True), FeatureSpec(dtype=DataType.DOUBLE, name='presence_penalty', nullable=True)                     ],                     outputs=[                         FeatureSpec(dtype=DataType.STRING, name='id', nullable=True), FeatureSpec(dtype=DataType.STRING, name='object', nullable=True), FeatureSpec(dtype=DataType.FLOAT, name='created', nullable=True), FeatureSpec(dtype=DataType.STRING, name='model', nullable=True), FeatureGroupSpec(                 name='choices',                 specs=[                     FeatureSpec(dtype=DataType.INT32, name='index', nullable=True), FeatureGroupSpec(                 name='message',                 specs=[                     FeatureSpec(dtype=DataType.STRING, name='content', nullable=True), FeatureSpec(dtype=DataType.STRING, name='name', nullable=True), FeatureSpec(dtype=DataType.STRING, name='role', nullable=True)                 ]             ) , FeatureSpec(dtype=DataType.STRING, name='logprobs', nullable=True), FeatureSpec(dtype=DataType.STRING, name='finish_reason', nullable=True)                 ], shape=(-1,)             ) , FeatureGroupSpec(                 name='usage',                 specs=[                     FeatureSpec(dtype=DataType.INT32, name='completion_tokens', nullable=True), FeatureSpec(dtype=DataType.INT32, name='prompt_tokens', nullable=True), FeatureSpec(dtype=DataType.INT32, name='total_tokens', nullable=True)                 ]             )                      ]                 )}

dict() -> new empty dictionary dict(mapping) -> new dictionary initialized from a mapping object’s

(key, value) pairs

dict(iterable) -> new dictionary initialized as if via:

d = {} for k, v in iterable:

d[k] = v

dict(**kwargs) -> new dictionary initialized with the name=value pairs

in the keyword argument list. For example: dict(one=1, two=2)