GenerativeBackend.Companion

public static class GenerativeBackend.Companion


Summary

Public methods

static final @NonNull GenerativeBackend

References the Agent Platform Gemini API.

static final @NonNull GenerativeBackend

References the Google Developer API backend.

Public methods

agentPlatform

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

References the Agent Platform Gemini API.

Parameters
@NonNull String location

passes a valid cloud server location, defaults to "global"

googleAI

public static final @NonNull GenerativeBackend googleAI()

References the Google Developer API backend.