openai-scala-google-gemini-client
openai-scala-google-gemini-client
API
io.cequence.openaiscala.gemini
JsonFormats
JsonFormats
io.cequence.openaiscala.gemini.domain
CachedContent
ChatRole
ChatRole
Model
User
Content
Content
DynamicRetrievalConfig
DynamicRetrievalPredictorMode
DynamicRetrievalPredictorMode
MODE_DYNAMIC
MODE_UNSPECIFIED
Expiration
Expiration
ExpireTime
TTL
FunctionDeclaration
HarmBlockThreshold
HarmBlockThreshold
BLOCK_LOW_AND_ABOVE
BLOCK_MEDIUM_AND_ABOVE
BLOCK_NONE
BLOCK_ONLY_HIGH
HARM_BLOCK_THRESHOLD_UNSPECIFIED
OFF
HarmCategory
HarmCategory
HARM_CATEGORY_CIVIC_INTEGRITY
HARM_CATEGORY_DANGEROUS
HARM_CATEGORY_DANGEROUS_CONTENT
HARM_CATEGORY_DEROGATORY
HARM_CATEGORY_HARASSMENT
HARM_CATEGORY_HATE_SPEECH
HARM_CATEGORY_MEDICAL
HARM_CATEGORY_SEXUAL
HARM_CATEGORY_SEXUALLY_EXPLICIT
HARM_CATEGORY_TOXICITY
HARM_CATEGORY_UNSPECIFIED
HARM_CATEGORY_VIOLENCE
HarmProbability
HarmProbability
HARM_PROBABILITY_UNSPECIFIED
HIGH
LOW
MEDIUM
NEGLIGIBLE
Modality
Modality
AUDIO
DOCUMENT
IMAGE
MODALITY_UNSPECIFIED
TEXT
VIDEO
Model
Part
Part
CodeExecutionResult
ExecutableCode
FileData
FunctionCall
FunctionResponse
InlineData
Text
PartPrefix
PartPrefix
codeExecutionResult
executableCode
fileData
functionCall
functionResponse
inlineData
text
Schema
SchemaType
SchemaType
ARRAY
BOOLEAN
INTEGER
NUMBER
OBJECT
STRING
TYPE_UNSPECIFIED
Tool
Tool
CodeExecution
FunctionDeclarations
GoogleSearch
GoogleSearchRetrieval
ToolPrefix
ToolPrefix
codeExecution
functionDeclarations
googleSearch
googleSearchRetrieval
io.cequence.openaiscala.gemini.domain.response
AttributionSourceId
AttributionSourceId
GroundingPassageId
SemanticRetrieverChunk
AttributionSourceIdPrefix
AttributionSourceIdPrefix
groundingPassage
semanticRetrieverChunk
BlockReason
BlockReason
BLOCKLIST
BLOCK_REASON_UNSPECIFIED
IMAGE_SAFETY
OTHER
PROHIBITED_CONTENT
SAFETY
Candidate
CitationMetadata
CitationSource
FinishReason
FinishReason
BLOCKLIST
FINISH_REASON_UNSPECIFIED
IMAGE_SAFETY
LANGUAGE
MALFORMED_FUNCTION_CALL
MAX_TOKENS
OTHER
PROHIBITED_CONTENT
RECITATION
SAFETY
SPII
STOP
GenerateContentResponse
GroundingAttribution
GroundingChunk
GroundingMetadata
GroundingSupport
ListCachedContentsResponse
ListModelsResponse
LogprobsResult
ModalityTokenCount
PromptFeedback
RetrievalMetadata
SafetyRating
SearchEntryPoint
Segment
TopCandidates
UsageMetadata
Web
io.cequence.openaiscala.gemini.domain.settings
CreateChatCompletionSettingsOps
RichGeminiCreateChatCompletionSettings
FunctionCallingMode
FunctionCallingMode
ANY
AUTO
MODE_UNSPECIFIED
NONE
GenerateContentSettings
GenerationConfig
PrebuiltVoiceConfig
SafetySetting
SpeechConfig
SpeechConfig
VoiceConfig
ToolConfig
ToolConfig
FunctionCallingConfig
io.cequence.openaiscala.gemini.service
GeminiService
GeminiServiceConsts
DefaultSettings
GeminiServiceFactory
io.cequence.openaiscala.gemini.service.impl
EndPoint
EndPoint
cachedContents
cachedContents
generateContent
models
streamGenerateContent
Param
Param
cachedContent
cached_content
contents
expireTime
generation_config
key
model
name
page_size
page_token
safety_settings
system_instruction
tool_config
tools
ttl
updateMask
openai-scala-google-gemini-client
/
io.cequence.openaiscala.gemini
/
JsonFormats
JsonFormats
io.cequence.openaiscala.gemini.JsonFormats
See the
JsonFormats
companion object
trait
JsonFormats
Attributes
Companion:
object
Graph
Reset zoom
Hide graph
Show graph
Supertypes
class
Object
trait
Matchable
class
Any
Known subtypes
object
JsonFormats
.type
Clear all
Members list
Concise view
Implicits
Implicits
implicit
val
attributionSourceIdFormat
:
Format
[
AttributionSourceId
]
implicit
val
attributionSourceIdReads
:
Reads
[
AttributionSourceId
]
implicit
val
attributionSourceIdWrites
:
Writes
[
AttributionSourceId
]
implicit
val
blockReasonFormat
:
Format
[
BlockReason
]
implicit
val
cachedContentFormat
:
Format
[
CachedContent
]
implicit
val
cachedContentReads
:
Reads
[
CachedContent
]
implicit
val
cachedContentWrites
:
Writes
[
CachedContent
]
implicit lazy
val
candidateFormat
:
Format
[
Candidate
]
implicit lazy
val
candidateReads
:
Reads
[
Candidate
]
implicit lazy
val
candidateWrites
:
Writes
[
Candidate
]
implicit
val
chatRoleFormat
:
Format
[
ChatRole
]
implicit
val
citationMetadataFormat
:
Format
[
CitationMetadata
]
implicit
val
citationSourceFormat
:
Format
[
CitationSource
]
implicit
val
contentFormat
:
Format
[
Content
]
implicit
val
contentReads
:
Reads
[
Content
]
implicit
val
contentWrites
:
Writes
[
Content
]
implicit
val
dynamicRetrievalConfigFormat
:
Format
[
DynamicRetrievalConfig
]
implicit
val
dynamicRetrievalPredictorModeFormat
:
Format
[
DynamicRetrievalPredictorMode
]
implicit
val
finishReasonFormat
:
Format
[
FinishReason
]
implicit
val
functionCallingModeFormat
:
Format
[
FunctionCallingMode
]
implicit
val
generateContentResponseFormat
:
Format
[
GenerateContentResponse
]
implicit
val
generationConfigFormat
:
Format
[
GenerationConfig
]
implicit
val
groundingAttributionFormat
:
Format
[
GroundingAttribution
]
implicit
val
groundingChunkFormat
:
Format
[
GroundingChunk
]
implicit
val
groundingMetadataFormat
:
Format
[
GroundingMetadata
]
implicit
val
groundingSupportFormat
:
Format
[
GroundingSupport
]
implicit lazy
val
harmBlockThresholdFormat
:
Format
[
HarmBlockThreshold
]
implicit lazy
val
harmCategoryFormat
:
Format
[
HarmCategory
]
implicit lazy
val
harmProbabilityFormat
:
Format
[
HarmProbability
]
implicit
val
listCachedContentsResponseFormat
:
Format
[
ListCachedContentsResponse
]
implicit
val
listModelsFormat
:
Format
[
ListModelsResponse
]
implicit lazy
val
logprobsResultFormat
:
Format
[
LogprobsResult
]
implicit lazy
val
logprobsResultReads
:
Reads
[
LogprobsResult
]
implicit lazy
val
logprobsResultWrites
:
Writes
[
LogprobsResult
]
implicit
val
modalityFormat
:
Format
[
Modality
]
implicit
val
modalityTokenCountFormat
:
Format
[
ModalityTokenCount
]
implicit
val
modelFormat
:
Format
[
Model
]
implicit
val
partFormat
:
Format
[
Part
]
implicit
val
partReads
:
Reads
[
Part
]
implicit
val
partWrites
:
Writes
[
Part
]
implicit
val
prebuiltVoiceConfigFormat
:
Format
[
PrebuiltVoiceConfig
]
implicit
val
promptFeedbackFormat
:
Format
[
PromptFeedback
]
implicit
val
promptFeedbackReads
:
Reads
[
PromptFeedback
]
implicit
val
promptFeedbackWrites
:
Writes
[
PromptFeedback
]
implicit
val
retrievalMetadataFormat
:
Format
[
RetrievalMetadata
]
implicit
val
safetyRatingFormat
:
Format
[
SafetyRating
]
implicit lazy
val
safetySettingFormat
:
Format
[
SafetySetting
]
implicit
val
schemaFormat
:
Format
[
Schema
]
implicit
val
schemaTypeFormat
:
Format
[
SchemaType
]
implicit
val
searchEntryPointFormat
:
Format
[
SearchEntryPoint
]
implicit
val
segmentFormat
:
Format
[
Segment
]
implicit
val
speechConfigFormat
:
Format
[
SpeechConfig
]
implicit
val
speechConfigReads
:
Reads
[
SpeechConfig
]
implicit
val
speechConfigWrites
:
Writes
[
SpeechConfig
]
implicit
val
toolConfigFormat
:
Format
[
ToolConfig
]
implicit
val
toolConfigReads
:
Reads
[
ToolConfig
]
implicit
val
toolConfigWrites
:
Writes
[
ToolConfig
]
implicit
val
toolFormat
:
Format
[
Tool
]
implicit
val
toolPrefixFormat
:
Format
[
ToolPrefix
]
implicit
val
toolReads
:
Reads
[
Tool
]
implicit
val
toolWrites
:
Writes
[
Tool
]
implicit lazy
val
topCandidatesFormat
:
Format
[
TopCandidates
]
implicit
val
usageMetadataFormat
:
Format
[
UsageMetadata
]
implicit
val
webFormat
:
Format
[
Web
]