MaximGeminiChatSession
__init__
| Name | Description |
|---|---|
chat | The chat. |
logger | The logger. |
trace_id | The trace id. |
is_local_trace | Whether the trace is local. |
send_message
| Name | Description |
|---|---|
message | The message to send. |
generation_name | The name of the generation. |
| Name | Description |
|---|---|
GenerateContentResponse | The response from the Maxim wrapped Gemini chat session. |
send_message_stream
| Name | Description |
|---|---|
message | The message to send. |
generation_name | The name of the generation. |
__getattr__
| Name | Description |
|---|---|
name | The name of the attribute. |
| Name | Description |
|---|---|
Any | The attribute. |
__setattr__
| Name | Description |
|---|---|
name | The name of the attribute. |
value | The value of the attribute. |
end_trace
MaximGeminiChats
__init__
| Name | Description |
|---|---|
chats | The chats. |
logger | The logger. |
create
| Name | Description |
|---|---|
model | The model to use. |
config | The config to use. |
history | The history to use. |
trace_id | The trace id. |
session_id | The session id. |
| Name | Description |
|---|---|
Chat | The Maxim wrapped Gemini chat session. |
__getattr__
| Name | Description |
|---|---|
name | The name of the attribute. |
| Name | Description |
|---|---|
Any | The attribute. |
__setattr__
| Name | Description |
|---|---|
name | The name of the attribute. |
value | The value of the attribute. |
MaximGeminiModels
__init__
| Name | Description |
|---|---|
models | The models. |
logger | The logger. |
generate_content_stream
| Name | Description |
|---|---|
model | The model to use. |
contents | The contents to use. |
config | The config to use. |
trace_id | The trace id. |
generation_name | The generation name. |
| Name | Description |
|---|---|
Iterator[GenerateContentResponse] | The content stream. |
generate_content
| Name | Description |
|---|---|
model | The model to use. |
contents | The contents to use. |
config | The config to use. |
trace_id | The trace id. |
generation_name | The generation name. |
| Name | Description |
|---|---|
GenerateContentResponse | The content. |
__getattr__
| Name | Description |
|---|---|
name | The name of the attribute. |
| Name | Description |
|---|---|
Any | The attribute. |
__setattr__
| Name | Description |
|---|---|
name | The name of the attribute. |
value | The value of the attribute. |
MaximGeminiClient
__init__
| Name | Description |
|---|---|
client | The client. |
logger | The logger. |
chats
| Name | Description |
|---|---|
[MaximGeminiChats](/sdk/python/references/logger/gemini/client) | The Maxim wrapped Gemini chats. |
aio
| Name | Description |
|---|---|
[MaximGeminiAsyncClient](/sdk/python/references/logger/gemini/async_client) | The Maxim wrapped Gemini async client. |
models
| Name | Description |
|---|---|
[MaximGeminiModels](/sdk/python/references/logger/gemini/client) | The Maxim wrapped Gemini models. |
__getattr__
| Name | Description |
|---|---|
name | The name of the attribute. |
| Name | Description |
|---|---|
Any | The attribute. |
__setattr__
| Name | Description |
|---|---|
name | The name of the attribute. |
value | The value of the attribute. |