llm

Returns the system and user prompt templates for the given llm task in all supported languages

post/llm/create_prompt_templates

Query parameters

approach_type'LLM_ZERO_SHOT' | 'LLM_FEW_SHOT' required

Request body

example_idsinteger[] nullable

Response

Successful Response

languagestring required

The language of the prompt template

system_promptstring required

The system prompt to use for the job

user_promptstring required

The user prompt to use for the job

Changes

Changed in 4 of the 73 revisions of this API.136

    • added the optional property // to the response with the status

      response-optional-property-added

    • added the optional property // to the response with the status

      response-optional-property-added

    This revision also has 14 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • added the new optional request property ///

      new-optional-request-property

    • the request property default value changed from true to false

      request-property-default-value-changed

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • removed the enum value MODEL_TRAINING from the query request parameter approach_type

      request-parameter-enum-value-removed

    This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • 53e769440a2532See the full diff
    • removed the request property ///

      request-property-removed

    • removed the optional property // from the response with the status

      response-optional-property-removed

    • removed the optional property // from the response with the status

      response-optional-property-removed

    • added the new enum value MODEL_TRAINING to the query request parameter approach_type

      request-parameter-enum-value-added

    • the request property default value changed from false to true

      request-property-default-value-changed

    This revision also has 34 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog