{
  "aboutHtml": "<p>Voyage Code 3 เป็นโมเดลฝังที่เชี่ยวชาญการดึงซอร์สโค้ด ผู้พัฒนาอธิบายงานภาษาธรรมชาติไปยังโค้ด โค้ดไปยังโค้ด และสตริงคำอธิบายไปยังโค้ด คำถามหาโค้ดที่ทำงานตามต้องการได้ ส่วนโค้ดหาตรรกะเกี่ยวข้องได้ และคำอธิบายฟังก์ชันหาโค้ดที่เกี่ยวข้องได้ โมเดลสร้างเวกเตอร์สำหรับการดึงข้อมูล แทนไฟล์ที่แก้ไขแล้วหรือโปรแกรมที่เสร็จสมบูรณ์</p><p>เตรียมข้อมูลคลังโค้ดตามหน่วยโค้ดที่มีความหมาย เก็บฟังก์ชันกับชื่อ ซิกเนเจอร์ และความเห็นที่อธิบายวัตถุประสงค์ไว้ด้วยกัน สำหรับองค์ประกอบใหญ่ ให้รวมคำจำกัดความใกล้เคียงที่จำเป็นต่อการเข้าใจการดำเนินการ เก็บคลังโค้ด รุ่นแก้ไข เส้นทางไฟล์ และตำแหน่งบรรทัดแยก เพื่อให้ผลค้นเปิดต้นทางตรงกับที่ฝังไว้</p><p>การค้นภาษาธรรมชาติอธิบายพฤติกรรมได้ เช่น หาส่วนโครงการที่ตรวจสิ่งอัปโหลดก่อนบันทึก คำค้นแบบโค้ดให้ฟังก์ชันที่ต้องจับคู่วัตถุประสงค์ในที่อื่นได้ เลือกการค้นตัวแทนจากงานพัฒนาจริง รวมชื่อที่ไม่คุ้น โค้ดคล้ายกัน และยูทิลิตีที่ความหมายพึ่งโค้ดโดยรอบ</p><p>หน้าต่างบริบท 32,000 โทเคนรับข้อความโค้ดจำนวนมากได้ ใช้พื้นที่อย่างตั้งใจ ฟังก์ชันครบกับการพึ่งพาที่เกี่ยวข้องอาจให้ข้อมูลมากกว่าบล็อกที่ตัดตามอำเภอใจกลางลำดับควบคุม รักษารูปแบบต้นทางให้อ่านได้และคงไวยากรณ์ภาษาระหว่างดึงข้อมูล หากไฟล์ต้นทางใหญ่กว่าหน้าต่างอินพุต ให้แบ่งตามขอบเขตโครงสร้างที่มีประโยชน์และรักษาความสัมพันธ์ระหว่างข้อความกับไฟล์แม่</p><p>Voyage Code 3 รองรับข้อมูลฝัง 2,048, 1,024, 512 หรือ 256 มิติ พร้อมรูปแทนทศนิยมลอยตัว แปดบิตแบบมีหรือไม่มีเครื่องหมาย และฐานสอง ตัวควบคุมเหล่านี้รองรับขนาดดัชนีคลังโค้ดและการตั้งค่าค้นต่างกัน ประเมินรูปแทนกะทัดรัดด้วยการค้นจริงชุดเดียวกับฐานเปรียบเทียบที่ใหญ่กว่า แล้วตรวจว่าฟังก์ชันหรือไฟล์ที่ถูกยังอยู่ในผลที่มีประโยชน์หรือไม่</p><p>สำหรับผู้ช่วยเขียนโค้ด ให้ดึงข้อความต้นทางที่เกี่ยวข้องก่อน แล้วให้ข้อความเหล่านั้นกับข้อมูลอ้างอิงไฟล์แก่องค์ประกอบที่รับผิดชอบตอบหรือแก้ไข การจับคู่ความคล้ายช่วยเลือกบริบท ไม่ได้ยืนยันว่าโค้ดสองชุดใช้แทนกันได้ ตรวจอินพุต ผลข้างเคียง และข้อกำหนดโดยรอบในโค้ดที่ดึงก่อนใช้แนะนำการแก้ไข</p><p>แยกรุ่นคลังโค้ดที่ไม่เกี่ยวข้องกันผ่านเมทาดาทาและรักษารุ่นแก้ไขที่ทำดัชนีให้ตามกลับได้ หากฟังก์ชันย้ายหรือพฤติกรรมเปลี่ยน ให้อัปเดตทั้งเวกเตอร์และตำแหน่งต้นทาง การตั้งค่าฝังเดียวกันควรใช้กับต้นทางในดัชนีและคำค้น เมื่อย้ายดัชนี ให้เทียบผลกับชุดคำถามเดิม เพื่อไม่ให้การเปลี่ยนโมเดลหรือรูปแทนเวกเตอร์เปลี่ยนโค้ดที่นักพัฒนาเห็นโดยไม่มีใครสังเกต</p><p>การตรวจที่มีประโยชน์รวมถึงคำค้นหาโค้ดจริงแทนเพียงชื่อการทดสอบหรือไม่ สตริงคำอธิบายหาฟังก์ชันที่ตรงกันหรือไม่ และแยกโค้ดที่มีความหมายเกี่ยวข้องจากส่วนที่คล้ายแค่ผิวเผินได้หรือไม่ เก็บข้อความต้นทางที่ส่งคืนและตำแหน่งไว้ในผลค้นให้นักพัฒนาตรวจหลักฐาน นี่ทำให้ข้อมูลฝังที่เน้นโค้ดของโมเดลเป็นเครื่องมือนำทางและเลือกบริบทที่ใช้ได้จริง</p>",
  "aboutText": "Voyage Code 3 เป็นโมเดลฝังที่เชี่ยวชาญการดึงซอร์สโค้ด ผู้พัฒนาอธิบายงานภาษาธรรมชาติไปยังโค้ด โค้ดไปยังโค้ด และสตริงคำอธิบายไปยังโค้ด คำถามหาโค้ดที่ทำงานตามต้องการได้ ส่วนโค้ดหาตรรกะเกี่ยวข้องได้ และคำอธิบายฟังก์ชันหาโค้ดที่เกี่ยวข้องได้ โมเดลสร้างเวกเตอร์สำหรับการดึงข้อมูล แทนไฟล์ที่แก้ไขแล้วหรือโปรแกรมที่เสร็จสมบูรณ์\n\nเตรียมข้อมูลคลังโค้ดตามหน่วยโค้ดที่มีความหมาย เก็บฟังก์ชันกับชื่อ ซิกเนเจอร์ และความเห็นที่อธิบายวัตถุประสงค์ไว้ด้วยกัน สำหรับองค์ประกอบใหญ่ ให้รวมคำจำกัดความใกล้เคียงที่จำเป็นต่อการเข้าใจการดำเนินการ เก็บคลังโค้ด รุ่นแก้ไข เส้นทางไฟล์ และตำแหน่งบรรทัดแยก เพื่อให้ผลค้นเปิดต้นทางตรงกับที่ฝังไว้\n\nการค้นภาษาธรรมชาติอธิบายพฤติกรรมได้ เช่น หาส่วนโครงการที่ตรวจสิ่งอัปโหลดก่อนบันทึก คำค้นแบบโค้ดให้ฟังก์ชันที่ต้องจับคู่วัตถุประสงค์ในที่อื่นได้ เลือกการค้นตัวแทนจากงานพัฒนาจริง รวมชื่อที่ไม่คุ้น โค้ดคล้ายกัน และยูทิลิตีที่ความหมายพึ่งโค้ดโดยรอบ\n\nหน้าต่างบริบท 32,000 โทเคนรับข้อความโค้ดจำนวนมากได้ ใช้พื้นที่อย่างตั้งใจ ฟังก์ชันครบกับการพึ่งพาที่เกี่ยวข้องอาจให้ข้อมูลมากกว่าบล็อกที่ตัดตามอำเภอใจกลางลำดับควบคุม รักษารูปแบบต้นทางให้อ่านได้และคงไวยากรณ์ภาษาระหว่างดึงข้อมูล หากไฟล์ต้นทางใหญ่กว่าหน้าต่างอินพุต ให้แบ่งตามขอบเขตโครงสร้างที่มีประโยชน์และรักษาความสัมพันธ์ระหว่างข้อความกับไฟล์แม่\n\nVoyage Code 3 รองรับข้อมูลฝัง 2,048, 1,024, 512 หรือ 256 มิติ พร้อมรูปแทนทศนิยมลอยตัว แปดบิตแบบมีหรือไม่มีเครื่องหมาย และฐานสอง ตัวควบคุมเหล่านี้รองรับขนาดดัชนีคลังโค้ดและการตั้งค่าค้นต่างกัน ประเมินรูปแทนกะทัดรัดด้วยการค้นจริงชุดเดียวกับฐานเปรียบเทียบที่ใหญ่กว่า แล้วตรวจว่าฟังก์ชันหรือไฟล์ที่ถูกยังอยู่ในผลที่มีประโยชน์หรือไม่\n\nสำหรับผู้ช่วยเขียนโค้ด ให้ดึงข้อความต้นทางที่เกี่ยวข้องก่อน แล้วให้ข้อความเหล่านั้นกับข้อมูลอ้างอิงไฟล์แก่องค์ประกอบที่รับผิดชอบตอบหรือแก้ไข การจับคู่ความคล้ายช่วยเลือกบริบท ไม่ได้ยืนยันว่าโค้ดสองชุดใช้แทนกันได้ ตรวจอินพุต ผลข้างเคียง และข้อกำหนดโดยรอบในโค้ดที่ดึงก่อนใช้แนะนำการแก้ไข\n\nแยกรุ่นคลังโค้ดที่ไม่เกี่ยวข้องกันผ่านเมทาดาทาและรักษารุ่นแก้ไขที่ทำดัชนีให้ตามกลับได้ หากฟังก์ชันย้ายหรือพฤติกรรมเปลี่ยน ให้อัปเดตทั้งเวกเตอร์และตำแหน่งต้นทาง การตั้งค่าฝังเดียวกันควรใช้กับต้นทางในดัชนีและคำค้น เมื่อย้ายดัชนี ให้เทียบผลกับชุดคำถามเดิม เพื่อไม่ให้การเปลี่ยนโมเดลหรือรูปแทนเวกเตอร์เปลี่ยนโค้ดที่นักพัฒนาเห็นโดยไม่มีใครสังเกต\n\nการตรวจที่มีประโยชน์รวมถึงคำค้นหาโค้ดจริงแทนเพียงชื่อการทดสอบหรือไม่ สตริงคำอธิบายหาฟังก์ชันที่ตรงกันหรือไม่ และแยกโค้ดที่มีความหมายเกี่ยวข้องจากส่วนที่คล้ายแค่ผิวเผินได้หรือไม่ เก็บข้อความต้นทางที่ส่งคืนและตำแหน่งไว้ในผลค้นให้นักพัฒนาตรวจหลักฐาน นี่ทำให้ข้อมูลฝังที่เน้นโค้ดของโมเดลเป็นเครื่องมือนำทางและเลือกบริบทที่ใช้ได้จริง",
  "editorialOverlay": {
    "copy_fields": null,
    "copy_sha256": null,
    "copy_source": null,
    "html_sha256": "c7941425553da47af0829182e83efbf399ecdbc3990b9875c05b7f968e28d020",
    "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\">Voyage AI: Voyage Code 3</h2><button class=\"icon-btn\" type=\"button\" data-close-sheet aria-label=\"ปิด\">×</button></div><div class=\"idline\"><span>Voyage AI /</span><code>voyage-code-3</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|voyage-code-3\">เอ็มเบดดิง</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\">Voyage Code 3 สร้างข้อมูลฝังสำหรับการค้นข้อความไปยังโค้ด โค้ดไปยังโค้ด และสตริงคำอธิบายไปยังโค้ด หน้าต่าง 32,000 โทเคน มิติเวกเตอร์ที่เลือกได้ และเอาต์พุตลดความละเอียดเชิงตัวเลขรองรับค้นคลังโค้ดและเลือกบริบทโค้ดสำหรับผู้ช่วยเขียนโค้ด</p><dl class=\"card-io\" data-card-io><div><dt>อินพุตที่รองรับ</dt><dd>ข้อความ</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>Voyage Code 3 เป็นโมเดลฝังที่เชี่ยวชาญการดึงซอร์สโค้ด ผู้พัฒนาอธิบายงานภาษาธรรมชาติไปยังโค้ด โค้ดไปยังโค้ด และสตริงคำอธิบายไปยังโค้ด คำถามหาโค้ดที่ทำงานตามต้องการได้ ส่วนโค้ดหาตรรกะเกี่ยวข้องได้ และคำอธิบายฟังก์ชันหาโค้ดที่เกี่ยวข้องได้ โมเดลสร้างเวกเตอร์สำหรับการดึงข้อมูล แทนไฟล์ที่แก้ไขแล้วหรือโปรแกรมที่เสร็จสมบูรณ์</p><p>เตรียมข้อมูลคลังโค้ดตามหน่วยโค้ดที่มีความหมาย เก็บฟังก์ชันกับชื่อ ซิกเนเจอร์ และความเห็นที่อธิบายวัตถุประสงค์ไว้ด้วยกัน สำหรับองค์ประกอบใหญ่ ให้รวมคำจำกัดความใกล้เคียงที่จำเป็นต่อการเข้าใจการดำเนินการ เก็บคลังโค้ด รุ่นแก้ไข เส้นทางไฟล์ และตำแหน่งบรรทัดแยก เพื่อให้ผลค้นเปิดต้นทางตรงกับที่ฝังไว้</p><p>การค้นภาษาธรรมชาติอธิบายพฤติกรรมได้ เช่น หาส่วนโครงการที่ตรวจสิ่งอัปโหลดก่อนบันทึก คำค้นแบบโค้ดให้ฟังก์ชันที่ต้องจับคู่วัตถุประสงค์ในที่อื่นได้ เลือกการค้นตัวแทนจากงานพัฒนาจริง รวมชื่อที่ไม่คุ้น โค้ดคล้ายกัน และยูทิลิตีที่ความหมายพึ่งโค้ดโดยรอบ</p><p>หน้าต่างบริบท 32,000 โทเคนรับข้อความโค้ดจำนวนมากได้ ใช้พื้นที่อย่างตั้งใจ ฟังก์ชันครบกับการพึ่งพาที่เกี่ยวข้องอาจให้ข้อมูลมากกว่าบล็อกที่ตัดตามอำเภอใจกลางลำดับควบคุม รักษารูปแบบต้นทางให้อ่านได้และคงไวยากรณ์ภาษาระหว่างดึงข้อมูล หากไฟล์ต้นทางใหญ่กว่าหน้าต่างอินพุต ให้แบ่งตามขอบเขตโครงสร้างที่มีประโยชน์และรักษาความสัมพันธ์ระหว่างข้อความกับไฟล์แม่</p><p>Voyage Code 3 รองรับข้อมูลฝัง 2,048, 1,024, 512 หรือ 256 มิติ พร้อมรูปแทนทศนิยมลอยตัว แปดบิตแบบมีหรือไม่มีเครื่องหมาย และฐานสอง ตัวควบคุมเหล่านี้รองรับขนาดดัชนีคลังโค้ดและการตั้งค่าค้นต่างกัน ประเมินรูปแทนกะทัดรัดด้วยการค้นจริงชุดเดียวกับฐานเปรียบเทียบที่ใหญ่กว่า แล้วตรวจว่าฟังก์ชันหรือไฟล์ที่ถูกยังอยู่ในผลที่มีประโยชน์หรือไม่</p><p>สำหรับผู้ช่วยเขียนโค้ด ให้ดึงข้อความต้นทางที่เกี่ยวข้องก่อน แล้วให้ข้อความเหล่านั้นกับข้อมูลอ้างอิงไฟล์แก่องค์ประกอบที่รับผิดชอบตอบหรือแก้ไข การจับคู่ความคล้ายช่วยเลือกบริบท ไม่ได้ยืนยันว่าโค้ดสองชุดใช้แทนกันได้ ตรวจอินพุต ผลข้างเคียง และข้อกำหนดโดยรอบในโค้ดที่ดึงก่อนใช้แนะนำการแก้ไข</p><p>แยกรุ่นคลังโค้ดที่ไม่เกี่ยวข้องกันผ่านเมทาดาทาและรักษารุ่นแก้ไขที่ทำดัชนีให้ตามกลับได้ หากฟังก์ชันย้ายหรือพฤติกรรมเปลี่ยน ให้อัปเดตทั้งเวกเตอร์และตำแหน่งต้นทาง การตั้งค่าฝังเดียวกันควรใช้กับต้นทางในดัชนีและคำค้น เมื่อย้ายดัชนี ให้เทียบผลกับชุดคำถามเดิม เพื่อไม่ให้การเปลี่ยนโมเดลหรือรูปแทนเวกเตอร์เปลี่ยนโค้ดที่นักพัฒนาเห็นโดยไม่มีใครสังเกต</p><p>การตรวจที่มีประโยชน์รวมถึงคำค้นหาโค้ดจริงแทนเพียงชื่อการทดสอบหรือไม่ สตริงคำอธิบายหาฟังก์ชันที่ตรงกันหรือไม่ และแยกโค้ดที่มีความหมายเกี่ยวข้องจากส่วนที่คล้ายแค่ผิวเผินได้หรือไม่ เก็บข้อความต้นทางที่ส่งคืนและตำแหน่งไว้ในผลค้นให้นักพัฒนาตรวจหลักฐาน นี่ทำให้ข้อมูลฝังที่เน้นโค้ดของโมเดลเป็นเครื่องมือนำทางและเลือกบริบทที่ใช้ได้จริง</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></dd></div><div><dt>ขาออก</dt><dd><code>embedding</code></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><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>voyage-code-3</div><div>เงื่อนไข: ใช้ตัวเลือกโมเดลของ Ailoot ที่ตรงตามที่กำหนด</div></td><td data-cell-label=\"ค่าเริ่มต้น\" data-default=\"unspecified\"><span class=\"card-cell-label\">ค่าเริ่มต้น</span>—</td></tr><tr><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 or array&lt;string&gt;</code></td><td data-cell-label=\"ข้อกำหนด\"><span class=\"card-cell-label\">ข้อกำหนด</span>จำเป็น</td><td data-cell-label=\"ค่าและข้อจำกัด\"><span class=\"card-cell-label\">ค่าและข้อจำกัด</span><div>เงื่อนไข: ข้อความหนึ่งรายการหรือรายการข้อความ ให้เก็บเวกเตอร์หนึ่งชุดสำหรับข้อมูลแต่ละรายการที่ส่งกลับ พร้อมดัชนีของรายการนั้น</div></td><td data-cell-label=\"ค่าเริ่มต้น\" data-default=\"unspecified\"><span class=\"card-cell-label\">ค่าเริ่มต้น</span>—</td></tr></tbody></table></div><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>optional</code></th><td data-cell-label=\"ข้อกำหนด\"><span class=\"card-cell-label\">ข้อกำหนด</span></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</td></tr><tr><th data-cell-label=\"พารามิเตอร์\" scope=\"row\"><span class=\"card-cell-label\">พารามิเตอร์</span><code>conditions</code></th><td data-cell-label=\"ข้อกำหนด\"><span class=\"card-cell-label\">ข้อกำหนด</span>ส่งข้อความพร้อมโมเดลที่เลือก เก็บเวกเตอร์ทุกชุดที่ส่งกลับพร้อมดัชนีของชุดนั้น</td></tr></tbody></table></div><p>วงจรการทำงาน: <code>synchronous</code></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.0004</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-2790-tab-0\" role=\"tab\" type=\"button\" aria-controls=\"model-code-2790-panel-0\" aria-selected=\"true\" tabindex=\"0\">curl · บันทึกเวกเตอร์ทั้งหมดและข้อมูลการใช้งาน</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-2790-panel-0\" role=\"tabpanel\" aria-labelledby=\"model-code-2790-tab-0\"><pre data-lang=\"bash\"><code>set -eu\n: &quot;${AILOOT_API_KEY:?Set your Ailoot API key}&quot;\ncat &gt; request.json &lt;&lt;&#39;JSON&#39;\n{\n  &quot;model&quot;: &quot;voyage-code-3&quot;,\n  &quot;input&quot;: &quot;The quick brown fox jumps over the lazy dog&quot;\n}\nJSON\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 embeddings.json\n# Keep every data item and its index, the full usage object and response headers.\n</code></pre></div></div></div></section><section class=\"card-section\" data-card-section=\"results\"><h3 tabindex=\"-1\">รับและบันทึกผลลัพธ์</h3></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=voyage-code-3&amp;route=Ultra&amp;caller=voyage-code-3&amp;fmt=embeddings\"><code>voyage-code-3</code></a></span></p><h4>ชื่อพาธเมธอดอื่น</h4><p class=\"note-s\">ใช้พาธเมธอดที่แสดงด้านบน</p><h4>ID ที่เกี่ยวข้องสำหรับเรียกใช้โมเดล</h4><p class=\"note-s\"><a href=\"#m=voyage-code-3&amp;route=Ultra&amp;caller=voyage-code-3&amp;fmt=embeddings\"><code>voyage-code-3</code></a></p></section></div>",
      "method_identity": {
        "effective_request_model_id": "voyage-code-3",
        "fmt": "embeddings",
        "http": "POST",
        "path": "/v1/embeddings",
        "request_model_id": "voyage-code-3",
        "route_label": "Ultra"
      },
      "method_key": "Ultra|embeddings|/v1/embeddings|voyage-code-3",
      "ordinal": 0,
      "rawMethod": {
        "cache_read": null,
        "cache_write": null,
        "cache_write_1h": null,
        "contract": {
          "data": {
            "all_results": "Save the complete JSON response, every vector with its index, all usage fields and request headers.",
            "lifecycle": {
              "content": [],
              "create": {
                "http": "POST",
                "path": "/v1/embeddings"
              },
              "mode": "synchronous",
              "status": [],
              "unknown": "เก็บผลตอบกลับต้นฉบับและ X-Client-Request-ID ไว้สำหรับการตรวจสอบกระทบยอด การได้รับผลตอบกลับที่ไม่ชัดเจนไม่ได้หมายความว่าได้รับอนุญาตให้ส่งคำขอสร้างเดิมซ้ำอีกครั้ง",
              "unknown_no_replay": true
            },
            "outputs": {
              "all_results": "บันทึกผลตอบกลับ JSON แบบครบถ้วน เวกเตอร์ทุกตัวพร้อมดัชนีของแต่ละตัว ฟิลด์ข้อมูลการใช้งานทั้งหมด และส่วนหัวของคำขอ",
              "every_actual_output": true,
              "family": "embedding",
              "fields": [
                {
                  "name": "object",
                  "type": "string"
                },
                {
                  "name": "model",
                  "type": "string"
                },
                {
                  "name": "data[].index",
                  "type": "integer"
                },
                {
                  "name": "data[].embedding",
                  "type": "array<number>"
                },
                {
                  "name": "usage",
                  "type": "object"
                },
                {
                  "name": "usage.prompt_tokens",
                  "type": "integer"
                },
                {
                  "name": "usage.total_tokens",
                  "type": "integer"
                }
              ]
            },
            "parameters": [
              {
                "conditions": "ใช้ตัวเลือกโมเดลของ Ailoot ที่ตรงตามที่กำหนด",
                "default_known": false,
                "enum": [
                  "voyage-code-3"
                ],
                "enum_known": true,
                "maximum_length": null,
                "name": "model",
                "required": true,
                "type": "string"
              },
              {
                "conditions": "ข้อความหนึ่งรายการหรือรายการข้อความ ให้เก็บเวกเตอร์หนึ่งชุดสำหรับข้อมูลแต่ละรายการที่ส่งกลับ พร้อมดัชนีของรายการนั้น",
                "default_known": false,
                "enum_known": false,
                "maximum_length": null,
                "name": "input",
                "oneOf": [
                  {
                    "minLength": 1,
                    "type": "string"
                  },
                  {
                    "items": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "minItems": 1,
                    "type": "array"
                  }
                ],
                "required": true,
                "type": "string or array<string>"
              }
            ],
            "request_schema": {
              "additionalProperties": true,
              "properties": {
                "input": {
                  "oneOf": [
                    {
                      "minLength": 1,
                      "type": "string"
                    },
                    {
                      "items": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "minItems": 1,
                      "type": "array"
                    }
                  ]
                },
                "model": {
                  "enum": [
                    "voyage-code-3"
                  ],
                  "type": "string"
                }
              },
              "required": [
                "model",
                "input"
              ],
              "type": "object"
            },
            "schema_template": {
              "actual_file_preparation_required": false,
              "body": {
                "input": "The quick brown fox jumps over the lazy dog",
                "model": "voyage-code-3"
              },
              "content_type": "application/json"
            }
          },
          "input": {
            "conditions": [
              "ส่งข้อความพร้อมโมเดลที่เลือก เก็บเวกเตอร์ทุกชุดที่ส่งกลับพร้อมดัชนีของชุดนั้น"
            ],
            "content_type": "application/json",
            "material_types": [
              "text"
            ],
            "optional": [],
            "required": [
              "model",
              "input"
            ]
          },
          "lifecycle": {
            "content": [],
            "create": {
              "http": "POST",
              "path": "/v1/embeddings"
            },
            "mode": "synchronous",
            "status": [],
            "unknown": "Keep the original response and X-Client-Request-ID for reconciliation. An ambiguous response is not permission to submit the same creation again.",
            "unknown_no_replay": true
          },
          "method": {
            "http": "POST",
            "path": "/v1/embeddings"
          },
          "output": {
            "all_results": "Save the complete JSON response, every vector with its index, all usage fields and request headers.",
            "every_actual_output": true,
            "family": "embedding",
            "fields": [
              {
                "name": "object",
                "type": "string"
              },
              {
                "name": "model",
                "type": "string"
              },
              {
                "name": "data[].index",
                "type": "integer"
              },
              {
                "name": "data[].embedding",
                "type": "array<number>"
              },
              {
                "name": "usage",
                "type": "object"
              },
              {
                "name": "usage.prompt_tokens",
                "type": "integer"
              },
              {
                "name": "usage.total_tokens",
                "type": "integer"
              }
            ]
          }
        },
        "ctx": null,
        "declared_pricing_profiles": [
          {
            "dimensions": {
              "regime": "base"
            },
            "label": "อัตราค่าบริการโทเคนพื้นฐาน",
            "units": [
              {
                "amount": "0.0004000",
                "amount_unit": "usd_per_thousand_tokens",
                "billing_input": true,
                "estimate_only": false,
                "key": "input_price",
                "label": "Input tokens",
                "native_amount_usd_per_unit": "0.0000004",
                "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}\"\ncat > request.json <<'JSON'\n{\n  \"model\": \"voyage-code-3\",\n  \"input\": \"The quick brown fox jumps over the lazy dog\"\n}\nJSON\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 embeddings.json\n# Keep every data item and its index, the full usage object and response headers.\n",
            "label": "curl · save all vectors and usage",
            "language": "bash"
          }
        ],
        "family": "openai",
        "fast_multiplier": null,
        "flex_multiplier": null,
        "fmt": "embeddings",
        "http": "POST",
        "in": 0.4,
        "input": [
          "text"
        ],
        "label": "เอ็มเบดดิง",
        "max_out": null,
        "max_reasoning_effort_multiplier": null,
        "out": 0,
        "output": [
          "embedding"
        ],
        "path": "/v1/embeddings",
        "price_conditions": [
          {
            "label": "Fast mode",
            "value": "Not specified",
            "when": "When fast mode is selected"
          },
          {
            "label": "Flex mode",
            "value": "Not specified",
            "when": "When flex mode is selected"
          },
          {
            "label": "Maximum reasoning effort",
            "value": "Not specified",
            "when": "When maximum reasoning effort uses the default adjustment"
          }
        ],
        "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.0004000",
                "amount_unit": "usd_per_thousand_tokens",
                "billing_input": true,
                "estimate_only": false,
                "key": "input_price",
                "label": "Input tokens",
                "native_amount_usd_per_unit": "0.0000004",
                "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": "voyage-code-3",
        "route_label": "Ultra",
        "status_reads": [],
        "tiers": [],
        "units": [
          {
            "amount": "0.0004000",
            "amount_unit": "usd_per_thousand_tokens",
            "billing_input": true,
            "estimate_only": false,
            "key": "input_price",
            "label": "Input tokens",
            "native_amount_usd_per_unit": "0.0000004",
            "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": "voyage-code-3",
  "nativeProvenance": {
    "input_facts_canonical_sha256": "6d06cf63412adbf2ed0d74994318cb55bd94bf8e63266cd14fb2c064b33d8f4f",
    "input_html_sha256": "986691f52b019f69c5c49d98cac39fb38e646e607c27665d2280f44445e34c94",
    "private_audit_sha256": "fe465f591f3f9c27d586ee135f6cce647ac17f48e633845ce3ee07244c54741d",
    "role": "historical-normalized-input-audit-hashes",
    "schema": "ailoot-native-model-provenance-v2"
  },
  "page": {
    "canonical": "https://ailoot.ai/models/th/voyage-code-3/",
    "description": "Voyage Code 3 สร้างข้อมูลฝังสำหรับการค้นข้อความไปยังโค้ด โค้ดไปยังโค้ด และสตริงคำอธิบายไปยังโค้ด หน้าต่าง 32,000 โทเคน มิติเวกเตอร์ที่เลือกได้ และเอาต์พุตลดความละเอียดเชิงตัวเลขรองรับค้นคลังโค้ดและเลือกบริบทโค้ดสำหรับผู้ช่วยเขียนโค้ด",
    "locale": "th",
    "md_url": "https://ailoot.ai/models/th/voyage-code-3/index.md",
    "title": "Voyage AI: Voyage Code 3 — Ailoot",
    "url": "https://ailoot.ai/models/th/voyage-code-3/"
  },
  "rawModel": {
    "about": "Voyage Code 3 เป็นโมเดลฝังที่เชี่ยวชาญการดึงซอร์สโค้ด ผู้พัฒนาอธิบายงานภาษาธรรมชาติไปยังโค้ด โค้ดไปยังโค้ด และสตริงคำอธิบายไปยังโค้ด คำถามหาโค้ดที่ทำงานตามต้องการได้ ส่วนโค้ดหาตรรกะเกี่ยวข้องได้ และคำอธิบายฟังก์ชันหาโค้ดที่เกี่ยวข้องได้ โมเดลสร้างเวกเตอร์สำหรับการดึงข้อมูล แทนไฟล์ที่แก้ไขแล้วหรือโปรแกรมที่เสร็จสมบูรณ์\n\nเตรียมข้อมูลคลังโค้ดตามหน่วยโค้ดที่มีความหมาย เก็บฟังก์ชันกับชื่อ ซิกเนเจอร์ และความเห็นที่อธิบายวัตถุประสงค์ไว้ด้วยกัน สำหรับองค์ประกอบใหญ่ ให้รวมคำจำกัดความใกล้เคียงที่จำเป็นต่อการเข้าใจการดำเนินการ เก็บคลังโค้ด รุ่นแก้ไข เส้นทางไฟล์ และตำแหน่งบรรทัดแยก เพื่อให้ผลค้นเปิดต้นทางตรงกับที่ฝังไว้\n\nการค้นภาษาธรรมชาติอธิบายพฤติกรรมได้ เช่น หาส่วนโครงการที่ตรวจสิ่งอัปโหลดก่อนบันทึก คำค้นแบบโค้ดให้ฟังก์ชันที่ต้องจับคู่วัตถุประสงค์ในที่อื่นได้ เลือกการค้นตัวแทนจากงานพัฒนาจริง รวมชื่อที่ไม่คุ้น โค้ดคล้ายกัน และยูทิลิตีที่ความหมายพึ่งโค้ดโดยรอบ\n\nหน้าต่างบริบท 32,000 โทเคนรับข้อความโค้ดจำนวนมากได้ ใช้พื้นที่อย่างตั้งใจ ฟังก์ชันครบกับการพึ่งพาที่เกี่ยวข้องอาจให้ข้อมูลมากกว่าบล็อกที่ตัดตามอำเภอใจกลางลำดับควบคุม รักษารูปแบบต้นทางให้อ่านได้และคงไวยากรณ์ภาษาระหว่างดึงข้อมูล หากไฟล์ต้นทางใหญ่กว่าหน้าต่างอินพุต ให้แบ่งตามขอบเขตโครงสร้างที่มีประโยชน์และรักษาความสัมพันธ์ระหว่างข้อความกับไฟล์แม่\n\nVoyage Code 3 รองรับข้อมูลฝัง 2,048, 1,024, 512 หรือ 256 มิติ พร้อมรูปแทนทศนิยมลอยตัว แปดบิตแบบมีหรือไม่มีเครื่องหมาย และฐานสอง ตัวควบคุมเหล่านี้รองรับขนาดดัชนีคลังโค้ดและการตั้งค่าค้นต่างกัน ประเมินรูปแทนกะทัดรัดด้วยการค้นจริงชุดเดียวกับฐานเปรียบเทียบที่ใหญ่กว่า แล้วตรวจว่าฟังก์ชันหรือไฟล์ที่ถูกยังอยู่ในผลที่มีประโยชน์หรือไม่\n\nสำหรับผู้ช่วยเขียนโค้ด ให้ดึงข้อความต้นทางที่เกี่ยวข้องก่อน แล้วให้ข้อความเหล่านั้นกับข้อมูลอ้างอิงไฟล์แก่องค์ประกอบที่รับผิดชอบตอบหรือแก้ไข การจับคู่ความคล้ายช่วยเลือกบริบท ไม่ได้ยืนยันว่าโค้ดสองชุดใช้แทนกันได้ ตรวจอินพุต ผลข้างเคียง และข้อกำหนดโดยรอบในโค้ดที่ดึงก่อนใช้แนะนำการแก้ไข\n\nแยกรุ่นคลังโค้ดที่ไม่เกี่ยวข้องกันผ่านเมทาดาทาและรักษารุ่นแก้ไขที่ทำดัชนีให้ตามกลับได้ หากฟังก์ชันย้ายหรือพฤติกรรมเปลี่ยน ให้อัปเดตทั้งเวกเตอร์และตำแหน่งต้นทาง การตั้งค่าฝังเดียวกันควรใช้กับต้นทางในดัชนีและคำค้น เมื่อย้ายดัชนี ให้เทียบผลกับชุดคำถามเดิม เพื่อไม่ให้การเปลี่ยนโมเดลหรือรูปแทนเวกเตอร์เปลี่ยนโค้ดที่นักพัฒนาเห็นโดยไม่มีใครสังเกต\n\nการตรวจที่มีประโยชน์รวมถึงคำค้นหาโค้ดจริงแทนเพียงชื่อการทดสอบหรือไม่ สตริงคำอธิบายหาฟังก์ชันที่ตรงกันหรือไม่ และแยกโค้ดที่มีความหมายเกี่ยวข้องจากส่วนที่คล้ายแค่ผิวเผินได้หรือไม่ เก็บข้อความต้นทางที่ส่งคืนและตำแหน่งไว้ในผลค้นให้นักพัฒนาตรวจหลักฐาน นี่ทำให้ข้อมูลฝังที่เน้นโค้ดของโมเดลเป็นเครื่องมือนำทางและเลือกบริบทที่ใช้ได้จริง",
    "about_sha256": "7a62faecaa1a469a228fb832e8fd51d0fb1ee7fc0232e975614f45428c1f130f",
    "alias_of": null,
    "aliases": [],
    "author": "Voyage AI",
    "capabilities": {
      "context_length": 32000,
      "manufacturer_input": [
        "text"
      ],
      "manufacturer_output": [
        "embeddings"
      ]
    },
    "card_routes": [
      {
        "label": "Ultra",
        "rates": [
          {
            "amount": "0.0004000",
            "amount_unit": "usd_per_thousand_tokens",
            "billing_input": true,
            "estimate_only": false,
            "key": "input_price",
            "label": "Input tokens",
            "native_amount_usd_per_unit": "0.0000004",
            "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": null,
    "display_name": "Voyage AI: Voyage Code 3",
    "formats": [
      "embeddings"
    ],
    "id": "voyage-code-3",
    "input": [
      "text"
    ],
    "kind": "embedding",
    "locale": "en",
    "max_out": null,
    "methods": [
      {
        "cache_read": null,
        "cache_write": null,
        "cache_write_1h": null,
        "contract": {
          "data": {
            "all_results": "Save the complete JSON response, every vector with its index, all usage fields and request headers.",
            "lifecycle": {
              "content": [],
              "create": {
                "http": "POST",
                "path": "/v1/embeddings"
              },
              "mode": "synchronous",
              "status": [],
              "unknown": "เก็บผลตอบกลับต้นฉบับและ X-Client-Request-ID ไว้สำหรับการตรวจสอบกระทบยอด การได้รับผลตอบกลับที่ไม่ชัดเจนไม่ได้หมายความว่าได้รับอนุญาตให้ส่งคำขอสร้างเดิมซ้ำอีกครั้ง",
              "unknown_no_replay": true
            },
            "outputs": {
              "all_results": "บันทึกผลตอบกลับ JSON แบบครบถ้วน เวกเตอร์ทุกตัวพร้อมดัชนีของแต่ละตัว ฟิลด์ข้อมูลการใช้งานทั้งหมด และส่วนหัวของคำขอ",
              "every_actual_output": true,
              "family": "embedding",
              "fields": [
                {
                  "name": "object",
                  "type": "string"
                },
                {
                  "name": "model",
                  "type": "string"
                },
                {
                  "name": "data[].index",
                  "type": "integer"
                },
                {
                  "name": "data[].embedding",
                  "type": "array<number>"
                },
                {
                  "name": "usage",
                  "type": "object"
                },
                {
                  "name": "usage.prompt_tokens",
                  "type": "integer"
                },
                {
                  "name": "usage.total_tokens",
                  "type": "integer"
                }
              ]
            },
            "parameters": [
              {
                "conditions": "ใช้ตัวเลือกโมเดลของ Ailoot ที่ตรงตามที่กำหนด",
                "default_known": false,
                "enum": [
                  "voyage-code-3"
                ],
                "enum_known": true,
                "maximum_length": null,
                "name": "model",
                "required": true,
                "type": "string"
              },
              {
                "conditions": "ข้อความหนึ่งรายการหรือรายการข้อความ ให้เก็บเวกเตอร์หนึ่งชุดสำหรับข้อมูลแต่ละรายการที่ส่งกลับ พร้อมดัชนีของรายการนั้น",
                "default_known": false,
                "enum_known": false,
                "maximum_length": null,
                "name": "input",
                "oneOf": [
                  {
                    "minLength": 1,
                    "type": "string"
                  },
                  {
                    "items": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "minItems": 1,
                    "type": "array"
                  }
                ],
                "required": true,
                "type": "string or array<string>"
              }
            ],
            "request_schema": {
              "additionalProperties": true,
              "properties": {
                "input": {
                  "oneOf": [
                    {
                      "minLength": 1,
                      "type": "string"
                    },
                    {
                      "items": {
                        "minLength": 1,
                        "type": "string"
                      },
                      "minItems": 1,
                      "type": "array"
                    }
                  ]
                },
                "model": {
                  "enum": [
                    "voyage-code-3"
                  ],
                  "type": "string"
                }
              },
              "required": [
                "model",
                "input"
              ],
              "type": "object"
            },
            "schema_template": {
              "actual_file_preparation_required": false,
              "body": {
                "input": "The quick brown fox jumps over the lazy dog",
                "model": "voyage-code-3"
              },
              "content_type": "application/json"
            }
          },
          "input": {
            "conditions": [
              "ส่งข้อความพร้อมโมเดลที่เลือก เก็บเวกเตอร์ทุกชุดที่ส่งกลับพร้อมดัชนีของชุดนั้น"
            ],
            "content_type": "application/json",
            "material_types": [
              "text"
            ],
            "optional": [],
            "required": [
              "model",
              "input"
            ]
          },
          "lifecycle": {
            "content": [],
            "create": {
              "http": "POST",
              "path": "/v1/embeddings"
            },
            "mode": "synchronous",
            "status": [],
            "unknown": "Keep the original response and X-Client-Request-ID for reconciliation. An ambiguous response is not permission to submit the same creation again.",
            "unknown_no_replay": true
          },
          "method": {
            "http": "POST",
            "path": "/v1/embeddings"
          },
          "output": {
            "all_results": "Save the complete JSON response, every vector with its index, all usage fields and request headers.",
            "every_actual_output": true,
            "family": "embedding",
            "fields": [
              {
                "name": "object",
                "type": "string"
              },
              {
                "name": "model",
                "type": "string"
              },
              {
                "name": "data[].index",
                "type": "integer"
              },
              {
                "name": "data[].embedding",
                "type": "array<number>"
              },
              {
                "name": "usage",
                "type": "object"
              },
              {
                "name": "usage.prompt_tokens",
                "type": "integer"
              },
              {
                "name": "usage.total_tokens",
                "type": "integer"
              }
            ]
          }
        },
        "ctx": null,
        "declared_pricing_profiles": [
          {
            "dimensions": {
              "regime": "base"
            },
            "label": "อัตราค่าบริการโทเคนพื้นฐาน",
            "units": [
              {
                "amount": "0.0004000",
                "amount_unit": "usd_per_thousand_tokens",
                "billing_input": true,
                "estimate_only": false,
                "key": "input_price",
                "label": "Input tokens",
                "native_amount_usd_per_unit": "0.0000004",
                "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}\"\ncat > request.json <<'JSON'\n{\n  \"model\": \"voyage-code-3\",\n  \"input\": \"The quick brown fox jumps over the lazy dog\"\n}\nJSON\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 embeddings.json\n# Keep every data item and its index, the full usage object and response headers.\n",
            "label": "curl · save all vectors and usage",
            "language": "bash"
          }
        ],
        "family": "openai",
        "fast_multiplier": null,
        "flex_multiplier": null,
        "fmt": "embeddings",
        "http": "POST",
        "in": 0.4,
        "input": [
          "text"
        ],
        "label": "เอ็มเบดดิง",
        "max_out": null,
        "max_reasoning_effort_multiplier": null,
        "out": 0,
        "output": [
          "embedding"
        ],
        "path": "/v1/embeddings",
        "price_conditions": [
          {
            "label": "Fast mode",
            "value": "Not specified",
            "when": "When fast mode is selected"
          },
          {
            "label": "Flex mode",
            "value": "Not specified",
            "when": "When flex mode is selected"
          },
          {
            "label": "Maximum reasoning effort",
            "value": "Not specified",
            "when": "When maximum reasoning effort uses the default adjustment"
          }
        ],
        "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.0004000",
                "amount_unit": "usd_per_thousand_tokens",
                "billing_input": true,
                "estimate_only": false,
                "key": "input_price",
                "label": "Input tokens",
                "native_amount_usd_per_unit": "0.0000004",
                "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": "voyage-code-3",
        "route_label": "Ultra",
        "status_reads": [],
        "tiers": [],
        "units": [
          {
            "amount": "0.0004000",
            "amount_unit": "usd_per_thousand_tokens",
            "billing_input": true,
            "estimate_only": false,
            "key": "input_price",
            "label": "Input tokens",
            "native_amount_usd_per_unit": "0.0000004",
            "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": "voyage-code-3",
        "request_model_id": "voyage-code-3",
        "route_label": "Ultra"
      }
    ],
    "name": "Voyage AI: Voyage Code 3",
    "price": {
      "in": 0.4,
      "in_label": null,
      "out": 0,
      "out_label": null,
      "scope_label": "Token rates",
      "sort_in": 0.4,
      "sort_out": 0,
      "varies": false
    },
    "short": "Voyage Code 3 สร้างข้อมูลฝังสำหรับการค้นข้อความไปยังโค้ด โค้ดไปยังโค้ด และสตริงคำอธิบายไปยังโค้ด หน้าต่าง 32,000 โทเคน มิติเวกเตอร์ที่เลือกได้ และเอาต์พุตลดความละเอียดเชิงตัวเลขรองรับค้นคลังโค้ดและเลือกบริบทโค้ดสำหรับผู้ช่วยเขียนโค้ด",
    "short_sha256": "d4d092b4a7555efe0f233ac899b7e43901dde1d9465c4a647af52200c6d5d963"
  },
  "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": "Voyage Code 3 สร้างข้อมูลฝังสำหรับการค้นข้อความไปยังโค้ด โค้ดไปยังโค้ด และสตริงคำอธิบายไปยังโค้ด หน้าต่าง 32,000 โทเคน มิติเวกเตอร์ที่เลือกได้ และเอาต์พุตลดความละเอียดเชิงตัวเลขรองรับค้นคลังโค้ดและเลือกบริบทโค้ดสำหรับผู้ช่วยเขียนโค้ด",
  "source": {
    "audit_sha256": "2e00086bcbfc28e64d0cebe97aa47c17d8d5618963027f8ffb9dc6123d7d25b1",
    "bridge_map_sha256": "1125275768b9636fc8461bc7da5061239a81ddfe508e2557843ca42c58ab0036",
    "raw_model_json_sha256": "2192b90c6662640da7bf795d714510f6862008d365731223b8ad2a8f27cb33e7",
    "renderer_sha256": "890edb706fafafdd4f598bb324acf65fada58918b0911b97eb80e68be2ef65d9"
  },
  "sourceRevision": "4c8292dca13fa719717ea8a24fe609cbb49b5bcd9159da3cf9487b31bfe73896"
}
