

Terjemahan disediakan oleh mesin penerjemah. Jika konten terjemahan yang diberikan bertentangan dengan versi bahasa Inggris aslinya, utamakan versi bahasa Inggris.

# Penulis Palmyra X5
<a name="model-parameters-palmyra-x5"></a>

Writer Palmyra X5mencakup serangkaian kemampuan siap perusahaan, termasuk penalaran lanjutan, panggilan alat, delegasi LLM, RAG bawaan, pembuatan kode, output terstruktur, multi-modalitas, dan dukungan multi-bahasa.

Writer Palmyra X5Model ini memiliki kontrol berikut:
+ Penyedia — Penulis
+ Kategori - Pembuatan teks, pembuatan kode, pemformatan teks kaya
+ Versi terakhir - v1
+ Tanggal rilis - 28 April 2025
+ ID Model — `writer.palmyra-x5-v1:0`
+ Modalitas - Teks
+ Token maks - Masukan: 1,040.000 token, Keluaran: 8192 token
+ Bahasa - Inggris, Spanyol, Prancis, Jerman, Mandarin, dan beberapa bahasa lainnya
+ Jenis penyebaran - Tanpa Server

## Bidang badan permintaan permintaan Palmyra X5
<a name="model-parameters-palmyra-x5-request-body"></a>

Saat Anda membuat [InvokeModel](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_InvokeModel.html)atau [InvokeModelWithResponseStream](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_InvokeModelWithResponseStream.html)memanggil menggunakan model Writer, isi `body` bidang dengan objek JSON yang sesuai dengan yang di bawah ini. Masukkan prompt di `text` bidang di `text_prompts` objek.

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

Tabel berikut menunjukkan nilai minimum, maksimum, dan default untuk parameter numerik.


****  

| Parameter | Jenis | *Default* | Rentang/Validasi | Deskripsi | 
| --- | --- | --- | --- | --- | 
| pesan | array | Wajib | 1-∞ item | Pesan riwayat obrolan | 
| suhu | float | 1.0 | 0,0 ≤ x ≤ 2.0 | Suhu pengambilan sampel | 
| atas\$1p | float | 1.0 | 0,0 < x ≤ 1,0 | Ambang pengambilan sampel nukleus | 
| max\$1token | int | 16 | 1 ≤ x ≤ 8192 | Token maksimum untuk dihasilkan | 
| min\$1token | int | 0 | 0 ≤ x ≤ max\$1token | Token minimum sebelum berhenti | 
| berhenti | array | [] | ≤4 entri | Hentikan urutan | 
| benih | int | null | Bilangan bulat apa pun | Benih acak | 
| presence\$1penalty | float | 0.0 | -2.0 ≤ x ≤ 2.0 | Penalti kehadiran token baru | 
| frekuensi\$1penalti | float | 0.0 | -2.0 ≤ x ≤ 2.0 | Penalti frekuensi token | 

## Bidang tubuh respons doa Palmyra X5
<a name="model-parameters-palmyra-x5-response-body"></a>

Respons JSON untuk Writer Palmyra X5 menggunakan format berikut:

```
{
  "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
}
```