diff --git a/specification/resources/inference/agent_inference_create_chat_completion.yml b/specification/resources/inference/agent_inference_create_chat_completion.yml index 5b4ffc23e..00d242290 100644 --- a/specification/resources/inference/agent_inference_create_chat_completion.yml +++ b/specification/resources/inference/agent_inference_create_chat_completion.yml @@ -55,6 +55,7 @@ responses: x-codeSamples: - $ref: 'examples/curl/agentInference_create_chat_completion.yml' - $ref: 'examples/python/agentInference_create_chat_completion.yml' + - $ref: 'examples/go/agentInference_create_chat_completion.yml' - $ref: 'examples/dots/agentInference_create_chat_completion.yml' security: - inference_bearer_auth: [] diff --git a/specification/resources/inference/examples/go/agentInference_create_chat_completion.yml b/specification/resources/inference/examples/go/agentInference_create_chat_completion.yml new file mode 100644 index 000000000..aece2c5b9 --- /dev/null +++ b/specification/resources/inference/examples/go/agentInference_create_chat_completion.yml @@ -0,0 +1,37 @@ +lang: Go +source: |- + package main + + import ( + "context" + "fmt" + "os" + + "github.com/digitalocean/godo" + ) + + func main() { + agent, err := godo.NewAgentInferenceClient( + os.Getenv("AGENT_ENDPOINT"), + os.Getenv("AGENT_ACCESS_KEY"), + ) + if err != nil { + panic(err) + } + + ctx := context.Background() + + completion, _, err := agent.Chat.Completions.New(ctx, &godo.ChatCompletionNewParams{ + Model: "llama3.3-70b-instruct", + Messages: []godo.ChatCompletionMessage{ + godo.UserMessage("What is the capital of Portugal?"), + }, + }) + if err != nil { + panic(err) + } + + if msg := completion.Choices[0].Message.Content; msg != nil { + fmt.Println(*msg) + } + } diff --git a/specification/resources/inference/examples/go/inference_async_invoke.yml b/specification/resources/inference/examples/go/inference_async_invoke.yml new file mode 100644 index 000000000..e502facb4 --- /dev/null +++ b/specification/resources/inference/examples/go/inference_async_invoke.yml @@ -0,0 +1,30 @@ +lang: Go +source: |- + package main + + import ( + "context" + "fmt" + "os" + + "github.com/digitalocean/godo" + ) + + func main() { + client := godo.NewFromToken(os.Getenv("DIGITALOCEAN_TOKEN")) + ctx := context.Background() + + // Async invoke uses model_id + a free-form input map. Shape of input + // depends on the model (image, audio, TTS, and so on). + invocation, _, err := client.AsyncInvocations.New(ctx, &godo.AsyncInvocationNewParams{ + ModelID: "fal-ai/flux/schnell", + Input: map[string]interface{}{ + "prompt": "A futuristic city at sunset", + }, + }) + if err != nil { + panic(err) + } + + fmt.Println(invocation.RequestID, invocation.Status) + } diff --git a/specification/resources/inference/examples/go/inference_cancel_batch.yml b/specification/resources/inference/examples/go/inference_cancel_batch.yml new file mode 100644 index 000000000..d649d55e3 --- /dev/null +++ b/specification/resources/inference/examples/go/inference_cancel_batch.yml @@ -0,0 +1,27 @@ +lang: Go +source: |- + package main + + import ( + "context" + "fmt" + "os" + + "github.com/digitalocean/godo" + ) + + func main() { + client := godo.NewFromToken(os.Getenv("DIGITALOCEAN_TOKEN")) + ctx := context.Background() + + batch, _, err := client.BatchInference.CancelJob(ctx, os.Getenv("BATCH_ID")) + if err != nil { + panic(err) + } + + fmt.Println("batch_id:", batch.BatchID) + fmt.Println("status: ", batch.Status) + if batch.CancelRequestedAt != nil { + fmt.Println("cancel_requested_at:", *batch.CancelRequestedAt) + } + } diff --git a/specification/resources/inference/examples/go/inference_create_batch.yml b/specification/resources/inference/examples/go/inference_create_batch.yml new file mode 100644 index 000000000..7e5160400 --- /dev/null +++ b/specification/resources/inference/examples/go/inference_create_batch.yml @@ -0,0 +1,37 @@ +lang: Go +source: |- + package main + + import ( + "context" + "crypto/rand" + "encoding/hex" + "fmt" + "os" + + "github.com/digitalocean/godo" + ) + + func main() { + client := godo.NewFromToken(os.Getenv("DIGITALOCEAN_TOKEN")) + ctx := context.Background() + + id := make([]byte, 16) + if _, err := rand.Read(id); err != nil { + panic(err) + } + + batch, _, err := client.BatchInference.CreateJob(ctx, &godo.CreateBatchRequest{ + FileID: os.Getenv("BATCH_INPUT_FILE_ID"), + Provider: "openai", + Endpoint: "/v1/chat/completions", + CompletionWindow: "24h", + RequestID: hex.EncodeToString(id), + }) + if err != nil { + panic(err) + } + + fmt.Println("batch_id:", batch.BatchID) + fmt.Println("status: ", batch.Status) + } diff --git a/specification/resources/inference/examples/go/inference_create_batch_file.yml b/specification/resources/inference/examples/go/inference_create_batch_file.yml new file mode 100644 index 000000000..04124a6e1 --- /dev/null +++ b/specification/resources/inference/examples/go/inference_create_batch_file.yml @@ -0,0 +1,26 @@ +lang: Go +source: |- + package main + + import ( + "context" + "fmt" + "os" + + "github.com/digitalocean/godo" + ) + + func main() { + client := godo.NewFromToken(os.Getenv("DIGITALOCEAN_TOKEN")) + ctx := context.Background() + + intent, _, err := client.BatchInference.CreatePresignedUploadURL(ctx, &godo.CreateBatchFileRequest{ + FileName: "batch_requests.jsonl", + }) + if err != nil { + panic(err) + } + + fmt.Println("file_id: ", intent.FileID) + fmt.Println("upload_url:", intent.UploadURL) + } diff --git a/specification/resources/inference/examples/go/inference_create_chat_completion.yml b/specification/resources/inference/examples/go/inference_create_chat_completion.yml new file mode 100644 index 000000000..95bb3dc9c --- /dev/null +++ b/specification/resources/inference/examples/go/inference_create_chat_completion.yml @@ -0,0 +1,30 @@ +lang: Go +source: |- + package main + + import ( + "context" + "fmt" + "os" + + "github.com/digitalocean/godo" + ) + + func main() { + client := godo.NewFromToken(os.Getenv("DIGITALOCEAN_TOKEN")) + ctx := context.Background() + + completion, _, err := client.Chat.Completions.New(ctx, &godo.ChatCompletionNewParams{ + Model: "llama3.3-70b-instruct", + Messages: []godo.ChatCompletionMessage{ + godo.UserMessage("What is the capital of Portugal?"), + }, + }) + if err != nil { + panic(err) + } + + if msg := completion.Choices[0].Message.Content; msg != nil { + fmt.Println(*msg) + } + } diff --git a/specification/resources/inference/examples/go/inference_create_embeddings.yml b/specification/resources/inference/examples/go/inference_create_embeddings.yml new file mode 100644 index 000000000..b956ce947 --- /dev/null +++ b/specification/resources/inference/examples/go/inference_create_embeddings.yml @@ -0,0 +1,39 @@ +lang: Go +source: |- + package main + + import ( + "context" + "encoding/json" + "fmt" + "os" + + "github.com/digitalocean/godo" + ) + + func main() { + client := godo.NewFromToken(os.Getenv("DIGITALOCEAN_TOKEN")) + ctx := context.Background() + + resp, _, err := client.Embeddings.New(ctx, &godo.EmbeddingNewParams{ + Model: "qwen3-embedding-0.6b", + Input: []string{"hello world", "goodbye world"}, + EncodingFormat: "float", + User: "user-1234", + }) + if err != nil { + panic(err) + } + + for _, item := range resp.Data { + var vec []float32 + if err := json.Unmarshal(item.Embedding, &vec); err != nil { + panic(err) + } + head := vec + if len(head) > 8 { + head = head[:8] + } + fmt.Println(item.Index, head) + } + } diff --git a/specification/resources/inference/examples/go/inference_create_image.yml b/specification/resources/inference/examples/go/inference_create_image.yml new file mode 100644 index 000000000..be955a0ee --- /dev/null +++ b/specification/resources/inference/examples/go/inference_create_image.yml @@ -0,0 +1,29 @@ +lang: Go +source: |- + package main + + import ( + "context" + "fmt" + "os" + + "github.com/digitalocean/godo" + ) + + func main() { + client := godo.NewFromToken(os.Getenv("DIGITALOCEAN_TOKEN")) + ctx := context.Background() + + resp, _, err := client.ImageGenerations.Generate(ctx, &godo.ImageGenerateParams{ + Model: "openai-gpt-image-1", + Prompt: "A cute baby sea otter floating on its back in calm blue water", + Size: godo.PtrTo("auto"), + Quality: godo.PtrTo("auto"), + N: 1, + }) + if err != nil { + panic(err) + } + + fmt.Println(resp.Data[0].B64JSON) + } diff --git a/specification/resources/inference/examples/go/inference_create_messages.yml b/specification/resources/inference/examples/go/inference_create_messages.yml new file mode 100644 index 000000000..ad045cc75 --- /dev/null +++ b/specification/resources/inference/examples/go/inference_create_messages.yml @@ -0,0 +1,39 @@ +lang: Go +source: |- + package main + + import ( + "context" + "encoding/json" + "fmt" + "os" + + "github.com/digitalocean/godo" + ) + + func main() { + client := godo.NewFromToken(os.Getenv("DIGITALOCEAN_TOKEN")) + ctx := context.Background() + + content, err := json.Marshal("What is the capital of Portugal?") + if err != nil { + panic(err) + } + + msg, _, err := client.Messages.New(ctx, &godo.MessageNewParams{ + Model: "claude-opus-4-6", + MaxTokens: 1024, + Messages: []godo.MessageParam{ + {Role: "user", Content: content}, + }, + }) + if err != nil { + panic(err) + } + + for _, block := range msg.Content { + if block.Type == "text" { + fmt.Println(block.Text) + } + } + } diff --git a/specification/resources/inference/examples/go/inference_create_response.yml b/specification/resources/inference/examples/go/inference_create_response.yml new file mode 100644 index 000000000..daacaabef --- /dev/null +++ b/specification/resources/inference/examples/go/inference_create_response.yml @@ -0,0 +1,28 @@ +lang: Go +source: |- + package main + + import ( + "context" + "fmt" + "os" + + "github.com/digitalocean/godo" + ) + + func main() { + client := godo.NewFromToken(os.Getenv("DIGITALOCEAN_TOKEN")) + ctx := context.Background() + + resp, _, err := client.Responses.New(ctx, &godo.ResponseNewParams{ + Model: "openai-gpt-oss-20b", + Input: "What is the capital of France?", + MaxOutputTokens: godo.PtrTo(50), + Temperature: godo.PtrTo(0.7), + }) + if err != nil { + panic(err) + } + + fmt.Println(resp.OutputText()) + } diff --git a/specification/resources/inference/examples/go/inference_get_batch.yml b/specification/resources/inference/examples/go/inference_get_batch.yml new file mode 100644 index 000000000..6a492ab88 --- /dev/null +++ b/specification/resources/inference/examples/go/inference_get_batch.yml @@ -0,0 +1,28 @@ +lang: Go +source: |- + package main + + import ( + "context" + "fmt" + "os" + + "github.com/digitalocean/godo" + ) + + func main() { + client := godo.NewFromToken(os.Getenv("DIGITALOCEAN_TOKEN")) + ctx := context.Background() + + batch, _, err := client.BatchInference.GetJob(ctx, os.Getenv("BATCH_ID")) + if err != nil { + panic(err) + } + + fmt.Println("batch_id: ", batch.BatchID) + fmt.Println("status: ", batch.Status) + fmt.Println("result_available:", batch.ResultAvailable) + if batch.RequestCounts != nil { + fmt.Printf("request_counts: %+v\n", *batch.RequestCounts) + } + } diff --git a/specification/resources/inference/examples/go/inference_get_batch_results.yml b/specification/resources/inference/examples/go/inference_get_batch_results.yml new file mode 100644 index 000000000..2bd1369a2 --- /dev/null +++ b/specification/resources/inference/examples/go/inference_get_batch_results.yml @@ -0,0 +1,53 @@ +lang: Go +source: |- + package main + + import ( + "context" + "fmt" + "io" + "net/http" + "os" + + "github.com/digitalocean/godo" + ) + + func main() { + client := godo.NewFromToken(os.Getenv("DIGITALOCEAN_TOKEN")) + ctx := context.Background() + + batchID := os.Getenv("BATCH_ID") + + batch, _, err := client.BatchInference.GetJob(ctx, batchID) + if err != nil { + panic(err) + } + if !batch.ResultAvailable { + fmt.Println("results not ready yet; poll batch status and retry") + os.Exit(0) + } + + links, _, err := client.BatchInference.GetJobResult(ctx, batchID) + if err != nil { + panic(err) + } + + resp, err := http.Get(links.Download.PresignedURL) + if err != nil { + panic(err) + } + defer resp.Body.Close() + + out, err := os.Create("batch_output.jsonl") + if err != nil { + panic(err) + } + defer out.Close() + + if _, err := io.Copy(out, resp.Body); err != nil { + panic(err) + } + + fmt.Println("wrote: batch_output.jsonl") + fmt.Println("output_file_id:", links.OutputFileID) + } diff --git a/specification/resources/inference/examples/go/inference_list_batches.yml b/specification/resources/inference/examples/go/inference_list_batches.yml new file mode 100644 index 000000000..bfdedbce7 --- /dev/null +++ b/specification/resources/inference/examples/go/inference_list_batches.yml @@ -0,0 +1,31 @@ +lang: Go +source: |- + package main + + import ( + "context" + "fmt" + "os" + + "github.com/digitalocean/godo" + ) + + func main() { + client := godo.NewFromToken(os.Getenv("DIGITALOCEAN_TOKEN")) + ctx := context.Background() + + resp, _, err := client.BatchInference.ListJobs(ctx, &godo.ListBatchesOptions{ + Limit: 20, + }) + if err != nil { + panic(err) + } + + for _, edge := range resp.Edges { + b := edge.Node + fmt.Printf("%s\t%s\t%s\n", b.BatchID, b.Status, b.CreatedAt) + } + + fmt.Println("has_next_page:", resp.PageInfo.HasNextPage) + fmt.Println("end_cursor: ", resp.PageInfo.EndCursor) + } diff --git a/specification/resources/inference/examples/go/inference_list_models.yml b/specification/resources/inference/examples/go/inference_list_models.yml new file mode 100644 index 000000000..e8d9d5783 --- /dev/null +++ b/specification/resources/inference/examples/go/inference_list_models.yml @@ -0,0 +1,25 @@ +lang: Go +source: |- + package main + + import ( + "context" + "fmt" + "os" + + "github.com/digitalocean/godo" + ) + + func main() { + client := godo.NewFromToken(os.Getenv("DIGITALOCEAN_TOKEN")) + ctx := context.Background() + + page, _, err := client.Models.List(ctx) + if err != nil { + panic(err) + } + + for _, model := range page.Data { + fmt.Println(model.ID) + } + } diff --git a/specification/resources/inference/examples/go/inference_upload_batch_file.yml b/specification/resources/inference/examples/go/inference_upload_batch_file.yml new file mode 100644 index 000000000..06f6b0f68 --- /dev/null +++ b/specification/resources/inference/examples/go/inference_upload_batch_file.yml @@ -0,0 +1,38 @@ +lang: Go +source: |- + package main + + import ( + "context" + "fmt" + "os" + + "github.com/digitalocean/godo" + ) + + func main() { + // Two-step upload flow: + // 1. Reserve a file_id + presigned upload_url via CreatePresignedUploadURL. + // 2. PUT the raw JSONL bytes with UploadInputFile. + client := godo.NewFromToken(os.Getenv("DIGITALOCEAN_TOKEN")) + ctx := context.Background() + + intent, _, err := client.BatchInference.CreatePresignedUploadURL(ctx, &godo.CreateBatchFileRequest{ + FileName: "batch_requests.jsonl", + }) + if err != nil { + panic(err) + } + + fh, err := os.Open("batch_requests.jsonl") + if err != nil { + panic(err) + } + defer fh.Close() + + if _, err := client.BatchInference.UploadInputFile(ctx, intent.UploadURL, fh); err != nil { + panic(err) + } + + fmt.Println("uploaded file_id:", intent.FileID) + } diff --git a/specification/resources/inference/inference_async_invoke.yml b/specification/resources/inference/inference_async_invoke.yml index 104e4147b..0b41ed91b 100644 --- a/specification/resources/inference/inference_async_invoke.yml +++ b/specification/resources/inference/inference_async_invoke.yml @@ -76,6 +76,7 @@ responses: x-codeSamples: - $ref: 'examples/curl/inference_async_invoke.yml' - $ref: 'examples/python/inference_async_invoke.yml' + - $ref: 'examples/go/inference_async_invoke.yml' - $ref: 'examples/dots/inference_async_invoke.yml' security: - inference_bearer_auth: [] diff --git a/specification/resources/inference/inference_cancel_batch.yml b/specification/resources/inference/inference_cancel_batch.yml index a7c5b6b5e..3a3e6874e 100644 --- a/specification/resources/inference/inference_cancel_batch.yml +++ b/specification/resources/inference/inference_cancel_batch.yml @@ -58,6 +58,7 @@ responses: x-codeSamples: - $ref: 'examples/curl/inference_cancel_batch.yml' - $ref: 'examples/python/inference_cancel_batch.yml' + - $ref: 'examples/go/inference_cancel_batch.yml' - $ref: 'examples/dots/inference_cancel_batch.yml' security: - inference_bearer_auth: [] diff --git a/specification/resources/inference/inference_create_batch.yml b/specification/resources/inference/inference_create_batch.yml index a2b4f6d02..134e722af 100644 --- a/specification/resources/inference/inference_create_batch.yml +++ b/specification/resources/inference/inference_create_batch.yml @@ -80,6 +80,7 @@ responses: x-codeSamples: - $ref: 'examples/curl/inference_create_batch.yml' - $ref: 'examples/python/inference_create_batch.yml' + - $ref: 'examples/go/inference_create_batch.yml' - $ref: 'examples/dots/inference_create_batch.yml' security: - inference_bearer_auth: [] diff --git a/specification/resources/inference/inference_create_batch_file.yml b/specification/resources/inference/inference_create_batch_file.yml index 13e4702b0..662692c96 100644 --- a/specification/resources/inference/inference_create_batch_file.yml +++ b/specification/resources/inference/inference_create_batch_file.yml @@ -52,6 +52,7 @@ responses: x-codeSamples: - $ref: 'examples/curl/inference_create_batch_file.yml' - $ref: 'examples/python/inference_create_batch_file.yml' + - $ref: 'examples/go/inference_create_batch_file.yml' - $ref: 'examples/dots/inference_create_batch_file.yml' security: - inference_bearer_auth: [] diff --git a/specification/resources/inference/inference_create_chat_completion.yml b/specification/resources/inference/inference_create_chat_completion.yml index fe9199277..5fefca8c5 100644 --- a/specification/resources/inference/inference_create_chat_completion.yml +++ b/specification/resources/inference/inference_create_chat_completion.yml @@ -41,6 +41,7 @@ responses: x-codeSamples: - $ref: 'examples/curl/inference_create_chat_completion.yml' - $ref: 'examples/python/inference_create_chat_completion.yml' + - $ref: 'examples/go/inference_create_chat_completion.yml' - $ref: 'examples/dots/inference_create_chat_completion.yml' security: - inference_bearer_auth: [] diff --git a/specification/resources/inference/inference_create_embeddings.yml b/specification/resources/inference/inference_create_embeddings.yml index 0f29542f8..31dfc972f 100644 --- a/specification/resources/inference/inference_create_embeddings.yml +++ b/specification/resources/inference/inference_create_embeddings.yml @@ -41,6 +41,7 @@ responses: x-codeSamples: - $ref: 'examples/curl/inference_create_embeddings.yml' - $ref: 'examples/python/inference_create_embeddings.yml' + - $ref: 'examples/go/inference_create_embeddings.yml' - $ref: 'examples/dots/inference_create_embeddings.yml' security: - inference_bearer_auth: [] diff --git a/specification/resources/inference/inference_create_image.yml b/specification/resources/inference/inference_create_image.yml index ec598cd2f..7896b8228 100644 --- a/specification/resources/inference/inference_create_image.yml +++ b/specification/resources/inference/inference_create_image.yml @@ -40,6 +40,7 @@ responses: x-codeSamples: - $ref: 'examples/curl/inference_create_image.yml' - $ref: 'examples/python/inference_create_image.yml' + - $ref: 'examples/go/inference_create_image.yml' - $ref: 'examples/dots/inference_create_image.yml' security: - inference_bearer_auth: [] diff --git a/specification/resources/inference/inference_create_messages.yml b/specification/resources/inference/inference_create_messages.yml index 3b4983ad9..2b5170b94 100644 --- a/specification/resources/inference/inference_create_messages.yml +++ b/specification/resources/inference/inference_create_messages.yml @@ -59,6 +59,7 @@ responses: x-codeSamples: - $ref: 'examples/curl/inference_create_messages.yml' - $ref: 'examples/python/inference_create_messages.yml' + - $ref: 'examples/go/inference_create_messages.yml' - $ref: 'examples/dots/inference_create_messages.yml' security: - inference_bearer_auth: [] diff --git a/specification/resources/inference/inference_create_response.yml b/specification/resources/inference/inference_create_response.yml index 50481de77..3250a5afd 100644 --- a/specification/resources/inference/inference_create_response.yml +++ b/specification/resources/inference/inference_create_response.yml @@ -42,6 +42,7 @@ responses: x-codeSamples: - $ref: 'examples/curl/inference_create_response.yml' - $ref: 'examples/python/inference_create_response.yml' + - $ref: 'examples/go/inference_create_response.yml' - $ref: 'examples/dots/inference_create_response.yml' security: - inference_bearer_auth: [] diff --git a/specification/resources/inference/inference_get_batch.yml b/specification/resources/inference/inference_get_batch.yml index 35c025f72..9d90db28c 100644 --- a/specification/resources/inference/inference_get_batch.yml +++ b/specification/resources/inference/inference_get_batch.yml @@ -47,6 +47,7 @@ responses: x-codeSamples: - $ref: 'examples/curl/inference_get_batch.yml' - $ref: 'examples/python/inference_get_batch.yml' + - $ref: 'examples/go/inference_get_batch.yml' - $ref: 'examples/dots/inference_get_batch.yml' security: - inference_bearer_auth: [] diff --git a/specification/resources/inference/inference_get_batch_results.yml b/specification/resources/inference/inference_get_batch_results.yml index 644bf4e74..8700d75d4 100644 --- a/specification/resources/inference/inference_get_batch_results.yml +++ b/specification/resources/inference/inference_get_batch_results.yml @@ -70,6 +70,7 @@ responses: x-codeSamples: - $ref: 'examples/curl/inference_get_batch_results.yml' - $ref: 'examples/python/inference_get_batch_results.yml' + - $ref: 'examples/go/inference_get_batch_results.yml' - $ref: 'examples/dots/inference_get_batch_results.yml' security: - inference_bearer_auth: [] diff --git a/specification/resources/inference/inference_list_batches.yml b/specification/resources/inference/inference_list_batches.yml index 85b57b136..e5d1b814e 100644 --- a/specification/resources/inference/inference_list_batches.yml +++ b/specification/resources/inference/inference_list_batches.yml @@ -76,6 +76,7 @@ responses: x-codeSamples: - $ref: 'examples/curl/inference_list_batches.yml' - $ref: 'examples/python/inference_list_batches.yml' + - $ref: 'examples/go/inference_list_batches.yml' - $ref: 'examples/dots/inference_list_batches.yml' security: - inference_bearer_auth: [] diff --git a/specification/resources/inference/inference_list_models.yml b/specification/resources/inference/inference_list_models.yml index 002321f2f..da01b7924 100644 --- a/specification/resources/inference/inference_list_models.yml +++ b/specification/resources/inference/inference_list_models.yml @@ -31,6 +31,7 @@ responses: x-codeSamples: - $ref: 'examples/curl/inference_list_models.yml' - $ref: 'examples/python/inference_list_models.yml' + - $ref: 'examples/go/inference_list_models.yml' - $ref: 'examples/dots/inference_list_models.yml' security: - inference_bearer_auth: [] diff --git a/specification/resources/inference/inference_upload_batch_file.yml b/specification/resources/inference/inference_upload_batch_file.yml index 6b17da9ac..7085d1ed8 100644 --- a/specification/resources/inference/inference_upload_batch_file.yml +++ b/specification/resources/inference/inference_upload_batch_file.yml @@ -70,5 +70,6 @@ responses: x-codeSamples: - $ref: 'examples/curl/inference_upload_batch_file.yml' - $ref: 'examples/python/inference_upload_batch_file.yml' + - $ref: 'examples/go/inference_upload_batch_file.yml' - $ref: 'examples/dots/inference_upload_batch_file.yml' security: []