Property ConversationId
- Namespace
- LMKit.TextGeneration.Chat
- Assembly
- LM-Kit.NET.dll
ConversationId
Gets the unique identifier for this conversation session.
public string ConversationId { get; }
Property Value
Examples
var history = new ChatHistory(model);
Console.WriteLine($"Session ID: {history.ConversationId}");
Remarks
This ID is automatically generated when the chat history is created and remains constant throughout the conversation lifetime. It can be used for telemetry, logging, and correlating spans across distributed systems following the OpenTelemetry GenAI semantic conventions (gen_ai.conversation.id).