assistant-sdk-cpp
assistant-sdk-cpp copied to clipboard
How do we continue to communicate with the assistant in a socket
Can we install a socket connection and make only one SSL handshake and communicate with the assistant multiple times? How do we achieve this?
Best regards! Thanks!
Communication happens over gRPC. Multiple connections should be possible with the same gRPC channel.
In run_assistant_text.cc how can we use ret = stream->Write(request); continue write request without reconstruct the stream with : std::shared_ptr<ClientReaderWriter<AssistRequest, AssistResponse>> stream(std::move(assistant->Assist(&context))); ? as construct the stream cost too much time.
Thanks!