com.databricks.sdk.service.serving.QueryEndpointResponse Maven / Gradle / Ivy
// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT.
package com.databricks.sdk.service.serving;
import com.databricks.sdk.support.Generated;
import com.databricks.sdk.support.Header;
import com.databricks.sdk.support.ToStringer;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Collection;
import java.util.Objects;
@Generated
public class QueryEndpointResponse {
/**
* The list of choices returned by the __chat or completions external/foundation model__ serving
* endpoint.
*/
@JsonProperty("choices")
private Collection choices;
/**
* The timestamp in seconds when the query was created in Unix time returned by a __completions or
* chat external/foundation model__ serving endpoint.
*/
@JsonProperty("created")
private Long created;
/**
* The list of the embeddings returned by the __embeddings external/foundation model__ serving
* endpoint.
*/
@JsonProperty("data")
private Collection data;
/**
* The ID of the query that may be returned by a __completions or chat external/foundation model__
* serving endpoint.
*/
@JsonProperty("id")
private String id;
/**
* The name of the __external/foundation model__ used for querying. This is the name of the model
* that was specified in the endpoint config.
*/
@JsonProperty("model")
private String model;
/**
* The type of object returned by the __external/foundation model__ serving endpoint, one of
* [text_completion, chat.completion, list (of embeddings)].
*/
@JsonProperty("object")
private QueryEndpointResponseObject object;
/** The predictions returned by the serving endpoint. */
@JsonProperty("predictions")
private Collection
© 2015 - 2024 Weber Informatics LLC | Privacy Policy