AssistantServiceGetChatHistory Method
Retrieves the chat history from the middleware.
Namespace: SuperBuilderWinService.ServicesAssembly: IntelAiaService (in IntelAiaService.exe) Version: 1.0.0+2093811f3bac5da092b5ce9c8172233582eee4d5
public override Task<GetChatHistoryResponse> GetChatHistory(
GetChatHistoryRequest request,
ServerCallContext context
)
Public Overrides Function GetChatHistory (
request As GetChatHistoryRequest,
context As ServerCallContext
) As Task(Of GetChatHistoryResponse)
public:
virtual Task<GetChatHistoryResponse^>^ GetChatHistory(
GetChatHistoryRequest^ request,
ServerCallContext^ context
) override
abstract GetChatHistory :
request : GetChatHistoryRequest *
context : ServerCallContext -> Task<GetChatHistoryResponse>
override GetChatHistory :
request : GetChatHistoryRequest *
context : ServerCallContext -> Task<GetChatHistoryResponse>
- request GetChatHistoryRequest
- An empty object. Example: {}
- context ServerCallContext
- The gRPC call context.
TaskGetChatHistoryResponseExample: { "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]" }