Metatext.AI Pre-build AI models API

Create and manage machines that read and write.

Integrate the Metatext.AI Pre-build AI models API API with the Python API

Setup the Metatext.AI Pre-build AI models API API trigger to run a workflow which integrates with the Python API. Pipedream's integration platform allows you to integrate Metatext.AI Pre-build AI models API and Python remarkably fast. Free for developers.

Analyze Sentiment with the Metatext.AI Pre-build AI models API API

Determine the sentiment of the given text (positive, negative, or neutral). See the documentation.

 
Try it
Run Python Code with the Python API

Write Python and use any of the 350k+ PyPi packages available. Refer to the Pipedream Python docs to learn more.

 
Try it
Extract Keywords with the Metatext.AI Pre-build AI models API API

Identify and extract significant keywords from the given text. See the documentation.

 
Try it
Generate Blog Post with the Metatext.AI Pre-build AI models API API

Generate a blog post based on the given prompt. See the documentation.

 
Try it
Generate Headline with the Metatext.AI Pre-build AI models API API

Generate a short summary for news headlines. See the documentation.

 
Try it

Overview of Metatext.AI Pre-build AI models API

The Metatext.AI Pre-built AI Models API offers various artificial intelligence capabilities such as natural language processing, image recognition, and sentiment analysis. This API enables users to add AI features to their applications without the need for extensive machine learning expertise. Utilizing this API in Pipedream workflows allows for automation and integration with other services, making it possible to process and analyze text and images within a serverless environment efficiently.

Connect Metatext.AI Pre-build AI models API

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    metatext_ai_pre_build_ai_models_api: {
      type: "app",
      app: "metatext_ai_pre_build_ai_models_api",
    }
  },
  async run({steps, $}) {
    const data = {
      "text": `{your_text}`,
    }
    return await axios($, {
      method: "post",
      url: `https://api.metatext.ai/hub-inference/sentiment-analysis`,
      headers: {
        "Content-Type": `application/json`,
        "x-api-key": `${this.metatext_ai_pre_build_ai_models_api.$auth.api_key}`,
      },
      data,
    })
  },
})

Overview of Python

Develop, run and deploy your Python code in Pipedream workflows. Integrate seamlessly between no-code steps, with connected accounts, or integrate Data Stores and manipulate files within a workflow.

This includes installing PyPI packages, within your code without having to manage a requirements.txt file or running pip.

Below is an example of using Python to access data from the trigger of the workflow, and sharing it with subsequent workflow steps:

Connect Python

1
2
3
4
5
def handler(pd: "pipedream"):
  # Reference data from previous steps
  print(pd.steps["trigger"]["context"]["id"])
  # Return data for use in future steps
  return {"foo": {"test":True}}