{
  "aboutHtml": "<p>pplx-embed-v1-4B เป็นรุ่นเอ็มเบดดิงข้อความแบบอิสระที่ใหญ่กว่าของ Perplexity ในตระกูล v1 แทนคำค้นหรือเอกสารเป็นเวกเตอร์ 2560 มิติสำหรับการค้นหาเชิงความหมายและค้นคืน ผู้ผลิตสร้างตระกูลบน Qwen3 ด้วยการฝึกล่วงหน้าต่อเนื่องแบบ diffusion และใช้การรวมแบบเฉลี่ยเพื่อแทนข้อความ ตัวเข้ารหัสอิสระนี้แยกจาก pplx-embed-context-v1 ซึ่งแทนชังก์เอกสารโดยใช้บริบทแวดล้อม</p><h4>เอ็มเบดข้อความจริงโดยตรง</h4><p>โมเดลไม่ต้องใช้สตริงคำสั่งหรือคำนำหน้า query/passage เตรียมข้อความที่ต้องการแทน แทนการเพิ่มข้อตกลงบทบาทจากตระกูลอื่น คอลเล็กชันค้นหามีเอกสารต้นฉบับ ย่อหน้าที่เจาะจง หรือระเบียนข้อความสั้นได้ เก็บถ้อยคำต้นฉบับและตัวระบุแต่ละรายการข้างเวกเตอร์ เพื่อให้ผลค้นคืนยังอ่านได้และติดตามที่มาได้</p><p>งานจริงอย่างหนึ่งคือค้นคืนส่วนคำอธิบายเทคนิคสำหรับคำถามเกี่ยวกับเงื่อนไข เก็บหัวข้อส่วน กฎ และข้อยกเว้นไว้ด้วยกัน ถ้อยคำคำค้นถูกเอ็มเบดอย่างอิสระ แล้วเปรียบเทียบกับตัวแทนคลังที่เตรียมไว้ ขั้นตอน RAG ภายหลังใช้ข้อความย่อหน้าที่คืนมาเป็นข้อมูลต้นฉบับ ไม่ใช่ตัวเวกเตอร์</p><h4>ตัวแทนเนทีฟและการเปรียบเทียบ</h4><p>ผู้ผลิตระบุชัดว่าเอ็มเบดดิงเนทีฟไม่ผ่าน normalization และควอนไทซ์เป็น INT8 เปรียบเทียบด้วยความคล้ายโคไซน์ ผลคูณจุดดิบของค่าที่ไม่ผ่าน normalization เหล่านี้ไม่เทียบเท่าการเปรียบเทียบโคไซน์ตามเอกสาร ชนิดตัวแทนและฟังก์ชันความคล้ายจึงต้องพิจารณาร่วมกันเมื่อเลือกวิธีที่ดัชนีค้นหาจัดเก็บและเปรียบเทียบเอาต์พุต</p><p>โมเดลการ์ดยังระบุเอาต์พุตไบนารีและการรองรับตัวแทน Matryoshka องค์ประกอบไบนารีและการจัดเก็บแบบแพ็กต่างจากอาร์เรย์เลขทศนิยมลอยตัวปกติ ดัชนีจึงต้องตีความตัวแทนที่เลือก มิติเอ็มเบดดิงเต็มอธิบายจำนวนองค์ประกอบของตัวแทน ไม่ใช่จำนวนไบต์ของทุกวิธีเข้ารหัส ให้มิติและชนิดเอาต์พุตตรงกันระหว่างฝั่งคำค้นกับเอกสาร</p><h4>ความยาวและขอบเขตเอกสาร</h4><p>บริบทที่โมเดลเผยแพร่คือ 32K ทำให้แทนข้อความได้มาก แต่ขนาดหน่วยย่อหน้ายังควรตามสิ่งที่การค้นหาต้องคืน ส่วนที่ครบเก็บนิยามและเงื่อนไขกำกับได้ ข้อความตัดตอนที่เจาะจงชี้คำสั่งโดยตรงได้ เตรียมข้อมูลที่ใหญ่เกินตามหน้าต่างอินพุตที่เลือก แทนการสมมติว่าส่วนท้ายที่ละยังถูกแทนอยู่</p><p>เก็บตัวระบุเอกสารแม่และรุ่นต้นฉบับภายนอกเวกเตอร์ หากข้อความเปลี่ยน ให้อัปเดตตัวแทนคลังที่สอดคล้องและรักษาการเชื่อมกับต้นฉบับใหม่ สำหรับคอลเล็กชันหลายภาษา ให้ตรวจคำถามจริงและย่อหน้าตัวเลือกในชุดภาษาที่ตั้งใจ แทนการอนุมานความเกี่ยวข้องเท่ากันจากป้ายหลายภาษาอย่างเดียว</p><h4>รุ่นอิสระและรุ่นใช้บริบท</h4><p>โมเดล v1-4B เอ็มเบดข้อความแต่ละรายการที่ให้มาอย่างอิสระ การเพิ่มหลายสตริงลงแบตช์ไม่ทำให้กลายเป็นตัวเข้ารหัสชังก์ context-v1 ที่แยกต่างหาก เมื่อเอกสารรอบข้างต้องกำหนดตัวแทนแต่ละชังก์ งานนั้นเป็นของรุ่นใช้บริบทและวิธีเตรียมของมันเอง</p><p>pplx-embed-v1-0.6B รุ่นเล็กคืน 1024 มิติ ส่วนรุ่น 4B นี้คืน 2560 แยกตัวตนที่ตรงและตัวแทนดัชนีจนกว่าจะมีเส้นทางความเข้ากันได้ที่ระบุในเอกสาร ผลที่มีประโยชน์คือเวกเตอร์คำค้นหรือข้อความต้นฉบับแบบอิสระ พร้อมบันทึกการเปรียบเทียบโคไซน์และตัวแทนควอนไทซ์ที่เลือกสำหรับงานค้นคืน</p>",
  "aboutText": "pplx-embed-v1-4B เป็นรุ่นเอ็มเบดดิงข้อความแบบอิสระที่ใหญ่กว่าของ Perplexity ในตระกูล v1 แทนคำค้นหรือเอกสารเป็นเวกเตอร์ 2560 มิติสำหรับการค้นหาเชิงความหมายและค้นคืน ผู้ผลิตสร้างตระกูลบน Qwen3 ด้วยการฝึกล่วงหน้าต่อเนื่องแบบ diffusion และใช้การรวมแบบเฉลี่ยเพื่อแทนข้อความ ตัวเข้ารหัสอิสระนี้แยกจาก pplx-embed-context-v1 ซึ่งแทนชังก์เอกสารโดยใช้บริบทแวดล้อม\n\n### เอ็มเบดข้อความจริงโดยตรง\n\nโมเดลไม่ต้องใช้สตริงคำสั่งหรือคำนำหน้า query/passage เตรียมข้อความที่ต้องการแทน แทนการเพิ่มข้อตกลงบทบาทจากตระกูลอื่น คอลเล็กชันค้นหามีเอกสารต้นฉบับ ย่อหน้าที่เจาะจง หรือระเบียนข้อความสั้นได้ เก็บถ้อยคำต้นฉบับและตัวระบุแต่ละรายการข้างเวกเตอร์ เพื่อให้ผลค้นคืนยังอ่านได้และติดตามที่มาได้\n\nงานจริงอย่างหนึ่งคือค้นคืนส่วนคำอธิบายเทคนิคสำหรับคำถามเกี่ยวกับเงื่อนไข เก็บหัวข้อส่วน กฎ และข้อยกเว้นไว้ด้วยกัน ถ้อยคำคำค้นถูกเอ็มเบดอย่างอิสระ แล้วเปรียบเทียบกับตัวแทนคลังที่เตรียมไว้ ขั้นตอน RAG ภายหลังใช้ข้อความย่อหน้าที่คืนมาเป็นข้อมูลต้นฉบับ ไม่ใช่ตัวเวกเตอร์\n\n### ตัวแทนเนทีฟและการเปรียบเทียบ\n\nผู้ผลิตระบุชัดว่าเอ็มเบดดิงเนทีฟไม่ผ่าน normalization และควอนไทซ์เป็น INT8 เปรียบเทียบด้วยความคล้ายโคไซน์ ผลคูณจุดดิบของค่าที่ไม่ผ่าน normalization เหล่านี้ไม่เทียบเท่าการเปรียบเทียบโคไซน์ตามเอกสาร ชนิดตัวแทนและฟังก์ชันความคล้ายจึงต้องพิจารณาร่วมกันเมื่อเลือกวิธีที่ดัชนีค้นหาจัดเก็บและเปรียบเทียบเอาต์พุต\n\nโมเดลการ์ดยังระบุเอาต์พุตไบนารีและการรองรับตัวแทน Matryoshka องค์ประกอบไบนารีและการจัดเก็บแบบแพ็กต่างจากอาร์เรย์เลขทศนิยมลอยตัวปกติ ดัชนีจึงต้องตีความตัวแทนที่เลือก มิติเอ็มเบดดิงเต็มอธิบายจำนวนองค์ประกอบของตัวแทน ไม่ใช่จำนวนไบต์ของทุกวิธีเข้ารหัส ให้มิติและชนิดเอาต์พุตตรงกันระหว่างฝั่งคำค้นกับเอกสาร\n\n### ความยาวและขอบเขตเอกสาร\n\nบริบทที่โมเดลเผยแพร่คือ 32K ทำให้แทนข้อความได้มาก แต่ขนาดหน่วยย่อหน้ายังควรตามสิ่งที่การค้นหาต้องคืน ส่วนที่ครบเก็บนิยามและเงื่อนไขกำกับได้ ข้อความตัดตอนที่เจาะจงชี้คำสั่งโดยตรงได้ เตรียมข้อมูลที่ใหญ่เกินตามหน้าต่างอินพุตที่เลือก แทนการสมมติว่าส่วนท้ายที่ละยังถูกแทนอยู่\n\nเก็บตัวระบุเอกสารแม่และรุ่นต้นฉบับภายนอกเวกเตอร์ หากข้อความเปลี่ยน ให้อัปเดตตัวแทนคลังที่สอดคล้องและรักษาการเชื่อมกับต้นฉบับใหม่ สำหรับคอลเล็กชันหลายภาษา ให้ตรวจคำถามจริงและย่อหน้าตัวเลือกในชุดภาษาที่ตั้งใจ แทนการอนุมานความเกี่ยวข้องเท่ากันจากป้ายหลายภาษาอย่างเดียว\n\n### รุ่นอิสระและรุ่นใช้บริบท\n\nโมเดล v1-4B เอ็มเบดข้อความแต่ละรายการที่ให้มาอย่างอิสระ การเพิ่มหลายสตริงลงแบตช์ไม่ทำให้กลายเป็นตัวเข้ารหัสชังก์ context-v1 ที่แยกต่างหาก เมื่อเอกสารรอบข้างต้องกำหนดตัวแทนแต่ละชังก์ งานนั้นเป็นของรุ่นใช้บริบทและวิธีเตรียมของมันเอง\n\npplx-embed-v1-0.6B รุ่นเล็กคืน 1024 มิติ ส่วนรุ่น 4B นี้คืน 2560 แยกตัวตนที่ตรงและตัวแทนดัชนีจนกว่าจะมีเส้นทางความเข้ากันได้ที่ระบุในเอกสาร ผลที่มีประโยชน์คือเวกเตอร์คำค้นหรือข้อความต้นฉบับแบบอิสระ พร้อมบันทึกการเปรียบเทียบโคไซน์และตัวแทนควอนไทซ์ที่เลือกสำหรับงานค้นคืน",
  "editorialOverlay": {
    "copy_fields": null,
    "copy_sha256": null,
    "copy_source": null,
    "html_sha256": "66018ca62c1712f7c5dc5c89d65c412568241c90d5dc90cba1c7c8d08758dddb",
    "module_sha256": "ee9dc1c50b1e6a8fb7fa062030fcb4646b9aaaeb08be513b723a5a92a7290f06",
    "raw_model_unchanged": true,
    "schema": "ailoot-native-model-editorial-v1"
  },
  "locale": "th",
  "methods": [
    {
      "html": "<div class=\"sheet-head\"><span class=\"mav\" aria-hidden=\"true\">•</span><h2 id=\"sheet-title\">Perplexity: Embed V1 4B</h2><button class=\"icon-btn\" type=\"button\" data-close-sheet aria-label=\"ปิด\">×</button></div><div class=\"idline\"><span>Perplexity /</span><code>perplexity/pplx-embed-v1-4b</code><button type=\"button\" id=\"copy-id\">คัดลอก ID</button></div><nav class=\"card-jump-nav\" aria-label=\"ส่วนต่าง ๆ ของการ์ดโมเดล\"><button type=\"button\" data-card-jump=\"overview\">เริ่มต้น</button><button type=\"button\" data-card-jump=\"methods\">อินพุตและเมธอด</button><button type=\"button\" data-card-jump=\"pricing\">ราคา</button><button type=\"button\" data-card-jump=\"examples\">ตัวอย่าง</button><button type=\"button\" data-card-jump=\"results\">ผลลัพธ์</button><button type=\"button\" data-card-jump=\"aliases\">ชื่ออื่น</button></nav><div class=\"card-method-tabs\" role=\"tablist\" aria-label=\"เมธอด API\"><button type=\"button\" role=\"tab\" tabindex=\"0\" aria-controls=\"card-method-content\" aria-selected=\"true\" id=\"card-method-tab-0\" data-card-method=\"Ultra|embeddings|/v1/embeddings|perplexity%2Fpplx-embed-v1-4b\">เอ็มเบดดิง</button></div><div id=\"card-method-content\" role=\"tabpanel\" aria-labelledby=\"card-method-tab-0\"><section class=\"card-section\" data-card-section=\"overview\"><h3 tabindex=\"-1\">เริ่มต้น</h3><p class=\"mdesc-full\">Perplexity pplx-embed-v1-4B เข้ารหัสข้อความแต่ละรายการอย่างอิสระเป็นเวกเตอร์ค้นคืน 2560 มิติ พร้อมบริบท 32K ไม่ต้องใช้คำนำหน้าคำสั่ง และสร้าง embedding แบบ INT8 ที่ยังไม่ปรับนอร์มโดยเนทีฟ เปรียบเทียบด้วยความคล้ายคลึงโคไซน์</p><dl class=\"card-io\" data-card-io><div><dt>อินพุตที่รองรับ</dt><dd>ข้อความ · token_ids</dd></div><div><dt>ผลลัพธ์</dt><dd>embedding</dd></div></dl><details class=\"card-about\"><summary>เกี่ยวกับโมเดล</summary><p class=\"note-s\" data-model-method-boundary>คำอธิบายนี้ครอบคลุมความสามารถของโมเดล อินพุต เอาต์พุต และตัวเลือกที่ใช้ได้ใน Ailoot แสดงด้านล่างตามเมธอดที่เลือก</p><div class=\"mabout\" id=\"m-about\"><p>pplx-embed-v1-4B เป็นรุ่นเอ็มเบดดิงข้อความแบบอิสระที่ใหญ่กว่าของ Perplexity ในตระกูล v1 แทนคำค้นหรือเอกสารเป็นเวกเตอร์ 2560 มิติสำหรับการค้นหาเชิงความหมายและค้นคืน ผู้ผลิตสร้างตระกูลบน Qwen3 ด้วยการฝึกล่วงหน้าต่อเนื่องแบบ diffusion และใช้การรวมแบบเฉลี่ยเพื่อแทนข้อความ ตัวเข้ารหัสอิสระนี้แยกจาก pplx-embed-context-v1 ซึ่งแทนชังก์เอกสารโดยใช้บริบทแวดล้อม</p><h4>เอ็มเบดข้อความจริงโดยตรง</h4><p>โมเดลไม่ต้องใช้สตริงคำสั่งหรือคำนำหน้า query/passage เตรียมข้อความที่ต้องการแทน แทนการเพิ่มข้อตกลงบทบาทจากตระกูลอื่น คอลเล็กชันค้นหามีเอกสารต้นฉบับ ย่อหน้าที่เจาะจง หรือระเบียนข้อความสั้นได้ เก็บถ้อยคำต้นฉบับและตัวระบุแต่ละรายการข้างเวกเตอร์ เพื่อให้ผลค้นคืนยังอ่านได้และติดตามที่มาได้</p><p>งานจริงอย่างหนึ่งคือค้นคืนส่วนคำอธิบายเทคนิคสำหรับคำถามเกี่ยวกับเงื่อนไข เก็บหัวข้อส่วน กฎ และข้อยกเว้นไว้ด้วยกัน ถ้อยคำคำค้นถูกเอ็มเบดอย่างอิสระ แล้วเปรียบเทียบกับตัวแทนคลังที่เตรียมไว้ ขั้นตอน RAG ภายหลังใช้ข้อความย่อหน้าที่คืนมาเป็นข้อมูลต้นฉบับ ไม่ใช่ตัวเวกเตอร์</p><h4>ตัวแทนเนทีฟและการเปรียบเทียบ</h4><p>ผู้ผลิตระบุชัดว่าเอ็มเบดดิงเนทีฟไม่ผ่าน normalization และควอนไทซ์เป็น INT8 เปรียบเทียบด้วยความคล้ายโคไซน์ ผลคูณจุดดิบของค่าที่ไม่ผ่าน normalization เหล่านี้ไม่เทียบเท่าการเปรียบเทียบโคไซน์ตามเอกสาร ชนิดตัวแทนและฟังก์ชันความคล้ายจึงต้องพิจารณาร่วมกันเมื่อเลือกวิธีที่ดัชนีค้นหาจัดเก็บและเปรียบเทียบเอาต์พุต</p><p>โมเดลการ์ดยังระบุเอาต์พุตไบนารีและการรองรับตัวแทน Matryoshka องค์ประกอบไบนารีและการจัดเก็บแบบแพ็กต่างจากอาร์เรย์เลขทศนิยมลอยตัวปกติ ดัชนีจึงต้องตีความตัวแทนที่เลือก มิติเอ็มเบดดิงเต็มอธิบายจำนวนองค์ประกอบของตัวแทน ไม่ใช่จำนวนไบต์ของทุกวิธีเข้ารหัส ให้มิติและชนิดเอาต์พุตตรงกันระหว่างฝั่งคำค้นกับเอกสาร</p><h4>ความยาวและขอบเขตเอกสาร</h4><p>บริบทที่โมเดลเผยแพร่คือ 32K ทำให้แทนข้อความได้มาก แต่ขนาดหน่วยย่อหน้ายังควรตามสิ่งที่การค้นหาต้องคืน ส่วนที่ครบเก็บนิยามและเงื่อนไขกำกับได้ ข้อความตัดตอนที่เจาะจงชี้คำสั่งโดยตรงได้ เตรียมข้อมูลที่ใหญ่เกินตามหน้าต่างอินพุตที่เลือก แทนการสมมติว่าส่วนท้ายที่ละยังถูกแทนอยู่</p><p>เก็บตัวระบุเอกสารแม่และรุ่นต้นฉบับภายนอกเวกเตอร์ หากข้อความเปลี่ยน ให้อัปเดตตัวแทนคลังที่สอดคล้องและรักษาการเชื่อมกับต้นฉบับใหม่ สำหรับคอลเล็กชันหลายภาษา ให้ตรวจคำถามจริงและย่อหน้าตัวเลือกในชุดภาษาที่ตั้งใจ แทนการอนุมานความเกี่ยวข้องเท่ากันจากป้ายหลายภาษาอย่างเดียว</p><h4>รุ่นอิสระและรุ่นใช้บริบท</h4><p>โมเดล v1-4B เอ็มเบดข้อความแต่ละรายการที่ให้มาอย่างอิสระ การเพิ่มหลายสตริงลงแบตช์ไม่ทำให้กลายเป็นตัวเข้ารหัสชังก์ context-v1 ที่แยกต่างหาก เมื่อเอกสารรอบข้างต้องกำหนดตัวแทนแต่ละชังก์ งานนั้นเป็นของรุ่นใช้บริบทและวิธีเตรียมของมันเอง</p><p>pplx-embed-v1-0.6B รุ่นเล็กคืน 1024 มิติ ส่วนรุ่น 4B นี้คืน 2560 แยกตัวตนที่ตรงและตัวแทนดัชนีจนกว่าจะมีเส้นทางความเข้ากันได้ที่ระบุในเอกสาร ผลที่มีประโยชน์คือเวกเตอร์คำค้นหรือข้อความต้นฉบับแบบอิสระ พร้อมบันทึกการเปรียบเทียบโคไซน์และตัวแทนควอนไทซ์ที่เลือกสำหรับงานค้นคืน</p></div></details></section><section class=\"card-section\" data-card-section=\"methods\"><h3 tabindex=\"-1\">ใช้งานได้ใน Ailoot · อินพุตและเมธอด</h3><details class=\"card-method\" open><summary><b>Ailoot Ultra · เอ็มเบดดิง</b> <code>POST /v1/embeddings</code></summary><dl class=\"method-capabilities\"><div><dt>ขาเข้า</dt><dd><code>text</code>, <code>token_ids</code></dd></div><div><dt>ขาออก</dt><dd><code>embedding</code></dd></div><div><dt>บริบท</dt><dd>32,000 tokens</dd></div><div><dt>รูปแบบเอาต์พุต</dt><dd>json</dd></div></dl><div class=\"tw\" data-card-parameters data-typed-parameters><table><thead><tr><th>ฟิลด์</th><th>ประเภท</th><th>ข้อกำหนด</th><th>ค่าและข้อจำกัด</th><th>ค่าเริ่มต้น</th></tr></thead><tbody><tr data-parameter-availability=\"source_interface\"><th data-cell-label=\"ฟิลด์\" scope=\"row\"><span class=\"card-cell-label\">ฟิลด์</span><code class=\"card-field-name\">model</code></th><td data-cell-label=\"ประเภท\" data-field-type><span class=\"card-cell-label\">ประเภท</span><code>string</code></td><td data-cell-label=\"ข้อกำหนด\"><span class=\"card-cell-label\">ข้อกำหนด</span>จำเป็น</td><td data-cell-label=\"ค่าและข้อจำกัด\"><span class=\"card-cell-label\">ค่าและข้อจำกัด</span><div>perplexity/pplx-embed-v1-4b</div></td><td data-cell-label=\"ค่าเริ่มต้น\" data-default=\"unspecified\"><span class=\"card-cell-label\">ค่าเริ่มต้น</span>—</td></tr><tr data-parameter-availability=\"source_interface\"><th data-cell-label=\"ฟิลด์\" scope=\"row\"><span class=\"card-cell-label\">ฟิลด์</span><code class=\"card-field-name\">input</code></th><td data-cell-label=\"ประเภท\" data-field-type><span class=\"card-cell-label\">ประเภท</span><code>string|string[]|integer[]|integer[][]</code></td><td data-cell-label=\"ข้อกำหนด\"><span class=\"card-cell-label\">ข้อกำหนด</span>จำเป็น</td><td data-cell-label=\"ค่าและข้อจำกัด\"><span class=\"card-cell-label\">ค่าและข้อจำกัด</span><div>จำนวนรายการขั้นต่ำ: 1</div><div>เงื่อนไข: ชุดข้อมูลต้องไม่ว่างและประกอบด้วยข้อมูลชนิดเดียวกัน ID โทเคนต้องเป็นจำนวนเต็มที่ไม่ติดลบ</div><div>โควตาอินพุต: สูงสุด: 32,000 · หน่วยข้อความ: ไบต์ UTF8 · หน่วยโทเค็น: องค์ประกอบในอาร์เรย์โทเค็น</div></td><td data-cell-label=\"ค่าเริ่มต้น\" data-default=\"unspecified\"><span class=\"card-cell-label\">ค่าเริ่มต้น</span>—</td></tr><tr data-parameter-availability=\"source_interface\"><th data-cell-label=\"ฟิลด์\" scope=\"row\"><span class=\"card-cell-label\">ฟิลด์</span><code class=\"card-field-name\">encoding_format</code></th><td data-cell-label=\"ประเภท\" data-field-type><span class=\"card-cell-label\">ประเภท</span><code>string</code></td><td data-cell-label=\"ข้อกำหนด\"><span class=\"card-cell-label\">ข้อกำหนด</span>ไม่บังคับ</td><td data-cell-label=\"ค่าและข้อจำกัด\"><span class=\"card-cell-label\">ค่าและข้อจำกัด</span><div>float</div></td><td data-cell-label=\"ค่าเริ่มต้น\" data-default=\"known\"><span class=\"card-cell-label\">ค่าเริ่มต้น</span>float</td></tr><tr data-parameter-availability=\"unsupported\"><th data-cell-label=\"ฟิลด์\" scope=\"row\"><span class=\"card-cell-label\">ฟิลด์</span><code class=\"card-field-name\">dimensions</code></th><td data-cell-label=\"ประเภท\" data-field-type><span class=\"card-cell-label\">ประเภท</span><code>integer</code></td><td data-cell-label=\"ข้อกำหนด\"><span class=\"card-cell-label\">ข้อกำหนด</span>ไม่รองรับ</td><td data-cell-label=\"ค่าและข้อจำกัด\"><span class=\"card-cell-label\">ค่าและข้อจำกัด</span><div>ขั้นต่ำ: 1</div></td><td data-cell-label=\"ค่าเริ่มต้น\" data-default=\"unspecified\"><span class=\"card-cell-label\">ค่าเริ่มต้น</span>—</td></tr><tr data-parameter-availability=\"pass_through_metadata\"><th data-cell-label=\"ฟิลด์\" scope=\"row\"><span class=\"card-cell-label\">ฟิลด์</span><code class=\"card-field-name\">user</code></th><td data-cell-label=\"ประเภท\" data-field-type><span class=\"card-cell-label\">ประเภท</span><code>json_value</code></td><td data-cell-label=\"ข้อกำหนด\"><span class=\"card-cell-label\">ข้อกำหนด</span>ไม่บังคับ</td><td data-cell-label=\"ค่าและข้อจำกัด\"><span class=\"card-cell-label\">ค่าและข้อจำกัด</span><div>เงื่อนไข: ต้นฉบับอนุญาตฟิลด์เมทาดาทา JSON นี้ โดยความหมายที่แน่นอนในระบบต้นทางขึ้นอยู่กับแต่ละโมเดล</div></td><td data-cell-label=\"ค่าเริ่มต้น\" data-default=\"unspecified\"><span class=\"card-cell-label\">ค่าเริ่มต้น</span>—</td></tr><tr data-parameter-availability=\"pass_through_metadata\"><th data-cell-label=\"ฟิลด์\" scope=\"row\"><span class=\"card-cell-label\">ฟิลด์</span><code class=\"card-field-name\">session_id</code></th><td data-cell-label=\"ประเภท\" data-field-type><span class=\"card-cell-label\">ประเภท</span><code>json_value</code></td><td data-cell-label=\"ข้อกำหนด\"><span class=\"card-cell-label\">ข้อกำหนด</span>ไม่บังคับ</td><td data-cell-label=\"ค่าและข้อจำกัด\"><span class=\"card-cell-label\">ค่าและข้อจำกัด</span><div>เงื่อนไข: ต้นฉบับอนุญาตฟิลด์เมทาดาทา JSON นี้ โดยความหมายที่แน่นอนในระบบต้นทางขึ้นอยู่กับแต่ละโมเดล</div></td><td data-cell-label=\"ค่าเริ่มต้น\" data-default=\"unspecified\"><span class=\"card-cell-label\">ค่าเริ่มต้น</span>—</td></tr><tr data-parameter-availability=\"pass_through_metadata\"><th data-cell-label=\"ฟิลด์\" scope=\"row\"><span class=\"card-cell-label\">ฟิลด์</span><code class=\"card-field-name\">trace</code></th><td data-cell-label=\"ประเภท\" data-field-type><span class=\"card-cell-label\">ประเภท</span><code>json_value</code></td><td data-cell-label=\"ข้อกำหนด\"><span class=\"card-cell-label\">ข้อกำหนด</span>ไม่บังคับ</td><td data-cell-label=\"ค่าและข้อจำกัด\"><span class=\"card-cell-label\">ค่าและข้อจำกัด</span><div>เงื่อนไข: ต้นฉบับอนุญาตฟิลด์เมทาดาทา JSON นี้ โดยความหมายที่แน่นอนในระบบต้นทางขึ้นอยู่กับแต่ละโมเดล</div></td><td data-cell-label=\"ค่าเริ่มต้น\" data-default=\"unspecified\"><span class=\"card-cell-label\">ค่าเริ่มต้น</span>—</td></tr><tr data-parameter-availability=\"source_interface\"><th data-cell-label=\"ฟิลด์\" scope=\"row\"><span class=\"card-cell-label\">ฟิลด์</span><code class=\"card-field-name\">provider</code></th><td data-cell-label=\"ประเภท\" data-field-type><span class=\"card-cell-label\">ประเภท</span><code>object</code></td><td data-cell-label=\"ข้อกำหนด\"><span class=\"card-cell-label\">ข้อกำหนด</span>ไม่บังคับ</td><td data-cell-label=\"ค่าและข้อจำกัด\"><span class=\"card-cell-label\">ค่าและข้อจำกัด</span><div>เงื่อนไข: provider.options ถูกปฏิเสธ</div></td><td data-cell-label=\"ค่าเริ่มต้น\" data-default=\"unspecified\"><span class=\"card-cell-label\">ค่าเริ่มต้น</span>—</td></tr></tbody></table></div><details class=\"card-about\" data-material-combinations><summary>ชุดผสมของสื่ออินพุต</summary><p class=\"note-s\"><b>text_to_embedding</b></p></details><details class=\"note-s\" data-method-contract><summary>พารามิเตอร์และวงจรการทำงานของเมธอด</summary><div class=\"tw\" data-card-table=\"contract\"><table><thead><tr><th>พารามิเตอร์</th><th>ข้อกำหนด</th></tr></thead><tbody><tr><th data-cell-label=\"พารามิเตอร์\" scope=\"row\"><span class=\"card-cell-label\">พารามิเตอร์</span><code>content_type</code></th><td data-cell-label=\"ข้อกำหนด\"><span class=\"card-cell-label\">ข้อกำหนด</span>application/json</td></tr><tr><th data-cell-label=\"พารามิเตอร์\" scope=\"row\"><span class=\"card-cell-label\">พารามิเตอร์</span><code>required</code></th><td data-cell-label=\"ข้อกำหนด\"><span class=\"card-cell-label\">ข้อกำหนด</span>model, input</td></tr><tr><th data-cell-label=\"พารามิเตอร์\" scope=\"row\"><span class=\"card-cell-label\">พารามิเตอร์</span><code>input_shapes</code></th><td data-cell-label=\"ข้อกำหนด\"><span class=\"card-cell-label\">ข้อกำหนด</span>string, string[], nonnegative_integer_token_array, nonnegative_integer_token_array[]</td></tr><tr><th data-cell-label=\"พารามิเตอร์\" scope=\"row\"><span class=\"card-cell-label\">พารามิเตอร์</span><code>encoding_format</code></th><td data-cell-label=\"ข้อกำหนด\"><span class=\"card-cell-label\">ข้อกำหนด</span>float</td></tr><tr><th data-cell-label=\"พารามิเตอร์\" scope=\"row\"><span class=\"card-cell-label\">พารามิเตอร์</span><code>dimensions_override</code></th><td data-cell-label=\"ข้อกำหนด\"><span class=\"card-cell-label\">ข้อกำหนด</span>false</td></tr><tr><th data-cell-label=\"พารามิเตอร์\" scope=\"row\"><span class=\"card-cell-label\">พารามิเตอร์</span><code>max_input_budget_units</code></th><td data-cell-label=\"ข้อกำหนด\"><span class=\"card-cell-label\">ข้อกำหนด</span>32000</td></tr><tr><th data-cell-label=\"พารามิเตอร์\" scope=\"row\"><span class=\"card-cell-label\">พารามิเตอร์</span><code>multimodal_objects</code></th><td data-cell-label=\"ข้อกำหนด\"><span class=\"card-cell-label\">ข้อกำหนด</span>false</td></tr><tr><th data-cell-label=\"พารามิเตอร์\" scope=\"row\"><span class=\"card-cell-label\">พารามิเตอร์</span><code>material_types</code></th><td data-cell-label=\"ข้อกำหนด\"><span class=\"card-cell-label\">ข้อกำหนด</span>text, token_ids</td></tr></tbody></table></div><p>วงจรการทำงาน: <code>synchronous_json</code></p><p class=\"note-s\">เก็บดัชนีและจำนวนมิติของเวกเตอร์ทุกรายการ</p><p class=\"note-s\">ชื่อโมเดลที่สื่อว่ารองรับข้อมูลหลายรูปแบบไม่ได้ทำให้สามารถส่งออบเจ็กต์รูปภาพผ่านเส้นทางเฉพาะนี้ได้</p></details></details></section><section class=\"card-section\" data-card-section=\"pricing\"><h3 tabindex=\"-1\">ราคา</h3><div data-native-semantic-method=\"v1\" data-tariff-reference-only><p class=\"note-s\" data-rate-support-note>ข้อมูลอัตราราคาไม่ได้เพิ่มตัวเลือกคำขอ พารามิเตอร์ที่รองรับระบุไว้สำหรับเมธอดที่เลือก</p><dl data-price-conditions><dt>โหมดรวดเร็ว</dt><dd>อัตรามาตรฐาน <span class=\"note-s\">เมื่อเลือกโหมดรวดเร็ว</span></dd><dt>โหมดยืดหยุ่น</dt><dd>อัตรามาตรฐาน <span class=\"note-s\">เมื่อเลือกโหมด flex</span></dd><dt>ระดับการใช้เหตุผลสูงสุด</dt><dd>อัตรามาตรฐาน <span class=\"note-s\">เมื่อใช้การปรับตามค่าเริ่มต้น (default) สำหรับระดับการใช้เหตุผลสูงสุด</span></dd></dl></div><div data-declared-tariff-pricing><h4>อัตราค่าบริการ Ailoot</h4><h4>ราคาตามการตั้งค่า</h4><div class=\"tw\" data-pricing-profiles><table><thead><tr><th>การตั้งค่า</th><th>ตารางอัตราค่าบริการ</th><th>ค่าบริการ</th></tr></thead><tbody><tr><th data-cell-label=\"การตั้งค่า\" scope=\"row\"><span class=\"card-cell-label\">การตั้งค่า</span>อัตราราคาพื้นฐานของโทเคน</th><td data-cell-label=\"ตารางอัตราค่าบริการ\"><span class=\"card-cell-label\">ตารางอัตราค่าบริการ</span>อัตราพื้นฐาน</td><td data-cell-label=\"ค่าบริการ\"><span class=\"card-cell-label\">ค่าบริการ</span><div><span>ขาเข้า · โทเค็นอินพุต</span> <b>$0.00006</b> <span class=\"price-unit\">/ 1K โทเค็น</span></div><div><span>ขาออก · โทเค็นเอาต์พุต</span> <b>$0</b> <span class=\"price-unit\">/ 1K โทเค็น</span></div><div><span>ขาเข้า · การอ่านแคช</span> <b>—</b> <span class=\"price-unit\">/ 1K โทเค็น</span></div><div><span>ขาเข้า · การเขียนแคช</span> <b>—</b> <span class=\"price-unit\">/ 1K โทเค็น</span></div><div><span>ขาเข้า · การเขียนแคช, 1 ชั่วโมง</span> <b>—</b> <span class=\"price-unit\">/ 1K โทเค็น</span></div></td></tr></tbody></table></div></div><p class=\"note-s\">Ailoot กันยอดเงินประมาณการไว้ก่อนส่งคำขอ หลังได้ผลลัพธ์ จะคิดค่าบริการสุดท้ายตามการใช้งานที่วัดได้ การคิดค่าบริการแบบสตรีมใช้บันทึกการใช้งานสุดท้าย <a href=\"/docs/th/billing/reserve/\">วิธีกันยอดเงินและคิดค่าบริการสุดท้าย →</a></p></section><section class=\"card-section\" data-card-section=\"examples\"><h3 tabindex=\"-1\">ตัวอย่างคำขอ</h3><h4>Ailoot Ultra · เอ็มเบดดิง</h4><div class=\"code-group\"><div class=\"cg-bar\"><div class=\"cg-tabs\" role=\"tablist\" aria-label=\"ตัวเลือกโค้ด\"><button class=\"cg-tab\" id=\"model-code-2193-tab-0\" role=\"tab\" type=\"button\" aria-controls=\"model-code-2193-panel-0\" aria-selected=\"true\" tabindex=\"0\">curl</button><button class=\"cg-tab\" id=\"model-code-2193-tab-1\" role=\"tab\" type=\"button\" aria-controls=\"model-code-2193-panel-1\" aria-selected=\"false\" tabindex=\"-1\">Python SDK</button></div><div class=\"cg-tools\"><button class=\"cg-btn cg-copy\" type=\"button\" aria-label=\"คัดลอกโค้ด\"><svg class=\"cp\" viewBox=\"0 0 16 16\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.4\"><rect x=\"5.25\" y=\"5.25\" width=\"8.5\" height=\"8.5\" rx=\"1.75\"/><path d=\"M10.75 5.25V3.5a1.25 1.25 0 0 0-1.25-1.25H3.5A1.25 1.25 0 0 0 2.25 3.5v6a1.25 1.25 0 0 0 1.25 1.25h1.75\"/></svg><svg class=\"ok\" viewBox=\"0 0 16 16\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.4\"><path d=\"m3 8.5 3.25 3.25L13 5\"/></svg></button></div></div><div class=\"cg-body\"><div class=\"cg-pane\" id=\"model-code-2193-panel-0\" role=\"tabpanel\" aria-labelledby=\"model-code-2193-tab-0\"><pre data-lang=\"bash\"><code>set -eu\n: &quot;${AILOOT_API_KEY:?Set your Ailoot API key}&quot;\npython3 - &lt;&lt;&#39;PY_REQUEST&#39;\nimport json,os\nfrom pathlib import Path\np=json.loads(&#39;{&quot;model&quot;: &quot;perplexity/pplx-embed-v1-4b&quot;, &quot;input&quot;: [&quot;First document&quot;, &quot;Second document&quot;]}&#39;)\n\nPath(&quot;request.json&quot;).write_text(json.dumps(p,ensure_ascii=False))\nPY_REQUEST\ncurl --fail-with-body --silent --show-error https://api.ailoot.ai/v1/embeddings \\\n  -H &quot;Authorization: Bearer $AILOOT_API_KEY&quot; -H &#39;Content-Type: application/json&#39; \\\n  --data-binary @request.json -D response-headers.txt -o result.json\npython3 - &lt;&lt;&#39;PY_RESULT&#39;\nimport json\nfrom pathlib import Path\nr=json.loads(Path(&quot;result.json&quot;).read_text())\nfor x in r.get(&quot;data&quot;,[]): print(json.dumps({&quot;index&quot;:x.get(&quot;index&quot;),&quot;embedding&quot;:x.get(&quot;embedding&quot;)}))\nPY_RESULT\n</code></pre></div><div class=\"cg-pane\" id=\"model-code-2193-panel-1\" role=\"tabpanel\" aria-labelledby=\"model-code-2193-tab-1\" hidden><pre data-lang=\"python\"><code>from openai import OpenAI\nimport os\n\nclient=OpenAI(base_url=&quot;https://api.ailoot.ai/v1&quot;,api_key=os.environ[&quot;AILOOT_API_KEY&quot;],max_retries=0)\nresult=client.embeddings.create(model=&#39;perplexity/pplx-embed-v1-4b&#39;,input=[&quot;First document&quot;,&quot;Second document&quot;])\nprint(result)\nfor item in result.data:print(item.index,item.embedding)\n</code></pre></div></div></div></section><section class=\"card-section\" data-card-section=\"results\"><h3 tabindex=\"-1\">รับและบันทึกผลลัพธ์</h3><h4>Ailoot Ultra · เอ็มเบดดิง</h4><p class=\"note-s\">json</p><div class=\"card-result-process\" data-all-results><h5>เก็บผลลัพธ์ที่เสร็จสมบูรณ์ทั้งหมด</h5><p class=\"note-s\">เก็บทุกการตอบกลับ ไฟล์ และส่วนเนื้อหาที่ส่งกลับมาอย่างครบถ้วน</p><p class=\"note-s\">เก็บเวกเตอร์ทุกรายการพร้อมดัชนีของแต่ละรายการ จำนวนเวกเตอร์ต้องเท่ากับจำนวนข้อมูลนำเข้า และจำนวนมิติต้องสอดคล้องกัน</p></div><div class=\"card-result-process\" data-unknown-recovery><h5>เมื่อต้องตรวจสอบการตอบกลับต้นฉบับ</h5><p class=\"note-s\">ไม่มีการเพิ่มจุดเชื่อมต่อสำหรับงานสร้างเวกเตอร์ตัวแทนข้อมูล</p></div><details class=\"card-about\" data-output-fields><summary>ฟิลด์การตอบกลับ</summary><div class=\"tw\" data-card-table=\"output\"><table><thead><tr><th>ฟิลด์</th><th>ประเภท</th></tr></thead><tbody><tr><th data-cell-label=\"ฟิลด์\" scope=\"row\"><span class=\"card-cell-label\">ฟิลด์</span><code class=\"card-field-name\">object</code></th><td data-cell-label=\"ประเภท\" data-field-type><span class=\"card-cell-label\">ประเภท</span>string</td></tr><tr><th data-cell-label=\"ฟิลด์\" scope=\"row\"><span class=\"card-cell-label\">ฟิลด์</span><code class=\"card-field-name\">model</code></th><td data-cell-label=\"ประเภท\" data-field-type><span class=\"card-cell-label\">ประเภท</span>string</td></tr><tr><th data-cell-label=\"ฟิลด์\" scope=\"row\"><span class=\"card-cell-label\">ฟิลด์</span><code class=\"card-field-name\">data[].index</code></th><td data-cell-label=\"ประเภท\" data-field-type><span class=\"card-cell-label\">ประเภท</span>integer</td></tr><tr><th data-cell-label=\"ฟิลด์\" scope=\"row\"><span class=\"card-cell-label\">ฟิลด์</span><code class=\"card-field-name\">data[].embedding</code></th><td data-cell-label=\"ประเภท\" data-field-type><span class=\"card-cell-label\">ประเภท</span>finite float[]</td></tr><tr><th data-cell-label=\"ฟิลด์\" scope=\"row\"><span class=\"card-cell-label\">ฟิลด์</span><code class=\"card-field-name\">usage</code></th><td data-cell-label=\"ประเภท\" data-field-type><span class=\"card-cell-label\">ประเภท</span>object</td></tr></tbody></table></div></details><details class=\"card-about\" data-method-errors><summary>ข้อผิดพลาดและขั้นตอนถัดไป</summary><div class=\"tw\" data-card-table=\"errors\"><table><thead><tr><th>การตอบกลับ</th><th>เงื่อนไข</th><th>ขั้นตอนถัดไป</th></tr></thead><tbody><tr><th data-cell-label=\"การตอบกลับ\" scope=\"row\"><span class=\"card-cell-label\">การตอบกลับ</span>400 · <code>invalid_request_error</code></th><td data-cell-label=\"เงื่อนไข\"><span class=\"card-cell-label\">เงื่อนไข</span>ฟิลด์จำเป็น รูปแบบการแทนข้อมูล หรือค่าพารามิเตอร์ไม่ถูกต้อง</td><td data-cell-label=\"ขั้นตอนถัดไป\"><span class=\"card-cell-label\">ขั้นตอนถัดไป</span>แก้ฟิลด์ที่ระบุก่อนส่งคำขอสร้างครั้งใหม่</td></tr></tbody></table></div></details></section><section class=\"card-section\" data-card-section=\"aliases\"><h3 tabindex=\"-1\">ชื่ออื่น</h3><h4>ชื่ออื่นของโมเดล</h4><p class=\"note-s\"><span data-model-alias-route=\"Ultra\"><b>Ailoot Ultra</b> <a href=\"#m=perplexity%2Fpplx-embed-v1-4b&amp;route=Ultra&amp;caller=perplexity%2Fpplx-embed-v1-4b&amp;fmt=embeddings\"><code>perplexity/pplx-embed-v1-4b</code></a></span></p><h4>ชื่อพาธเมธอดอื่น</h4><p class=\"note-s\">ใช้พาธเมธอดที่แสดงด้านบน</p><h4>ID ที่เกี่ยวข้องสำหรับเรียกใช้โมเดล</h4><p class=\"note-s\"><a href=\"#m=perplexity%2Fpplx-embed-v1-4b&amp;route=Ultra&amp;caller=perplexity%2Fpplx-embed-v1-4b&amp;fmt=embeddings\"><code>perplexity/pplx-embed-v1-4b</code></a></p></section></div>",
      "method_identity": {
        "effective_request_model_id": "perplexity/pplx-embed-v1-4b",
        "fmt": "embeddings",
        "http": "POST",
        "path": "/v1/embeddings",
        "request_model_id": "perplexity/pplx-embed-v1-4b",
        "route_label": "Ultra"
      },
      "method_key": "Ultra|embeddings|/v1/embeddings|perplexity%2Fpplx-embed-v1-4b",
      "ordinal": 0,
      "rawMethod": {
        "available": null,
        "cache_read": null,
        "cache_write": null,
        "cache_write_1h": null,
        "contract": {
          "data": {
            "all_results": "Keep every vector with its index. Vector count must equal input count; dimensions must be consistent.",
            "errors": [
              {
                "code": null,
                "condition": "ฟิลด์จำเป็น รูปแบบการแทนข้อมูล หรือค่าพารามิเตอร์ไม่ถูกต้อง",
                "http_status": 400,
                "recovery": "แก้ฟิลด์ที่ระบุก่อนส่งคำขอสร้างครั้งใหม่",
                "type": "invalid_request_error"
              }
            ],
            "hints": [],
            "ignored_fields": [],
            "lifecycle": {
              "create": {
                "http": "POST",
                "path": "/v1/embeddings"
              },
              "job_read": null,
              "mode": "synchronous_json",
              "unknown": "ไม่มีการเพิ่มจุดเชื่อมต่อสำหรับงานสร้างเวกเตอร์ตัวแทนข้อมูล"
            },
            "material_combinations": [
              {
                "alternatives": [
                  "string",
                  "string[]",
                  "nonnegative_integer_token_array",
                  "nonnegative_integer_token_array[]"
                ],
                "mode": "text_to_embedding"
              }
            ],
            "operation_modes": [
              "single_embedding",
              "batched_embeddings"
            ],
            "outputs": {
              "all_results": "เก็บเวกเตอร์ทุกรายการพร้อมดัชนีของแต่ละรายการ จำนวนเวกเตอร์ต้องเท่ากับจำนวนข้อมูลนำเข้า และจำนวนมิติต้องสอดคล้องกัน",
              "default_dimensions": null,
              "family": "embedding",
              "fields": [
                {
                  "description": null,
                  "name": "object",
                  "type": "string"
                },
                {
                  "description": null,
                  "name": "model",
                  "type": "string"
                },
                {
                  "description": null,
                  "name": "data[].index",
                  "type": "integer"
                },
                {
                  "description": null,
                  "name": "data[].embedding",
                  "type": "finite float[]"
                },
                {
                  "description": null,
                  "name": "usage",
                  "type": "object"
                }
              ],
              "format": "json"
            },
            "parameters": [
              {
                "availability": "source_interface",
                "default": null,
                "default_known": false,
                "enum": [
                  "perplexity/pplx-embed-v1-4b"
                ],
                "enum_known": true,
                "name": "model",
                "required": true,
                "type": "string"
              },
              {
                "availability": "source_interface",
                "budget": {
                  "maximum": 32000,
                  "text_unit": "ไบต์ UTF8",
                  "token_unit": "องค์ประกอบในอาร์เรย์โทเค็น"
                },
                "conditions": "ชุดข้อมูลต้องไม่ว่างและประกอบด้วยข้อมูลชนิดเดียวกัน ID โทเคนต้องเป็นจำนวนเต็มที่ไม่ติดลบ",
                "default": null,
                "default_known": false,
                "enum": null,
                "enum_known": false,
                "min_items": 1,
                "name": "input",
                "required": true,
                "type": "string|string[]|integer[]|integer[][]"
              },
              {
                "availability": "source_interface",
                "default": "float",
                "default_known": true,
                "enum": [
                  "float"
                ],
                "enum_known": true,
                "name": "encoding_format",
                "required": false,
                "type": "string"
              },
              {
                "availability": "unsupported",
                "default": null,
                "default_known": false,
                "enum": null,
                "enum_known": false,
                "minimum": 1,
                "name": "dimensions",
                "required": false,
                "type": "integer"
              },
              {
                "availability": "pass_through_metadata",
                "conditions": "ต้นฉบับอนุญาตฟิลด์เมทาดาทา JSON นี้ โดยความหมายที่แน่นอนในระบบต้นทางขึ้นอยู่กับแต่ละโมเดล",
                "default": null,
                "default_known": false,
                "enum": null,
                "enum_known": false,
                "name": "user",
                "required": false,
                "type": "json_value"
              },
              {
                "availability": "pass_through_metadata",
                "conditions": "ต้นฉบับอนุญาตฟิลด์เมทาดาทา JSON นี้ โดยความหมายที่แน่นอนในระบบต้นทางขึ้นอยู่กับแต่ละโมเดล",
                "default": null,
                "default_known": false,
                "enum": null,
                "enum_known": false,
                "name": "session_id",
                "required": false,
                "type": "json_value"
              },
              {
                "availability": "pass_through_metadata",
                "conditions": "ต้นฉบับอนุญาตฟิลด์เมทาดาทา JSON นี้ โดยความหมายที่แน่นอนในระบบต้นทางขึ้นอยู่กับแต่ละโมเดล",
                "default": null,
                "default_known": false,
                "enum": null,
                "enum_known": false,
                "name": "trace",
                "required": false,
                "type": "json_value"
              },
              {
                "availability": "source_interface",
                "conditions": "provider.options ถูกปฏิเสธ",
                "default": null,
                "default_known": false,
                "enum": null,
                "enum_known": false,
                "name": "provider",
                "required": false,
                "type": "object"
              }
            ],
            "profile_binding": "Exact existing Ailoot model and method; interface constraints below do not assert provider qualification.",
            "unsupported": [
              "mixed input kinds",
              "empty input",
              "image/audio/file objects",
              "encoding_format=base64",
              "dimensions override"
            ]
          },
          "hints": [
            "เก็บดัชนีและจำนวนมิติของเวกเตอร์ทุกรายการ",
            "ชื่อโมเดลที่สื่อว่ารองรับข้อมูลหลายรูปแบบไม่ได้ทำให้สามารถส่งออบเจ็กต์รูปภาพผ่านเส้นทางเฉพาะนี้ได้"
          ],
          "input": {
            "content_type": "application/json",
            "dimensions_override": false,
            "encoding_format": [
              "float"
            ],
            "input_shapes": [
              "string",
              "string[]",
              "nonnegative_integer_token_array",
              "nonnegative_integer_token_array[]"
            ],
            "material_types": [
              "text",
              "token_ids"
            ],
            "max_input_budget_units": 32000,
            "multimodal_objects": false,
            "required": [
              "model",
              "input"
            ]
          },
          "lifecycle": {
            "mode": "synchronous_json",
            "unknown": "no embedding job endpoint inferred"
          },
          "manufacturer_capability": null,
          "method": {
            "http": "POST",
            "path": "/v1/embeddings"
          },
          "method_aliases": [],
          "operation_modes": [
            "text_to_embedding"
          ],
          "output": {
            "default_dimensions": null,
            "family": "embedding",
            "format": "json",
            "http_success": 200,
            "vectors": "one dense float vector per input; indices/model/usage validated"
          }
        },
        "ctx": 32000,
        "declared_pricing_profiles": [
          {
            "dimensions": {
              "regime": "base"
            },
            "label": "อัตราราคาพื้นฐานของโทเคน",
            "units": [
              {
                "amount": "0.00006000",
                "amount_unit": "usd_per_thousand_tokens",
                "billing_input": true,
                "estimate_only": false,
                "key": "input_price",
                "label": "Input tokens",
                "native_amount_usd_per_unit": "0.00000006",
                "native_quantity": 1,
                "native_unit": "input_token",
                "public_unit_label": "/ 1K tokens",
                "quantity": 1000,
                "quantity_is_estimate": false,
                "rate_role": "typed_native_retail_rate",
                "side": "in",
                "unit": "input_token"
              },
              {
                "amount": "0",
                "amount_unit": "usd_per_thousand_tokens",
                "billing_input": true,
                "estimate_only": false,
                "key": "output_price",
                "label": "Output tokens",
                "native_amount_usd_per_unit": "0",
                "native_quantity": 1,
                "native_unit": "output_token",
                "public_unit_label": "/ 1K tokens",
                "quantity": 1000,
                "quantity_is_estimate": false,
                "rate_role": "typed_native_retail_rate",
                "side": "out",
                "unit": "output_token"
              },
              {
                "amount": null,
                "amount_unit": "usd_per_thousand_tokens",
                "billing_input": true,
                "estimate_only": false,
                "key": "cache_read_price",
                "label": "Cache read",
                "native_amount_usd_per_unit": null,
                "native_quantity": 1,
                "native_unit": "cached_input_token",
                "public_unit_label": "/ 1K tokens",
                "quantity": 1000,
                "quantity_is_estimate": false,
                "rate_role": "typed_native_retail_rate",
                "side": "in",
                "unit": "cached_input_token"
              },
              {
                "amount": null,
                "amount_unit": "usd_per_thousand_tokens",
                "billing_input": true,
                "estimate_only": false,
                "key": "cache_write_price",
                "label": "Cache write",
                "native_amount_usd_per_unit": null,
                "native_quantity": 1,
                "native_unit": "generic_cache_creation_token",
                "public_unit_label": "/ 1K tokens",
                "quantity": 1000,
                "quantity_is_estimate": false,
                "rate_role": "typed_native_retail_rate",
                "side": "in",
                "unit": "generic_cache_creation_token"
              },
              {
                "amount": null,
                "amount_unit": "usd_per_thousand_tokens",
                "billing_input": true,
                "estimate_only": false,
                "key": "cache_write_1h_price",
                "label": "Cache write, 1 hour",
                "native_amount_usd_per_unit": null,
                "native_quantity": 1,
                "native_unit": "one_hour_cache_creation_token",
                "public_unit_label": "/ 1K tokens",
                "quantity": 1000,
                "quantity_is_estimate": false,
                "rate_role": "typed_native_retail_rate",
                "side": "in",
                "unit": "one_hour_cache_creation_token"
              }
            ]
          }
        ],
        "examples": [
          {
            "code": "set -eu\n: \"${AILOOT_API_KEY:?Set your Ailoot API key}\"\npython3 - <<'PY_REQUEST'\nimport json,os\nfrom pathlib import Path\np=json.loads('{\"model\": \"perplexity/pplx-embed-v1-4b\", \"input\": [\"First document\", \"Second document\"]}')\n\nPath(\"request.json\").write_text(json.dumps(p,ensure_ascii=False))\nPY_REQUEST\ncurl --fail-with-body --silent --show-error https://api.ailoot.ai/v1/embeddings \\\n  -H \"Authorization: Bearer $AILOOT_API_KEY\" -H 'Content-Type: application/json' \\\n  --data-binary @request.json -D response-headers.txt -o result.json\npython3 - <<'PY_RESULT'\nimport json\nfrom pathlib import Path\nr=json.loads(Path(\"result.json\").read_text())\nfor x in r.get(\"data\",[]): print(json.dumps({\"index\":x.get(\"index\"),\"embedding\":x.get(\"embedding\")}))\nPY_RESULT\n",
            "label": "curl · retained exact creation",
            "language": "bash"
          },
          {
            "code": "from openai import OpenAI\nimport os\n\nclient=OpenAI(base_url=\"https://api.ailoot.ai/v1\",api_key=os.environ[\"AILOOT_API_KEY\"],max_retries=0)\nresult=client.embeddings.create(model='perplexity/pplx-embed-v1-4b',input=[\"First document\",\"Second document\"])\nprint(result)\nfor item in result.data:print(item.index,item.embedding)\n",
            "label": "Python SDK · all vectors",
            "language": "python"
          }
        ],
        "family": "openai",
        "fast_multiplier": 1,
        "flex_multiplier": 1,
        "fmt": "embeddings",
        "hints": [
          "Keep every vector index and dimension.",
          "Multimodal model name does not admit image objects on this exact path."
        ],
        "http": "POST",
        "in": 0.06,
        "input": [
          "text",
          "token_ids"
        ],
        "label": "Эмбеддинги",
        "max_out": null,
        "max_reasoning_effort_multiplier": 1,
        "method_aliases": [],
        "out": 0,
        "output": [
          "embedding"
        ],
        "path": "/v1/embeddings",
        "price_conditions": [
          {
            "label": "โหมดรวดเร็ว",
            "value": "อัตรามาตรฐาน",
            "when": "เมื่อเลือกโหมดรวดเร็ว"
          },
          {
            "label": "โหมดยืดหยุ่น",
            "value": "อัตรามาตรฐาน",
            "when": "เมื่อเลือกโหมด flex"
          },
          {
            "label": "ระดับการใช้เหตุผลสูงสุด",
            "value": "อัตรามาตรฐาน",
            "when": "เมื่อใช้การปรับตามค่าเริ่มต้น (default) สำหรับระดับการใช้เหตุผลสูงสุด"
          }
        ],
        "pricing": {
          "billing_mode": "token",
          "image_input_price": null,
          "image_output_price": null,
          "per_request_price": null
        },
        "pricing_profiles": [
          {
            "dimensions": {
              "regime": "base"
            },
            "label": "Base token rates",
            "units": [
              {
                "amount": "0.00006000",
                "amount_unit": "usd_per_thousand_tokens",
                "billing_input": true,
                "estimate_only": false,
                "key": "input_price",
                "label": "Input tokens",
                "native_amount_usd_per_unit": "0.00000006",
                "native_quantity": 1,
                "native_unit": "input_token",
                "public_unit_label": "/ 1K tokens",
                "quantity": 1000,
                "quantity_is_estimate": false,
                "rate_role": "typed_native_retail_rate",
                "side": "in",
                "unit": "input_token"
              },
              {
                "amount": "0",
                "amount_unit": "usd_per_thousand_tokens",
                "billing_input": true,
                "estimate_only": false,
                "key": "output_price",
                "label": "Output tokens",
                "native_amount_usd_per_unit": "0",
                "native_quantity": 1,
                "native_unit": "output_token",
                "public_unit_label": "/ 1K tokens",
                "quantity": 1000,
                "quantity_is_estimate": false,
                "rate_role": "typed_native_retail_rate",
                "side": "out",
                "unit": "output_token"
              },
              {
                "amount": null,
                "amount_unit": "usd_per_thousand_tokens",
                "billing_input": true,
                "estimate_only": false,
                "key": "cache_read_price",
                "label": "Cache read",
                "native_amount_usd_per_unit": null,
                "native_quantity": 1,
                "native_unit": "cached_input_token",
                "public_unit_label": "/ 1K tokens",
                "quantity": 1000,
                "quantity_is_estimate": false,
                "rate_role": "typed_native_retail_rate",
                "side": "in",
                "unit": "cached_input_token"
              },
              {
                "amount": null,
                "amount_unit": "usd_per_thousand_tokens",
                "billing_input": true,
                "estimate_only": false,
                "key": "cache_write_price",
                "label": "Cache write",
                "native_amount_usd_per_unit": null,
                "native_quantity": 1,
                "native_unit": "generic_cache_creation_token",
                "public_unit_label": "/ 1K tokens",
                "quantity": 1000,
                "quantity_is_estimate": false,
                "rate_role": "typed_native_retail_rate",
                "side": "in",
                "unit": "generic_cache_creation_token"
              },
              {
                "amount": null,
                "amount_unit": "usd_per_thousand_tokens",
                "billing_input": true,
                "estimate_only": false,
                "key": "cache_write_1h_price",
                "label": "Cache write, 1 hour",
                "native_amount_usd_per_unit": null,
                "native_quantity": 1,
                "native_unit": "one_hour_cache_creation_token",
                "public_unit_label": "/ 1K tokens",
                "quantity": 1000,
                "quantity_is_estimate": false,
                "rate_role": "typed_native_retail_rate",
                "side": "in",
                "unit": "one_hour_cache_creation_token"
              }
            ]
          }
        ],
        "request_model_id": "perplexity/pplx-embed-v1-4b",
        "route_label": "Ultra",
        "status_reads": [],
        "tiers": [],
        "units": [
          {
            "amount": "0.00006000",
            "amount_unit": "usd_per_thousand_tokens",
            "billing_input": true,
            "estimate_only": false,
            "key": "input_price",
            "label": "Input tokens",
            "native_amount_usd_per_unit": "0.00000006",
            "native_quantity": 1,
            "native_unit": "input_token",
            "public_unit_label": "/ 1K tokens",
            "quantity": 1000,
            "quantity_is_estimate": false,
            "rate_role": "typed_native_retail_rate",
            "side": "in",
            "unit": "input_token"
          },
          {
            "amount": "0",
            "amount_unit": "usd_per_thousand_tokens",
            "billing_input": true,
            "estimate_only": false,
            "key": "output_price",
            "label": "Output tokens",
            "native_amount_usd_per_unit": "0",
            "native_quantity": 1,
            "native_unit": "output_token",
            "public_unit_label": "/ 1K tokens",
            "quantity": 1000,
            "quantity_is_estimate": false,
            "rate_role": "typed_native_retail_rate",
            "side": "out",
            "unit": "output_token"
          },
          {
            "amount": null,
            "amount_unit": "usd_per_thousand_tokens",
            "billing_input": true,
            "estimate_only": false,
            "key": "cache_read_price",
            "label": "Cache read",
            "native_amount_usd_per_unit": null,
            "native_quantity": 1,
            "native_unit": "cached_input_token",
            "public_unit_label": "/ 1K tokens",
            "quantity": 1000,
            "quantity_is_estimate": false,
            "rate_role": "typed_native_retail_rate",
            "side": "in",
            "unit": "cached_input_token"
          },
          {
            "amount": null,
            "amount_unit": "usd_per_thousand_tokens",
            "billing_input": true,
            "estimate_only": false,
            "key": "cache_write_price",
            "label": "Cache write",
            "native_amount_usd_per_unit": null,
            "native_quantity": 1,
            "native_unit": "generic_cache_creation_token",
            "public_unit_label": "/ 1K tokens",
            "quantity": 1000,
            "quantity_is_estimate": false,
            "rate_role": "typed_native_retail_rate",
            "side": "in",
            "unit": "generic_cache_creation_token"
          },
          {
            "amount": null,
            "amount_unit": "usd_per_thousand_tokens",
            "billing_input": true,
            "estimate_only": false,
            "key": "cache_write_1h_price",
            "label": "Cache write, 1 hour",
            "native_amount_usd_per_unit": null,
            "native_quantity": 1,
            "native_unit": "one_hour_cache_creation_token",
            "public_unit_label": "/ 1K tokens",
            "quantity": 1000,
            "quantity_is_estimate": false,
            "rate_role": "typed_native_retail_rate",
            "side": "in",
            "unit": "one_hour_cache_creation_token"
          }
        ]
      }
    }
  ],
  "model_id": "perplexity/pplx-embed-v1-4b",
  "nativeProvenance": {
    "input_facts_canonical_sha256": "c1850762b8892c62d8b4c9a0d4e7fcce50dc3fb8262e46ce48553558aef8cf4e",
    "input_html_sha256": "8d82e4461b173992cea510f225223f8ef9912c2bc9e27d74f2f60bc4eb75eb9b",
    "private_audit_sha256": "3bc4ce796071eb3c822c4d3a1b1cacbcd8472b067f11a902eadd06a13248ed67",
    "role": "historical-normalized-input-audit-hashes",
    "schema": "ailoot-native-model-provenance-v2"
  },
  "page": {
    "canonical": "https://ailoot.ai/models/th/perplexity-pplx-embed-v1-4b/",
    "description": "Perplexity pplx-embed-v1-4B เข้ารหัสข้อความแต่ละรายการอย่างอิสระเป็นเวกเตอร์ค้นคืน 2560 มิติ พร้อมบริบท 32K ไม่ต้องใช้คำนำหน้าคำสั่ง และสร้าง embedding แบบ INT8 ที่ยังไม่ปรับนอร์มโดยเนทีฟ เปรียบเทียบด้วยความคล้ายคลึงโคไซน์",
    "locale": "th",
    "md_url": "https://ailoot.ai/models/th/perplexity-pplx-embed-v1-4b/index.md",
    "title": "Perplexity: Embed V1 4B — Ailoot",
    "url": "https://ailoot.ai/models/th/perplexity-pplx-embed-v1-4b/"
  },
  "rawModel": {
    "about": "pplx-embed-v1-4B เป็นรุ่นเอ็มเบดดิงข้อความแบบอิสระที่ใหญ่กว่าของ Perplexity ในตระกูล v1 แทนคำค้นหรือเอกสารเป็นเวกเตอร์ 2560 มิติสำหรับการค้นหาเชิงความหมายและค้นคืน ผู้ผลิตสร้างตระกูลบน Qwen3 ด้วยการฝึกล่วงหน้าต่อเนื่องแบบ diffusion และใช้การรวมแบบเฉลี่ยเพื่อแทนข้อความ ตัวเข้ารหัสอิสระนี้แยกจาก pplx-embed-context-v1 ซึ่งแทนชังก์เอกสารโดยใช้บริบทแวดล้อม\n\n### เอ็มเบดข้อความจริงโดยตรง\n\nโมเดลไม่ต้องใช้สตริงคำสั่งหรือคำนำหน้า query/passage เตรียมข้อความที่ต้องการแทน แทนการเพิ่มข้อตกลงบทบาทจากตระกูลอื่น คอลเล็กชันค้นหามีเอกสารต้นฉบับ ย่อหน้าที่เจาะจง หรือระเบียนข้อความสั้นได้ เก็บถ้อยคำต้นฉบับและตัวระบุแต่ละรายการข้างเวกเตอร์ เพื่อให้ผลค้นคืนยังอ่านได้และติดตามที่มาได้\n\nงานจริงอย่างหนึ่งคือค้นคืนส่วนคำอธิบายเทคนิคสำหรับคำถามเกี่ยวกับเงื่อนไข เก็บหัวข้อส่วน กฎ และข้อยกเว้นไว้ด้วยกัน ถ้อยคำคำค้นถูกเอ็มเบดอย่างอิสระ แล้วเปรียบเทียบกับตัวแทนคลังที่เตรียมไว้ ขั้นตอน RAG ภายหลังใช้ข้อความย่อหน้าที่คืนมาเป็นข้อมูลต้นฉบับ ไม่ใช่ตัวเวกเตอร์\n\n### ตัวแทนเนทีฟและการเปรียบเทียบ\n\nผู้ผลิตระบุชัดว่าเอ็มเบดดิงเนทีฟไม่ผ่าน normalization และควอนไทซ์เป็น INT8 เปรียบเทียบด้วยความคล้ายโคไซน์ ผลคูณจุดดิบของค่าที่ไม่ผ่าน normalization เหล่านี้ไม่เทียบเท่าการเปรียบเทียบโคไซน์ตามเอกสาร ชนิดตัวแทนและฟังก์ชันความคล้ายจึงต้องพิจารณาร่วมกันเมื่อเลือกวิธีที่ดัชนีค้นหาจัดเก็บและเปรียบเทียบเอาต์พุต\n\nโมเดลการ์ดยังระบุเอาต์พุตไบนารีและการรองรับตัวแทน Matryoshka องค์ประกอบไบนารีและการจัดเก็บแบบแพ็กต่างจากอาร์เรย์เลขทศนิยมลอยตัวปกติ ดัชนีจึงต้องตีความตัวแทนที่เลือก มิติเอ็มเบดดิงเต็มอธิบายจำนวนองค์ประกอบของตัวแทน ไม่ใช่จำนวนไบต์ของทุกวิธีเข้ารหัส ให้มิติและชนิดเอาต์พุตตรงกันระหว่างฝั่งคำค้นกับเอกสาร\n\n### ความยาวและขอบเขตเอกสาร\n\nบริบทที่โมเดลเผยแพร่คือ 32K ทำให้แทนข้อความได้มาก แต่ขนาดหน่วยย่อหน้ายังควรตามสิ่งที่การค้นหาต้องคืน ส่วนที่ครบเก็บนิยามและเงื่อนไขกำกับได้ ข้อความตัดตอนที่เจาะจงชี้คำสั่งโดยตรงได้ เตรียมข้อมูลที่ใหญ่เกินตามหน้าต่างอินพุตที่เลือก แทนการสมมติว่าส่วนท้ายที่ละยังถูกแทนอยู่\n\nเก็บตัวระบุเอกสารแม่และรุ่นต้นฉบับภายนอกเวกเตอร์ หากข้อความเปลี่ยน ให้อัปเดตตัวแทนคลังที่สอดคล้องและรักษาการเชื่อมกับต้นฉบับใหม่ สำหรับคอลเล็กชันหลายภาษา ให้ตรวจคำถามจริงและย่อหน้าตัวเลือกในชุดภาษาที่ตั้งใจ แทนการอนุมานความเกี่ยวข้องเท่ากันจากป้ายหลายภาษาอย่างเดียว\n\n### รุ่นอิสระและรุ่นใช้บริบท\n\nโมเดล v1-4B เอ็มเบดข้อความแต่ละรายการที่ให้มาอย่างอิสระ การเพิ่มหลายสตริงลงแบตช์ไม่ทำให้กลายเป็นตัวเข้ารหัสชังก์ context-v1 ที่แยกต่างหาก เมื่อเอกสารรอบข้างต้องกำหนดตัวแทนแต่ละชังก์ งานนั้นเป็นของรุ่นใช้บริบทและวิธีเตรียมของมันเอง\n\npplx-embed-v1-0.6B รุ่นเล็กคืน 1024 มิติ ส่วนรุ่น 4B นี้คืน 2560 แยกตัวตนที่ตรงและตัวแทนดัชนีจนกว่าจะมีเส้นทางความเข้ากันได้ที่ระบุในเอกสาร ผลที่มีประโยชน์คือเวกเตอร์คำค้นหรือข้อความต้นฉบับแบบอิสระ พร้อมบันทึกการเปรียบเทียบโคไซน์และตัวแทนควอนไทซ์ที่เลือกสำหรับงานค้นคืน",
    "alias_of": null,
    "aliases": [],
    "author": "Perplexity",
    "available": null,
    "canonical_model": "perplexity/pplx-embed-v1-4b",
    "capabilities": {
      "context_length": 32000,
      "manufacturer_input": [
        "text"
      ],
      "manufacturer_output": [
        "embeddings"
      ]
    },
    "card_routes": [
      {
        "label": "Ultra",
        "rates": [
          {
            "amount": "0.00006000",
            "amount_unit": "usd_per_thousand_tokens",
            "billing_input": true,
            "estimate_only": false,
            "key": "input_price",
            "label": "Input tokens",
            "native_amount_usd_per_unit": "0.00000006",
            "native_quantity": 1,
            "native_unit": "input_token",
            "public_unit_label": "/ 1K tokens",
            "quantity": 1000,
            "quantity_is_estimate": false,
            "rate_role": "typed_native_retail_rate",
            "side": "in",
            "unit": "input_token"
          },
          {
            "amount": "0",
            "amount_unit": "usd_per_thousand_tokens",
            "billing_input": true,
            "estimate_only": false,
            "key": "output_price",
            "label": "Output tokens",
            "native_amount_usd_per_unit": "0",
            "native_quantity": 1,
            "native_unit": "output_token",
            "public_unit_label": "/ 1K tokens",
            "quantity": 1000,
            "quantity_is_estimate": false,
            "rate_role": "typed_native_retail_rate",
            "side": "out",
            "unit": "output_token"
          }
        ],
        "summary": "ดูราคาตามการกำหนดค่าแบบครบถ้วนในรายละเอียด"
      }
    ],
    "ctx": 32000,
    "entity_type": "model",
    "formats": [
      "embeddings"
    ],
    "id": "perplexity/pplx-embed-v1-4b",
    "input": [
      "text",
      "token_ids"
    ],
    "kind": "embedding",
    "max_out": null,
    "methods": [
      {
        "available": null,
        "cache_read": null,
        "cache_write": null,
        "cache_write_1h": null,
        "contract": {
          "data": {
            "all_results": "Keep every vector with its index. Vector count must equal input count; dimensions must be consistent.",
            "errors": [
              {
                "code": null,
                "condition": "ฟิลด์จำเป็น รูปแบบการแทนข้อมูล หรือค่าพารามิเตอร์ไม่ถูกต้อง",
                "http_status": 400,
                "recovery": "แก้ฟิลด์ที่ระบุก่อนส่งคำขอสร้างครั้งใหม่",
                "type": "invalid_request_error"
              }
            ],
            "hints": [],
            "ignored_fields": [],
            "lifecycle": {
              "create": {
                "http": "POST",
                "path": "/v1/embeddings"
              },
              "job_read": null,
              "mode": "synchronous_json",
              "unknown": "ไม่มีการเพิ่มจุดเชื่อมต่อสำหรับงานสร้างเวกเตอร์ตัวแทนข้อมูล"
            },
            "material_combinations": [
              {
                "alternatives": [
                  "string",
                  "string[]",
                  "nonnegative_integer_token_array",
                  "nonnegative_integer_token_array[]"
                ],
                "mode": "text_to_embedding"
              }
            ],
            "operation_modes": [
              "single_embedding",
              "batched_embeddings"
            ],
            "outputs": {
              "all_results": "เก็บเวกเตอร์ทุกรายการพร้อมดัชนีของแต่ละรายการ จำนวนเวกเตอร์ต้องเท่ากับจำนวนข้อมูลนำเข้า และจำนวนมิติต้องสอดคล้องกัน",
              "default_dimensions": null,
              "family": "embedding",
              "fields": [
                {
                  "description": null,
                  "name": "object",
                  "type": "string"
                },
                {
                  "description": null,
                  "name": "model",
                  "type": "string"
                },
                {
                  "description": null,
                  "name": "data[].index",
                  "type": "integer"
                },
                {
                  "description": null,
                  "name": "data[].embedding",
                  "type": "finite float[]"
                },
                {
                  "description": null,
                  "name": "usage",
                  "type": "object"
                }
              ],
              "format": "json"
            },
            "parameters": [
              {
                "availability": "source_interface",
                "default": null,
                "default_known": false,
                "enum": [
                  "perplexity/pplx-embed-v1-4b"
                ],
                "enum_known": true,
                "name": "model",
                "required": true,
                "type": "string"
              },
              {
                "availability": "source_interface",
                "budget": {
                  "maximum": 32000,
                  "text_unit": "ไบต์ UTF8",
                  "token_unit": "องค์ประกอบในอาร์เรย์โทเค็น"
                },
                "conditions": "ชุดข้อมูลต้องไม่ว่างและประกอบด้วยข้อมูลชนิดเดียวกัน ID โทเคนต้องเป็นจำนวนเต็มที่ไม่ติดลบ",
                "default": null,
                "default_known": false,
                "enum": null,
                "enum_known": false,
                "min_items": 1,
                "name": "input",
                "required": true,
                "type": "string|string[]|integer[]|integer[][]"
              },
              {
                "availability": "source_interface",
                "default": "float",
                "default_known": true,
                "enum": [
                  "float"
                ],
                "enum_known": true,
                "name": "encoding_format",
                "required": false,
                "type": "string"
              },
              {
                "availability": "unsupported",
                "default": null,
                "default_known": false,
                "enum": null,
                "enum_known": false,
                "minimum": 1,
                "name": "dimensions",
                "required": false,
                "type": "integer"
              },
              {
                "availability": "pass_through_metadata",
                "conditions": "ต้นฉบับอนุญาตฟิลด์เมทาดาทา JSON นี้ โดยความหมายที่แน่นอนในระบบต้นทางขึ้นอยู่กับแต่ละโมเดล",
                "default": null,
                "default_known": false,
                "enum": null,
                "enum_known": false,
                "name": "user",
                "required": false,
                "type": "json_value"
              },
              {
                "availability": "pass_through_metadata",
                "conditions": "ต้นฉบับอนุญาตฟิลด์เมทาดาทา JSON นี้ โดยความหมายที่แน่นอนในระบบต้นทางขึ้นอยู่กับแต่ละโมเดล",
                "default": null,
                "default_known": false,
                "enum": null,
                "enum_known": false,
                "name": "session_id",
                "required": false,
                "type": "json_value"
              },
              {
                "availability": "pass_through_metadata",
                "conditions": "ต้นฉบับอนุญาตฟิลด์เมทาดาทา JSON นี้ โดยความหมายที่แน่นอนในระบบต้นทางขึ้นอยู่กับแต่ละโมเดล",
                "default": null,
                "default_known": false,
                "enum": null,
                "enum_known": false,
                "name": "trace",
                "required": false,
                "type": "json_value"
              },
              {
                "availability": "source_interface",
                "conditions": "provider.options ถูกปฏิเสธ",
                "default": null,
                "default_known": false,
                "enum": null,
                "enum_known": false,
                "name": "provider",
                "required": false,
                "type": "object"
              }
            ],
            "profile_binding": "Exact existing Ailoot model and method; interface constraints below do not assert provider qualification.",
            "unsupported": [
              "mixed input kinds",
              "empty input",
              "image/audio/file objects",
              "encoding_format=base64",
              "dimensions override"
            ]
          },
          "hints": [
            "เก็บดัชนีและจำนวนมิติของเวกเตอร์ทุกรายการ",
            "ชื่อโมเดลที่สื่อว่ารองรับข้อมูลหลายรูปแบบไม่ได้ทำให้สามารถส่งออบเจ็กต์รูปภาพผ่านเส้นทางเฉพาะนี้ได้"
          ],
          "input": {
            "content_type": "application/json",
            "dimensions_override": false,
            "encoding_format": [
              "float"
            ],
            "input_shapes": [
              "string",
              "string[]",
              "nonnegative_integer_token_array",
              "nonnegative_integer_token_array[]"
            ],
            "material_types": [
              "text",
              "token_ids"
            ],
            "max_input_budget_units": 32000,
            "multimodal_objects": false,
            "required": [
              "model",
              "input"
            ]
          },
          "lifecycle": {
            "mode": "synchronous_json",
            "unknown": "no embedding job endpoint inferred"
          },
          "manufacturer_capability": null,
          "method": {
            "http": "POST",
            "path": "/v1/embeddings"
          },
          "method_aliases": [],
          "operation_modes": [
            "text_to_embedding"
          ],
          "output": {
            "default_dimensions": null,
            "family": "embedding",
            "format": "json",
            "http_success": 200,
            "vectors": "one dense float vector per input; indices/model/usage validated"
          }
        },
        "ctx": 32000,
        "declared_pricing_profiles": [
          {
            "dimensions": {
              "regime": "base"
            },
            "label": "อัตราราคาพื้นฐานของโทเคน",
            "units": [
              {
                "amount": "0.00006000",
                "amount_unit": "usd_per_thousand_tokens",
                "billing_input": true,
                "estimate_only": false,
                "key": "input_price",
                "label": "Input tokens",
                "native_amount_usd_per_unit": "0.00000006",
                "native_quantity": 1,
                "native_unit": "input_token",
                "public_unit_label": "/ 1K tokens",
                "quantity": 1000,
                "quantity_is_estimate": false,
                "rate_role": "typed_native_retail_rate",
                "side": "in",
                "unit": "input_token"
              },
              {
                "amount": "0",
                "amount_unit": "usd_per_thousand_tokens",
                "billing_input": true,
                "estimate_only": false,
                "key": "output_price",
                "label": "Output tokens",
                "native_amount_usd_per_unit": "0",
                "native_quantity": 1,
                "native_unit": "output_token",
                "public_unit_label": "/ 1K tokens",
                "quantity": 1000,
                "quantity_is_estimate": false,
                "rate_role": "typed_native_retail_rate",
                "side": "out",
                "unit": "output_token"
              },
              {
                "amount": null,
                "amount_unit": "usd_per_thousand_tokens",
                "billing_input": true,
                "estimate_only": false,
                "key": "cache_read_price",
                "label": "Cache read",
                "native_amount_usd_per_unit": null,
                "native_quantity": 1,
                "native_unit": "cached_input_token",
                "public_unit_label": "/ 1K tokens",
                "quantity": 1000,
                "quantity_is_estimate": false,
                "rate_role": "typed_native_retail_rate",
                "side": "in",
                "unit": "cached_input_token"
              },
              {
                "amount": null,
                "amount_unit": "usd_per_thousand_tokens",
                "billing_input": true,
                "estimate_only": false,
                "key": "cache_write_price",
                "label": "Cache write",
                "native_amount_usd_per_unit": null,
                "native_quantity": 1,
                "native_unit": "generic_cache_creation_token",
                "public_unit_label": "/ 1K tokens",
                "quantity": 1000,
                "quantity_is_estimate": false,
                "rate_role": "typed_native_retail_rate",
                "side": "in",
                "unit": "generic_cache_creation_token"
              },
              {
                "amount": null,
                "amount_unit": "usd_per_thousand_tokens",
                "billing_input": true,
                "estimate_only": false,
                "key": "cache_write_1h_price",
                "label": "Cache write, 1 hour",
                "native_amount_usd_per_unit": null,
                "native_quantity": 1,
                "native_unit": "one_hour_cache_creation_token",
                "public_unit_label": "/ 1K tokens",
                "quantity": 1000,
                "quantity_is_estimate": false,
                "rate_role": "typed_native_retail_rate",
                "side": "in",
                "unit": "one_hour_cache_creation_token"
              }
            ]
          }
        ],
        "examples": [
          {
            "code": "set -eu\n: \"${AILOOT_API_KEY:?Set your Ailoot API key}\"\npython3 - <<'PY_REQUEST'\nimport json,os\nfrom pathlib import Path\np=json.loads('{\"model\": \"perplexity/pplx-embed-v1-4b\", \"input\": [\"First document\", \"Second document\"]}')\n\nPath(\"request.json\").write_text(json.dumps(p,ensure_ascii=False))\nPY_REQUEST\ncurl --fail-with-body --silent --show-error https://api.ailoot.ai/v1/embeddings \\\n  -H \"Authorization: Bearer $AILOOT_API_KEY\" -H 'Content-Type: application/json' \\\n  --data-binary @request.json -D response-headers.txt -o result.json\npython3 - <<'PY_RESULT'\nimport json\nfrom pathlib import Path\nr=json.loads(Path(\"result.json\").read_text())\nfor x in r.get(\"data\",[]): print(json.dumps({\"index\":x.get(\"index\"),\"embedding\":x.get(\"embedding\")}))\nPY_RESULT\n",
            "label": "curl · retained exact creation",
            "language": "bash"
          },
          {
            "code": "from openai import OpenAI\nimport os\n\nclient=OpenAI(base_url=\"https://api.ailoot.ai/v1\",api_key=os.environ[\"AILOOT_API_KEY\"],max_retries=0)\nresult=client.embeddings.create(model='perplexity/pplx-embed-v1-4b',input=[\"First document\",\"Second document\"])\nprint(result)\nfor item in result.data:print(item.index,item.embedding)\n",
            "label": "Python SDK · all vectors",
            "language": "python"
          }
        ],
        "family": "openai",
        "fast_multiplier": 1,
        "flex_multiplier": 1,
        "fmt": "embeddings",
        "hints": [
          "Keep every vector index and dimension.",
          "Multimodal model name does not admit image objects on this exact path."
        ],
        "http": "POST",
        "in": 0.06,
        "input": [
          "text",
          "token_ids"
        ],
        "label": "Эмбеддинги",
        "max_out": null,
        "max_reasoning_effort_multiplier": 1,
        "method_aliases": [],
        "out": 0,
        "output": [
          "embedding"
        ],
        "path": "/v1/embeddings",
        "price_conditions": [
          {
            "label": "โหมดรวดเร็ว",
            "value": "อัตรามาตรฐาน",
            "when": "เมื่อเลือกโหมดรวดเร็ว"
          },
          {
            "label": "โหมดยืดหยุ่น",
            "value": "อัตรามาตรฐาน",
            "when": "เมื่อเลือกโหมด flex"
          },
          {
            "label": "ระดับการใช้เหตุผลสูงสุด",
            "value": "อัตรามาตรฐาน",
            "when": "เมื่อใช้การปรับตามค่าเริ่มต้น (default) สำหรับระดับการใช้เหตุผลสูงสุด"
          }
        ],
        "pricing": {
          "billing_mode": "token",
          "image_input_price": null,
          "image_output_price": null,
          "per_request_price": null
        },
        "pricing_profiles": [
          {
            "dimensions": {
              "regime": "base"
            },
            "label": "Base token rates",
            "units": [
              {
                "amount": "0.00006000",
                "amount_unit": "usd_per_thousand_tokens",
                "billing_input": true,
                "estimate_only": false,
                "key": "input_price",
                "label": "Input tokens",
                "native_amount_usd_per_unit": "0.00000006",
                "native_quantity": 1,
                "native_unit": "input_token",
                "public_unit_label": "/ 1K tokens",
                "quantity": 1000,
                "quantity_is_estimate": false,
                "rate_role": "typed_native_retail_rate",
                "side": "in",
                "unit": "input_token"
              },
              {
                "amount": "0",
                "amount_unit": "usd_per_thousand_tokens",
                "billing_input": true,
                "estimate_only": false,
                "key": "output_price",
                "label": "Output tokens",
                "native_amount_usd_per_unit": "0",
                "native_quantity": 1,
                "native_unit": "output_token",
                "public_unit_label": "/ 1K tokens",
                "quantity": 1000,
                "quantity_is_estimate": false,
                "rate_role": "typed_native_retail_rate",
                "side": "out",
                "unit": "output_token"
              },
              {
                "amount": null,
                "amount_unit": "usd_per_thousand_tokens",
                "billing_input": true,
                "estimate_only": false,
                "key": "cache_read_price",
                "label": "Cache read",
                "native_amount_usd_per_unit": null,
                "native_quantity": 1,
                "native_unit": "cached_input_token",
                "public_unit_label": "/ 1K tokens",
                "quantity": 1000,
                "quantity_is_estimate": false,
                "rate_role": "typed_native_retail_rate",
                "side": "in",
                "unit": "cached_input_token"
              },
              {
                "amount": null,
                "amount_unit": "usd_per_thousand_tokens",
                "billing_input": true,
                "estimate_only": false,
                "key": "cache_write_price",
                "label": "Cache write",
                "native_amount_usd_per_unit": null,
                "native_quantity": 1,
                "native_unit": "generic_cache_creation_token",
                "public_unit_label": "/ 1K tokens",
                "quantity": 1000,
                "quantity_is_estimate": false,
                "rate_role": "typed_native_retail_rate",
                "side": "in",
                "unit": "generic_cache_creation_token"
              },
              {
                "amount": null,
                "amount_unit": "usd_per_thousand_tokens",
                "billing_input": true,
                "estimate_only": false,
                "key": "cache_write_1h_price",
                "label": "Cache write, 1 hour",
                "native_amount_usd_per_unit": null,
                "native_quantity": 1,
                "native_unit": "one_hour_cache_creation_token",
                "public_unit_label": "/ 1K tokens",
                "quantity": 1000,
                "quantity_is_estimate": false,
                "rate_role": "typed_native_retail_rate",
                "side": "in",
                "unit": "one_hour_cache_creation_token"
              }
            ]
          }
        ],
        "request_model_id": "perplexity/pplx-embed-v1-4b",
        "route_label": "Ultra",
        "status_reads": [],
        "tiers": [],
        "units": [
          {
            "amount": "0.00006000",
            "amount_unit": "usd_per_thousand_tokens",
            "billing_input": true,
            "estimate_only": false,
            "key": "input_price",
            "label": "Input tokens",
            "native_amount_usd_per_unit": "0.00000006",
            "native_quantity": 1,
            "native_unit": "input_token",
            "public_unit_label": "/ 1K tokens",
            "quantity": 1000,
            "quantity_is_estimate": false,
            "rate_role": "typed_native_retail_rate",
            "side": "in",
            "unit": "input_token"
          },
          {
            "amount": "0",
            "amount_unit": "usd_per_thousand_tokens",
            "billing_input": true,
            "estimate_only": false,
            "key": "output_price",
            "label": "Output tokens",
            "native_amount_usd_per_unit": "0",
            "native_quantity": 1,
            "native_unit": "output_token",
            "public_unit_label": "/ 1K tokens",
            "quantity": 1000,
            "quantity_is_estimate": false,
            "rate_role": "typed_native_retail_rate",
            "side": "out",
            "unit": "output_token"
          },
          {
            "amount": null,
            "amount_unit": "usd_per_thousand_tokens",
            "billing_input": true,
            "estimate_only": false,
            "key": "cache_read_price",
            "label": "Cache read",
            "native_amount_usd_per_unit": null,
            "native_quantity": 1,
            "native_unit": "cached_input_token",
            "public_unit_label": "/ 1K tokens",
            "quantity": 1000,
            "quantity_is_estimate": false,
            "rate_role": "typed_native_retail_rate",
            "side": "in",
            "unit": "cached_input_token"
          },
          {
            "amount": null,
            "amount_unit": "usd_per_thousand_tokens",
            "billing_input": true,
            "estimate_only": false,
            "key": "cache_write_price",
            "label": "Cache write",
            "native_amount_usd_per_unit": null,
            "native_quantity": 1,
            "native_unit": "generic_cache_creation_token",
            "public_unit_label": "/ 1K tokens",
            "quantity": 1000,
            "quantity_is_estimate": false,
            "rate_role": "typed_native_retail_rate",
            "side": "in",
            "unit": "generic_cache_creation_token"
          },
          {
            "amount": null,
            "amount_unit": "usd_per_thousand_tokens",
            "billing_input": true,
            "estimate_only": false,
            "key": "cache_write_1h_price",
            "label": "Cache write, 1 hour",
            "native_amount_usd_per_unit": null,
            "native_quantity": 1,
            "native_unit": "one_hour_cache_creation_token",
            "public_unit_label": "/ 1K tokens",
            "quantity": 1000,
            "quantity_is_estimate": false,
            "rate_role": "typed_native_retail_rate",
            "side": "in",
            "unit": "one_hour_cache_creation_token"
          }
        ]
      }
    ],
    "model_aliases": [
      {
        "canonical_model_id": "perplexity/pplx-embed-v1-4b",
        "request_model_id": "perplexity/pplx-embed-v1-4b",
        "route_label": "Ultra"
      }
    ],
    "name": "Perplexity: Embed V1 4B",
    "price": {
      "in": 0.06,
      "in_label": null,
      "out": 0,
      "out_label": null,
      "scope_label": "Token rates",
      "sort_in": 0.06,
      "sort_out": 0,
      "varies": false
    },
    "pricing_profiles": [
      {
        "dimensions": {
          "regime": "base"
        },
        "label": "Эмбеддинги · Base token rates",
        "units": [
          {
            "amount": "0.00006000",
            "amount_unit": "usd_per_thousand_tokens",
            "billing_input": true,
            "estimate_only": false,
            "key": "input_price",
            "label": "Input tokens",
            "native_amount_usd_per_unit": "0.00000006",
            "native_quantity": 1,
            "native_unit": "input_token",
            "public_unit_label": "/ 1K tokens",
            "quantity": 1000,
            "quantity_is_estimate": false,
            "rate_role": "typed_native_retail_rate",
            "side": "in",
            "unit": "input_token"
          },
          {
            "amount": "0",
            "amount_unit": "usd_per_thousand_tokens",
            "billing_input": true,
            "estimate_only": false,
            "key": "output_price",
            "label": "Output tokens",
            "native_amount_usd_per_unit": "0",
            "native_quantity": 1,
            "native_unit": "output_token",
            "public_unit_label": "/ 1K tokens",
            "quantity": 1000,
            "quantity_is_estimate": false,
            "rate_role": "typed_native_retail_rate",
            "side": "out",
            "unit": "output_token"
          },
          {
            "amount": null,
            "amount_unit": "usd_per_thousand_tokens",
            "billing_input": true,
            "estimate_only": false,
            "key": "cache_read_price",
            "label": "Cache read",
            "native_amount_usd_per_unit": null,
            "native_quantity": 1,
            "native_unit": "cached_input_token",
            "public_unit_label": "/ 1K tokens",
            "quantity": 1000,
            "quantity_is_estimate": false,
            "rate_role": "typed_native_retail_rate",
            "side": "in",
            "unit": "cached_input_token"
          },
          {
            "amount": null,
            "amount_unit": "usd_per_thousand_tokens",
            "billing_input": true,
            "estimate_only": false,
            "key": "cache_write_price",
            "label": "Cache write",
            "native_amount_usd_per_unit": null,
            "native_quantity": 1,
            "native_unit": "generic_cache_creation_token",
            "public_unit_label": "/ 1K tokens",
            "quantity": 1000,
            "quantity_is_estimate": false,
            "rate_role": "typed_native_retail_rate",
            "side": "in",
            "unit": "generic_cache_creation_token"
          },
          {
            "amount": null,
            "amount_unit": "usd_per_thousand_tokens",
            "billing_input": true,
            "estimate_only": false,
            "key": "cache_write_1h_price",
            "label": "Cache write, 1 hour",
            "native_amount_usd_per_unit": null,
            "native_quantity": 1,
            "native_unit": "one_hour_cache_creation_token",
            "public_unit_label": "/ 1K tokens",
            "quantity": 1000,
            "quantity_is_estimate": false,
            "rate_role": "typed_native_retail_rate",
            "side": "in",
            "unit": "one_hour_cache_creation_token"
          }
        ]
      }
    ],
    "public_id": "perplexity/pplx-embed-v1-4b",
    "short": "Perplexity pplx-embed-v1-4B เข้ารหัสข้อความแต่ละรายการอย่างอิสระเป็นเวกเตอร์ค้นคืน 2560 มิติ พร้อมบริบท 32K ไม่ต้องใช้คำนำหน้าคำสั่ง และสร้าง embedding แบบ INT8 ที่ยังไม่ปรับนอร์มโดยเนทีฟ เปรียบเทียบด้วยความคล้ายคลึงโคไซน์"
  },
  "renderer_schema": {
    "method_order": "Original DTO methods order; every exact route/format/path/caller survives.",
    "prices": "Original public DTO fields and original native display HTML; no flattened or normalized offers."
  },
  "representation": "exact-public-dto-and-native-renderer-html",
  "representationNotes": {
    "current_reference": {
      "about_json_pointer": "/aboutHtml",
      "methods": [
        {
          "contract_json_pointer": "/methods/0/rawMethod/contract",
          "html_json_pointer": "/methods/0/html",
          "method_ordinal": 0
        }
      ],
      "role": "current-semantic-reference"
    },
    "raw_input": {
      "examples_role": "historical-input-not-current-ready-examples",
      "json_pointers": [
        "/rawModel",
        "/methods/0/rawMethod"
      ],
      "role": "historical-owner-input"
    },
    "schema": "ailoot-native-model-representations-v1"
  },
  "schema": "ailoot-static-model-facts-v1",
  "schema_version": 1,
  "shortText": "Perplexity pplx-embed-v1-4B เข้ารหัสข้อความแต่ละรายการอย่างอิสระเป็นเวกเตอร์ค้นคืน 2560 มิติ พร้อมบริบท 32K ไม่ต้องใช้คำนำหน้าคำสั่ง และสร้าง embedding แบบ INT8 ที่ยังไม่ปรับนอร์มโดยเนทีฟ เปรียบเทียบด้วยความคล้ายคลึงโคไซน์",
  "source": {
    "audit_sha256": "2e00086bcbfc28e64d0cebe97aa47c17d8d5618963027f8ffb9dc6123d7d25b1",
    "bridge_map_sha256": "1125275768b9636fc8461bc7da5061239a81ddfe508e2557843ca42c58ab0036",
    "raw_model_json_sha256": "d95c7f17857bdcd1565ba70b111298dcc392f299a7724c18fd87ba92cf25c48c",
    "renderer_sha256": "890edb706fafafdd4f598bb324acf65fada58918b0911b97eb80e68be2ef65d9"
  },
  "sourceRevision": "4a55d57dc9d2c56cb1fb250e2530ea5a46d091600c8edc3d2e5b8cd5c1fab0cf"
}
