AI Prompt Decorator 정책 구성 참조
AI Prompt Decorator 정책 구성 참조 (AI Prompt Decorator Policy Configuration Reference)
이 문서는 AI Prompt Decorator 플러그인의 정책 구성에 대한 참조 정보를 제공해요. 프롬프트 앞이나 뒤에 추가할 메시지 배열을 설정할 수 있고, 최대 요청 본문 크기와 LLM 형식도 지정할 수 있어요. JSON 스키마를 통해 각 속성의 타입과 제약 조건을 확인할 수 있답니다.
출처: 문서
본문
{
"properties": {
"config": {
"type": "object",
"properties": {
"prompts": {
"type": "object",
"properties": {
"prepend": {
"type": "array",
"items": {
"type": "object",
"properties": {
"role": {
"type": "string",
"enum": [
"assistant",
"system",
"user"
],
"default": "system"
},
"content": {
"type": "string",
"maxLength": 100000,
"minLength": 1
}
},
"required": [
"content"
]
},
"maxLength": 15,
"description": "Insert chat messages at the beginning of the chat message array. This array preserves exact order when adding messages."
},
"append": {
"type": "array",
"items": {
"type": "object",
"properties": {
"role": {
"type": "string",
"enum": [
"assistant",
"system",
"user"
],
"default": "system"
},
"content": {
"type": "string",
"maxLength": 100000,
"minLength": 1
}
},
"required": [
"content"
]
},
"maxLength": 15,
"description": "Insert chat messages at the end of the chat message array. This array preserves exact order when adding messages."
}
}
},
"max_request_body_size": {
"type": "integer",
"description": "max allowed body size allowed to be introspected. 0 means unlimited, but the size of this body will still be limited by Nginx's client_max_body_size.",
"default": 8388608
},
"llm_format": {
"type": "string",
"enum": [
"anthropic",
"bedrock",
"cohere",
"gemini",
"huggingface",
"openai",
"typesafe"
],
"description": "LLM input and output format and schema to use",
"default": "openai"
}
}
}
}
}
더 알아보기 (Learn more)
이 문서에는 원문에서 추출한 별도의 관련 문서 링크가 없어요.