Auto-generated code for main (#2357)
This commit is contained in:
@ -3,10 +3,10 @@
|
||||
|
||||
[source, js]
|
||||
----
|
||||
const response = await client.transport.request({
|
||||
method: "PUT",
|
||||
path: "/_inference/completion/azure_openai_completion",
|
||||
body: {
|
||||
const response = await client.inference.put({
|
||||
task_type: "completion",
|
||||
inference_id: "azure_openai_completion",
|
||||
inference_config: {
|
||||
service: "azureopenai",
|
||||
service_settings: {
|
||||
api_key: "<api_key>",
|
||||
|
||||
Reference in New Issue
Block a user