Skip to main content

Module utils

Module utils 

Source

Macros§

execute_function_calls
Macro to execute function calls requested by Gemini and update the session history.

Structs§

MarkdownToParts
Converts markdown to parts considering ![image](link) means Gemini will be see the images too. link can be URL or file path.
MarkdownToPartsBuilder

Traits§

GeminiSchema
Trait for types that can generate a Gemini-compatible JSON schema.

Attribute Macros§

gemini_function
Attribute macro to mark a function as callable by Gemini.
gemini_schema
Attribute macro to derive the GeminiSchema trait for a struct or enum.