Skip to main content

Update for prompt

PUT 

/content-generations/:contentGenerationId/words

Send a list of word biases for this prompt. Existing words will be deleted.

Request

Path Parameters

    contentGenerationId int64required

    The Content Generation id.

Body

array

  • Array [

  • bias int32required

    The bias.

    word stringrequired

    Possible values: <= 1000 characters

    The actual word.

  • ]

Responses

Created

Schema

  • Array [

  • bias int32required

    The bias.

    cluster stringrequired

    Possible values: <= 1000 characters

    The cluster of the word.

    content_generation_id int64required

    The content generation id.

    created_at date-time

    The create date-time.

    id int64

    The unique id.

    modified_at date-time

    The last modified date-time.

    token_id stringrequired

    Possible values: <= 1000 characters

    The token id for the word.

    word stringrequired

    Possible values: <= 1000 characters

    The actual word.

  • ]