Class
FoundryLlmConversation
Instance methods
foundry_llm_conversation_send_message
The role should generally be something like “system”, “user”, “assistant”, or “tool”.
Signals
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.
Class structure
struct FoundryLlmConversationClass {
GObjectClass parent_class;
DexFuture* (* add_context) (
FoundryLlmConversation* self,
const char* context
);
DexFuture* (* send_messages) (
FoundryLlmConversation* self,
const char* const* roles,
const char* const* messages
);
void (* reset) (
FoundryLlmConversation* self
);
GListModel* (* list_history) (
FoundryLlmConversation* self
);
DexFuture* (* call) (
FoundryLlmConversation* self,
FoundryLlmToolCall* call
);
gboolean (* is_busy) (
FoundryLlmConversation* self
);
}
No description available.
Class members
parent_class: GObjectClass
No description available.
add_context: DexFuture* (* add_context) ( FoundryLlmConversation* self, const char* context )
No description available.
send_messages: DexFuture* (* send_messages) ( FoundryLlmConversation* self, const char* const* roles, const char* const* messages )
No description available.
reset: void (* reset) ( FoundryLlmConversation* self )
No description available.
list_history: GListModel* (* list_history) ( FoundryLlmConversation* self )
No description available.
call: DexFuture* (* call) ( FoundryLlmConversation* self, FoundryLlmToolCall* call )
No description available.
is_busy: gboolean (* is_busy) ( FoundryLlmConversation* self )
No description available.