Skip to main content

Create

Create

Request Body required
    account_id int64 required

    The account id bound to this content generation.

    deleted boolean

    Default value: false

    The deleted flag.

    graphql_query string required

    The GraphQL query which will be used to import entity data from the Knowledge Graph.

    max_tokens int32

    Possible values: <= 2000

    Default value: 64

    The maximum number of tokens.

    min_words int32

    Default value: 0

    Minimum amount of words per completion.

    model_id int64

    Possible values: >= 1

    Default value: 1

    The model ID.

    name string required

    Possible values: <= 250 characters

    The model name.

    penalty double

    Possible values: >= 0.5 and <= 1.9

    Default value: 0.5

    The penalty score.

    prompt_template string

    The prompt template.

    stop string

    Default value: ###

    The stop sequence.

    temperature double

    Possible values: >= 0.4 and <= 0.8

    Default value: 0.4

    The temperature score.

    words_to_ignore string[]

    Words to ignore when checking for words not in prompt.

Responses

Created


Schema
    account_id int64 required

    The Account id bound to this Content Generation.

    created_at date-time

    The create date-time.

    deleted boolean required

    Default value: false

    True if the project has been deleted.

    deleted_at date-time

    The delete date-time.

    graphql_query string required

    The GraphQL query which will be used to import entity data from the Knowledge Graph.

    id int64

    The unique id.

    max_tokens int32

    Possible values: <= 2000

    Default value: 64

    The maximum number of tokens.

    min_words int32

    Minimum amount of words per completion

    model_id int64

    Possible values: >= 1

    Default value: 1

    The model ID.

    modified_at date-time

    The last modified date-time.

    name string required

    Possible values: <= 250 characters

    The name.

    penalty double

    Possible values: >= 0.5 and <= 1.9

    Default value: 0.5

    The penalty score.

    prompt_template string

    The prompt template.

    stop string

    Default value: ###

    The stop sequence.

    temperature double

    Possible values: >= 0.4 and <= 0.8

    Default value: 0.4

    The temperature score.

    words_to_ignore string[]

    Words to ignore when checking for words not in prompt.

Loading...