Table of Contents

Property Response

Namespace
LMKit.Retrieval
Assembly
LM-Kit.NET.dll

Response

Gets the generated text response.

public TextGenerationResult Response { get; }

Property Value

TextGenerationResult

Examples

using var chat = new RagChat(ragEngine, chatModel);
RagQueryResult result = chat.Submit("What is LM-Kit?");

// Access the generated text from the response.
Console.WriteLine(result.Response.Completion);
Share