Skip to content

Bots From Extension: openai

OpenAI - Run AI on datasets using OpenAI

This extension provides 2 bots.





Bot @openai:classify

Bot Position In Pipeline: Sink

Semantic search based classification using a specified OpenAI engine

This bot expects a Restricted CFXQL.

Each parameter may be specified using '=' operator and AND logical operation
Following are the parameters expected for this Bot

Parameter Name Type Default Value Description
engine Text babbage Name of the OpenAI NLP engine (ada, babbage, curie, davinci)
dict* Text Classification dictionary with two columns 'class' and 'description'
input_col Text description Input description column
output_col Text class Class column to be added to output
limit Text 5 Limit the classfication to n rows
num_classes Text 1 Number of classes to be included in the output







Bot @openai:complete

Bot Position In Pipeline: Sink

Do the text completion using OpenAI for specified input

This bot expects a Restricted CFXQL.

Each parameter may be specified using '=' operator and AND logical operation
Following are the parameters expected for this Bot

Parameter Name Type Default Value Description
engine Text babbage Name of the OpenAI NLP engine (ada, babbage, curie, davinci)
input_col Text description Input description column
output_col Text completion Completion column to be added to output
limit Text 5 Limit the completion to n rows
max_tokens Text 50 Number of tokens to be limited in the output
stop Text . Stop after seeing the word in output
top_p Text 1 OpenAI top_p parameter
temperature Text 0.1 OpenAI temperature parameter (0 means consistent output, 1 means most random output)