Class
FoundryLlmConversation
Description [src]
abstract class Foundry.LlmConversation : GObject.Object
{
/* No available fields */
}
Abstract base class for managing conversations with large language models.
FoundryLlmConversation provides the core interface for interacting with language models including message management, tool integration, and conversation state tracking. Concrete implementations handle specific LLM providers and maintain conversation context for development assistance.
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: GObjectClassNo 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.