code: def filter_grounded_only():
      
      if request.method == 'OPTIONS':
          return {}
      response = request.body.read().decode('utf-8')
      body = json.loads(response)
      stmts_json = body.get('statements')
      score_threshold = body.get('score_threshold')
      if score_threshold is not None:
          score_threshold = float(score_threshold)
      stmts = stmts_from_json(stmts_json)
      stmts_out = ac.filter_grounded_only(stmts, score_threshold=score_threshold)
      return _return_stmts(stmts_out)
docs: Filter to grounded Statements only.