Foundry.LlmCompletionChunk

g Foundry.LlmCompletionChunk Foundry.LlmCompletionChunk GObject.Object GObject.Object GObject.Object->Foundry.LlmCompletionChunk

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

dup_text ()

is_done ()

Virtual Methods

Inherited:

GObject.Object (7)

do_dup_text ()

do_is_done ()

Properties

Name

Type

Flags

Short Description

is-done

bool

r

text

str

r

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent_instance

GObject.Object

r

Class Details

class Foundry.LlmCompletionChunk(**kwargs)
Bases:

GObject.Object

Abstract:

Yes

Structure:

Foundry.LlmCompletionChunkClass

dup_text()
Return type:

str or None

is_done()
Returns:

True if this is the last chunk

Return type:

bool

do_dup_text() virtual
Return type:

str or None

do_is_done() virtual
Returns:

True if this is the last chunk

Return type:

bool

Property Details

Foundry.LlmCompletionChunk.props.is_done
Name:

is-done

Type:

bool

Default Value:

True

Flags:

READABLE

Foundry.LlmCompletionChunk.props.text
Name:

text

Type:

str

Default Value:

None

Flags:

READABLE