Open AI Completion

Statistics

TypeSpeedPartner Type
Post-Processing ClassifierInstantDatastreamer Internal

Example Use Cases

Compatible Data Sources

As a Post-Processing operation, it can be run on any data source.

📘

Recipe Available

View the below recipe to see it in action, and easily view how to integrate it into your own data pipeline.

Usage

This Operation allows a user to specify the destination field "content.output", source field "content.body", and completion parameter. See Open AI Completion API Reference for parameters

{
    "query": {
		...
},
    "operations": [
        {
            "name": "open_ai_completion",
            "destination_path": "content.output",
            "parameters": {
                "text_field": "content.body",
                "model": "text-davinci-003",
                "prompt": "convert text to emojis",
                "max_tokens": 256,
                "n": 1,
                "top_p": 1,
                "stop": null
            }
        }
    ]
}
```