라이터 팔미라 X5 - Amazon Bedrock

기계 번역으로 제공되는 번역입니다. 제공된 번역과 원본 영어의 내용이 상충하는 경우에는 영어 버전이 우선합니다.

라이터 팔미라 X5

Writer Palmyra X5 에는 고급 추론, 도구 호출, LLM 위임, 내장 RAG, 코드 생성, 구조화된 출력, 다중 모달리티, 다국어 지원을 비롯한 엔터프라이즈 지원 기능 제품군이 포함되어 있습니다.

Writer Palmyra X5 모델에는 다음과 같은 제어 기능이 있습니다.

  • 공급자 - 작성자

  • 범주 - 텍스트 생성, 코드 생성, 풍부한 텍스트 형식 지정

  • 마지막 버전 - v1

  • 릴리스 날짜 - 2025년 4월 28일

  • 모델 ID - writer.palmyra-x5-v1:0

  • 형식 - 텍스트

  • 최대 토큰 - 입력: 토큰 1,040,000개, 출력: 토큰 8,192개

  • 언어 - 영어, 스페인어, 프랑스어, 독일어, 중국어 및 기타 여러 언어

  • 배포 유형 - 서버리스

Palmyra X5 호출 요청 본문 필드

라이터 모델을 사용하여 InvokeModel 또는 InvokeModelWithResponseStream을 호출할 때 아래 객체를 준수하는 JSON 객체로 body 필드를 채웁니다. text_prompts 객체의 text 필드에 프롬프트를 입력합니다.

{ "modelId": "writer.palmyra-x5-v1:0", "contentType": "application/json", "accept": "application/json", "body": "{\"messages\":[{\"role\":\"user\",\"content\":{\"text\":\"Explain quantum computing in simple terms\"}}]}" }

아래 표에는 숫자 파라미터의 최소값, 최대값, 기본값이 나와 있습니다.

파라미터 유형 Default 범위/검증 설명

messages

array

필수

1-∞ 항목

채팅 기록 메시지

temperature

float

1.0

0.0 ≤ x ≤ 2.0

샘플링 온도

top_p

float

1.0

0.0 < x ≤ 1.0

Nucleus 샘플링 임계값

max_tokens

int

16

1 ≤ x ≤ 8192

생성할 최대 토큰 수

min_tokens

int

0

0 ≤ x ≤ max_tokens

중지 전 최소 토큰

중단

array

[]

≤4개 항목

중지 시퀀스

시드

int

null

모든 정수

Random seed(임의 시드)

presence_penalty

float

0.0

-2.0 ≤ x ≤ 2.0

새 토큰 존재 페널티

frequency_penalty

float

0.0

-2.0 ≤ x ≤ 2.0

토큰 빈도 페널티

Palmyra X5 호출 응답 본문 필드

에 대한 응답 JSON은 다음 형식을 Writer Palmyra X5 사용합니다.

{ "id": "chatcmpl-a689a6e150b048ca8814890d3d904d41", "object": "chat.completion", "created": 1745854231, "model": "writer.palmyra-x5-v1:0", "choices": [ { "index": 0, "message": { "role": "assistant", "reasoning_content": null, "content": "Quantum computing harnesses quantum mechanics to process information in extraordinarily powerful ways. Unlike classical bits, which are 0 or 1, quantum bits (qubits) can exist in multiple states simultaneously through superposition. Qubits also entangle, allowing them to be interconnected in such a way that the state of one (whether it's 0 or 1) can depend on the state of another, no matter the distance between them. This combination of superposition and entanglement enables quantum computers to solve complex problems much faster than classical computers, particularly in areas like cryptography, optimization, and simulations of molecular structures. However, quantum computing is still in its early stages, facing challenges in stability and scalability.", "tool_calls": [] }, "logprobs": null, "finish_reason": "stop", "stop_reason": null } ], "usage": { "prompt_tokens": 43, "total_tokens": 186, "completion_tokens": 143, "prompt_tokens_details": null }, "prompt_logprobs": null }