Skip to content

Latest commit

 

History

History
17 lines (16 loc) · 347 Bytes

59d736a4d064ed2013c7ead8e32e0998.asciidoc

File metadata and controls

17 lines (16 loc) · 347 Bytes
resp = client.inference.put_model(
    task_type="completion",
    inference_id="openai-completion",
    body={
        "service": "openai",
        "service_settings": {
            "api_key": "<api_key>",
            "model_id": "gpt-3.5-turbo",
        },
    },
)
print(resp)