GenerativeBackend

public final class GenerativeBackend

Represents a reference to a backend for generative AI.

Summary

Nested types

public static class GenerativeBackend.Companion

Public methods

boolean
equals(Object other)
static final @NonNull GenerativeBackend

References the Google Developer API backend.

int
static final @NonNull GenerativeBackend
vertexAI(@NonNull String location)

References the VertexAI Gemini API backend.

Public methods

equals

public boolean equals(Object other)

googleAI

public static final @NonNull GenerativeBackend googleAI()

References the Google Developer API backend.

hashCode

public int hashCode()

vertexAI

public static final @NonNull GenerativeBackend vertexAI(@NonNull String location)

References the VertexAI Gemini API backend.

Parameters
@NonNull String location

passes a valid cloud server location, defaults to "us-central1"