![]() |
BioGTK
6.5.0
A .NET library & program for annotating, editing various microscopy imaging formats using Bioformats supported images. Including whole slide, pyramidal, and series.
|
Classes | |
| class | OllamaChatService |
Public Member Functions | |
| record | ChatMessage ([property:JsonPropertyName("role")] string Role, [property:JsonPropertyName("content")] string Content) |
| record | ChatRequest ([property:JsonPropertyName("model")] string Model, [property:JsonPropertyName("messages")] IReadOnlyList< ChatMessage > Messages, [property:JsonPropertyName("temperature")] double? Temperature=null, [property:JsonPropertyName("max_tokens")] int? MaxTokens=null) |
| record | ChatChoice ([property:JsonPropertyName("message")] ChatMessage Message, [property:JsonPropertyName("index")] int Index, [property:JsonPropertyName("finish_reason")] string FinishReason) |
| record | ChatResponse ([property:JsonPropertyName("id")] string Id, [property:JsonPropertyName("object")] string Object, [property:JsonPropertyName("created")] long Created, [property:JsonPropertyName("model")] string Model, [property:JsonPropertyName("choices")] IReadOnlyList< ChatChoice > Choices) |
| async Task | StartAsync (string args, CancellationToken uiCancel=default) |
Static Public Member Functions | |
| static AI | Create () |
Static Public Attributes | |
| static bool | onTab = false |
| static bool | useBioformats = true |
| static bool | headless = false |
| static bool | resultInNewTab = false |
Protected Member Functions | |
| AI (Builder builder, IntPtr handle) | |
| Specialised constructor for use only by derived class. | |
| void | SetupHandlers () |
| Sets up the handlers. | |
|
protected |
Specialised constructor for use only by derived class.
| builder | The builder. |
| handle | The handle. |
Definition at line 68 of file AI.cs.
|
static |
Create a new AI object using the Glade file "BioGTK.Glade.AI.glade"
Definition at line 59 of file AI.cs.
|
protected |
| async Task BioGTK.AI.StartAsync | ( | string | args, |
| CancellationToken | uiCancel = default ) |
Definition at line 180 of file AI.cs.