import os import gspread from oauth2client.service_account import ServiceAccountCredentials # Paké credentials API Google anjeun pikeun ngabenerkeun scope = ['https://spreadsheets.google.com/feeds', 'https://www.googleapis.com/auth/drive'] credentials = ServiceAccountCredentials.from_json_keyfile_name(os.environ['GOOGLE_API_CREDENTIALS'], scope) # Authenticate jeung ngakses Google Sheets API klien = gspread.authorize credentials) # Buka Google Sheet husus rék ngakses = client.opensheet.MySheet" ("MySheet") I klik baris pikeun file dina pipeline.
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence