ChatFirebaseVertexAIOptions constructor

const ChatFirebaseVertexAIOptions({
  1. String? model,
  2. double? topP,
  3. int? topK,
  4. int? candidateCount,
  5. int? maxOutputTokens,
  6. double? temperature,
  7. List<String>? stopSequences,
  8. String? responseMimeType,
  9. Map<String, dynamic>? responseSchema,
  10. List<ChatFirebaseVertexAISafetySetting>? safetySettings,
  11. FirebaseAIBackend? backend,
  12. List<ToolSpec>? tools,
  13. ChatToolChoice? toolChoice,
  14. int concurrencyLimit = 1000,
})

Options to pass into the Vertex AI for Firebase model.

You can find a list of available models here: https://firebase.google.com/docs/vertex-ai/gemini-models

Implementation

const ChatFirebaseVertexAIOptions({
  super.model,
  this.topP,
  this.topK,
  this.candidateCount,
  this.maxOutputTokens,
  this.temperature,
  this.stopSequences,
  this.responseMimeType,
  this.responseSchema,
  this.safetySettings,
  this.backend,
  super.tools,
  super.toolChoice,
  super.concurrencyLimit,
});