askAssistant function

Stream<String> askAssistant({
  1. required String assistantId,
  2. required String threadId,
})

Implementation

Stream<String> askAssistant({
  required String assistantId,
  required String threadId,
}) {
  var rep = createAssistantRepository(assistantId, threadId);
  var messageStream = rep.fetchStream();
  return messageStream;
}