llm

Determines the appropriate approach based on the provided input

post/llm/determine_approach

Request body

project_idinteger required

Project ID associated with the job

llm_job_type'TAGGING' | 'METADATA_EXTRACTION' | 'ANNOTATION' | 'SENTENCE_ANNOTATION' required

Response

Successful Response

recommended_approach'LLM_ZERO_SHOT' | 'LLM_FEW_SHOT' required
reasoningstring required

Reasoning for the recommendation

available_approachesobject required

Available approaches

Changes

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

    • added the optional property detail/items/ctx to the response with the 422 status

      response-optional-property-added

    • added the optional property detail/items/input to the response with the 422 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 specific_task_parameters/oneOf[subschema #3: AnnotationParams]/delete_existing_annotations

      new-optional-request-property

    • the delete_existing_annotations 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 MODEL_TRAINING enum value from the available_approaches/propertyNames/ response property for the response status 200

      response-property-enum-value-removed

    • removed the MODEL_TRAINING enum value from the recommended_approach response property for the response status 200

      response-property-enum-value-removed

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

  • 53e769440a2551See the full diff
    • removed the request property specific_task_parameters/oneOf[subschema #3: AnnotationParams]/delete_existing_annotations

      request-property-removed

    • removed the optional property detail/items/ctx from the response with the 422 status

      response-optional-property-removed

    • removed the optional property detail/items/input from the response with the 422 status

      response-optional-property-removed

    • added the new MODEL_TRAINING enum value to the available_approaches/propertyNames/ response property for the response status 200

      response-property-enum-value-added

    • added the new MODEL_TRAINING enum value to the recommended_approach response property for the response status 200

      response-property-enum-value-added

    • the delete_existing_annotations 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