Fetch google nlp classify text¶
3rd party API ·
Detect topics in text content using Google Cloud's text classification API.
To use this step your team needs to have the Google NLP integration configured in Graphext. The corresponding credentials are required to connect to a third-party API. See our help center for details on how to configure your team's integrations.
To enable the Google NLP integration in particular you will need access to Google's NLP service. Follow the instructions here to create the required API key.
The step has no parameters, so simply use
fetch_google_nlp_classify_text(ds.text_column) -> (ds.categories)
The following are the step's expected inputs and outputs and their specific types.
fetch_google_nlp_classify_text(text_column: text) -> (categories: list[category])
Column containing the texts to analyze. Texts must be in English and contain at least 20 words, or otherwise will be ignored.
One or more categories assigned to each text. For possible categories see here.