AssistantServiceGetChatHistory Method

Retrieves the chat history from the middleware.

Definition

Namespace: SuperBuilderWinService.Services
Assembly: IntelAiaService (in IntelAiaService.exe) Version: 1.0.0+2093811f3bac5da092b5ce9c8172233582eee4d5
C#
public override Task<GetChatHistoryResponse> GetChatHistory(
	GetChatHistoryRequest request,
	ServerCallContext context
)

Parameters

request  GetChatHistoryRequest
An empty object. Example: {}
context  ServerCallContext
The gRPC call context.

Return Value

TaskGetChatHistoryResponse
Example: { "data": "[\r\n {\r\n \"sid\": 0,\r\n \"name\": \"hi\",\r\n \"date\": \"2025-05-10T02:06:56.7099497Z\",\r\n \"messages\": [\r\n {\r\n \"text\": \"hi\",\r\n \"sender\": \"user\",\r\n \"timestamp\": \"2025-05-10T02:06:26.0770327Z\",\r\n \"attached_files\": \"[]\",\r\n \"query_type\": \"\"\r\n },\r\n {\r\n \"text\": \"Hello! It's great to connect with you. How can I assist you today? Whether you have questions or need some guidance, I'm here to help. Just let me know what's on your mind!\",\r\n \"sender\": \"assistant\",\r\n \"timestamp\": \"2025-05-10T02:06:56.9792521Z\",\r\n \"attached_files\": \"[]\",\r\n \"query_type\": \"\"\r\n }\r\n ]\r\n }\r\n]" }

See Also