Skip to content

Latest commit

 

History

History
11 lines (10 loc) · 229 Bytes

b45a8c6fc746e9c90fd181e69a605fad.asciidoc

File metadata and controls

11 lines (10 loc) · 229 Bytes
resp = client.inference.inference(
    task_type="completion",
    inference_id="openai_chat_completions",
    body={"input": "What is Elastic?"},
)
print(resp)