mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2025-09-08 20:09:12 +00:00
Change the timeout for circle ci and add a fixme. (#2722)
Signed-off-by: Adam Treat <treat.adam@gmail.com>
This commit is contained in:
@@ -958,6 +958,8 @@ bool ChatLLM::handleQuestionResponse(int32_t token, const std::string &response)
|
||||
m_questionResponse.append(response);
|
||||
|
||||
// match whole question sentences
|
||||
// FIXME: This only works with response by the model in english which is not ideal for a multi-language
|
||||
// model.
|
||||
static const QRegularExpression reQuestion(R"(\b(What|Where|How|Why|When|Who|Which|Whose|Whom)\b[^?]*\?)");
|
||||
|
||||
// extract all questions from response
|
||||
|
Reference in New Issue
Block a user