llm_assistant

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

Changed on
post/llm_assistant/create_prompt_templates

Request

  • The document declares no server URL.
  • Auth
    OAuth 2
    Password
    Token URL: /authentication/login

Query parameters

approach_type'LLM_ZERO_SHOT' | 'LLM_FEW_SHOT' required
strategy_type'TAGGING_DEFAULT' | 'METADATA_DEFAULT' | 'SENTENCE_ANNOTATION_DEFAULT' | 'NER_INLINE_TAGS' | 'CONTEXT_ANCHORED_FUZZY_MATCHING' 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