AIトピックの要約がハングする(Gemini)

こんにちは!

Google Gemini 2.0 Flash で AI プラグインを設定し、要約、スパム検出、AI ヘルパーを有効にしました。

ヘルパーとスパムは正常に動作しているようです。問題ありません。

しかし、要約機能がハングしてしまいます。

エラーログは以下のとおりです。

DiscourseAi::Completions::Endpoints::Gemini: status: 400 - body: {
  "error": {
    "code": 400,
    "message": "Invalid value at 'generation_config.response_schema.type' (type.googleapis.com/google.ai.generativelanguage.v1beta.Type), \"json_schema\"\nInvalid JSON payload received. Unknown name \"json_schema\" at 'generation_config.response_schema': Cannot find field.",
    "status": "INVALID_ARGUMENT",
    "details": [
      {
        "@type": "type.googleapis.com/google.rpc.BadRequest",
        "fieldViolations": [
          {
            "field": "generation_config.response_schema.type",
            "description": "Invalid value at 'generation_config.response_schema.type' (type.googleapis.com/google.ai.generativelanguage.v1beta.Type), \"json_schema\""
          },
          {
            "field": "generation_config.response_schema",
            "description": "Invalid JSON payload received. Unknown name \"json_schema\" at 'generation_config.response_schema': Cannot find field."
          }
        ]
      }
    ]
  }
}

これについては経験がないため、どのような情報でもありがたいです。要約機能のみが機能しておらず、他のすべては正常に動作しているようです。

よろしくお願いいたします。

「いいね!」 1

私も最近これに遭遇しました。解決策がここに投稿されており、役立つかもしれません: AIによるトピックの要約が無限にロードされる、無効なJSONペイロードを受信しましたか?

「いいね!」 1

ああ、完璧です。これで問題は解決しました。アップデートで完全に解決されることを願っていますが、当面はこの回避策で対応できます。

ありがとうございます :+1:

「いいね!」 1

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.