Foundry.LlmMessage¶
- Subclasses:
Methods¶
- Inherited:
- Structs:
|
|
|
|
Virtual Methods¶
- Inherited:
|
|
Properties¶
Name |
Type |
Flags |
Short Description |
|---|---|---|---|
r |
|||
r |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
|---|---|---|---|
parent_instance |
r |
Class Details¶
- class Foundry.LlmMessage(**kwargs)¶
- Bases:
- Abstract:
Yes
- Structure:
- dup_role()¶
- Returns:
the role as a string
- Return type:
The role of the message such as “system”, “user”, “assistant”, or “tool”.
- list_tool_calls()¶
- Returns:
a [iface`Gio`.ListModel] of [class`Foundry`.LlmToolCall] or
None- Return type:
- do_dup_role() virtual¶
- Returns:
the role as a string
- Return type:
The role of the message such as “system”, “user”, “assistant”, or “tool”.