Foundry.LlmCompletion¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
|
|
Virtual Methods¶
- Inherited:
Properties¶
None
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
|---|---|---|---|
parent_instance |
r |
Class Details¶
- class Foundry.LlmCompletion(**kwargs)¶
- Bases:
- Abstract:
Yes
- Structure:
- next_chunk()¶
- Returns:
a [class`Dex`.Future] that resolves to a [class`Foundry`.LlmCompletionChunk] or rejects with error.
- Return type:
- when_finished()¶
- Returns:
a [class`Dex`.Future] that resolves to any value when the LLM completion has finished generating.
- Return type:
- do_next_chunk() virtual¶
- Returns:
a [class`Dex`.Future] that resolves to a [class`Foundry`.LlmCompletionChunk] or rejects with error.
- Return type:
- do_when_finished() virtual¶
- Returns:
a [class`Dex`.Future] that resolves to any value when the LLM completion has finished generating.
- Return type: