Immersive Translate custom API setup
Updated 2026-09-05
Translation endpoint evaluate করতে documented custom-address setting ব্যবহার করুন। Controlled page দিয়ে শুরু করে bilingual reading-কে editorial review-এ কাজে লাগান।
OpenAI service setting খুলুন
Immersive Translate-এর official OpenAI service page More Settings-এর নিচে custom API address document করে। OpenAI-compatible endpoint evaluate করার সময় সেখান থেকে শুরু করুন। পরে setup check reproducible রাখতে extension version ও browser record করুন।
First test-এর জন্য একটি configuration বেছে নিন এবং recovery-র জন্য default setting available রাখুন। Credential কেবল private extension setting-এ দিন। Page content পাঠানোর আগে endpoint intended recipient কি না confirm করুন, বিশেষত browser-এ merchant administration screen-এও access থাকলে।
Address base না full route check করুন
প্রতিটি custom-address field SDK baseURL-এর মতো আচরণ করে ধরে নেবেন না। Official page Azure example-এ full chat-completions URL রাখে। Installed extension-এর help text ও sanitized outgoing request path inspect করে address কীভাবে ব্যবহৃত হয় নির্ধারণ করুন।
APIsRouter chat-completions candidate-এর জন্য full route হলো https://api.apisrouter.com/v1/chat/completions endpoint। Installed version স্পষ্টভাবে base URL আশা করে এবং route append করলে https://api.apisrouter.com/v1 ব্যবহার করুন। Duplicated chat/completions suffix এড়ান। নিচের worksheet candidate setting বর্ণনা করে, tested extension configuration নয়।
Service: OpenAI
Settings area: More Settings > custom API address
Full request URL candidate: https://api.apisrouter.com/v1/chat/completions
Base-only candidate, if required by installed version: https://api.apisrouter.com/v1
Credential: gateway key entered privately
Model: exact current catalog ID with verified chat behaviorTranslation request path দৃশ্যমান রাখুন
Extension selected service address-এ translation request পাঠায়। Address-কে শুধু connectivity field নয়, data-sharing decision হিসেবে ধরুন। Chosen endpoint-এর মাধ্যমে process করার অধিকার আছে এমন content ব্যবহার করুন এবং selected translation action page-এর কতটা অংশ include করে review করুন।
Documented custom-address mechanism ব্যবহার করা proposed gateway path নিচের flow-এ দেখানো হয়েছে। Selected-model label configuration choice, verified model list নয়। Store authentication, product editing ও import approval এই request path-এর বাইরে।
আগে একটি controlled page verify করুন
Synthetic product description, protected brand term, unit-সহ quantity ও একটি link-সহ ছোট page ব্যবহার করুন। শুধু ওই page translate করুন। Source-এর সঙ্গে visible result তুলনা করুন এবং sanitized network destination, selected model ও response status inspect করুন।
Content omitted, duplicated বা source language-এর সঙ্গে mixed কি না check করুন। তারপর heading বা list-সহ longer paragraph ও layout চেষ্টা করুন। Source ও observed output save করুন, যাতে পরে configuration change একই material-এর বিরুদ্ধে compare করা যায়। Large document process করার আগে এটি useful diagnostic baseline দেয়।
Editorial question-এর জন্য bilingual reading ব্যবহার করুন
Unfamiliar source material inspect করতে বা attention দরকার এমন phrase identify করতে browser translation reviewer-কে সাহায্য করতে পারে। Original visible রাখুন এবং claim, quantity ও terminology সরাসরি compare করুন। Reviewer target language evaluate করতে না পারলে fluent appearance-কে proof ধরে accept না করে পারেন এমন ব্যক্তির কাছে candidate পাঠান।
Catalog workflow-এ glossary decision রাখুন। Custom endpoint extension-এর ভিতরে glossary enforcement বা field-level validation-ও দেয় ধরে নেবেন না। Import-এর জন্য intended product description-এর নিজস্ব source-linked candidate, review result ও destination mapping দরকার।
আরও content translate করার আগে error diagnose করুন
Request path, credential ও exact model ID দিয়ে শুরু করুন। Available হলে structured error record করুন এবং evidence share করার আগে header redact করুন। Request limit থাকলে full-page translation দ্রুত repeat না করে workload কমান ও service-এর retry guidance মানুন।
Connection failure-কে content বা response-handling problem থেকে আলাদা করতে smaller selected passage ব্যবহার করুন। একবারে একটি setting বদলান। Official page historical price ও request-rate example দেয়; নতুন setup-এ সেই number copy না করে current endpoint documentation ও account limit ব্যবহার করুন।
| Symptom | Inspect | Next check |
|---|---|---|
| Route error | Actual final URL | Base বনাম full-path handling |
| Authentication error | Credential issuer ও destination | Private setting ও key scope |
| Model rejected | Exact request model field | Catalog ও account eligibility |
| Rate limit | Response metadata ও workload | ছোট batch ও bounded retry |
| Partial translation | Returned content ও page segmentation | Controlled passage comparison |
Browser output ও catalog delivery আলাদা করুন
Translated browser view inspection surface। Product text publish করতে catalog review package-এ candidate তৈরি করুন, identifier ও source revision রাখুন, তারপর approved field store-এর actual import বা translation API-তে পাঠান।
Stored field read back করে এবং intended storefront locale খুলে delivery verify করুন। Ordinary visitor কী দেখবে প্রমাণ করতে editor-এর browser extension-এর ওপর নির্ভর করবেন না। Store operation থেকে translation request usage আলাদা record করুন এবং workload evaluate করার সময় retry account করুন। Page বা character প্রতি fixed cost ধরে না নিয়ে current pricing দেখুন।
Evidence ও integration limit
Official documentation custom-address setting establish করে। এই article-এর জন্য APIsRouter দিয়ে installed-extension request test করা হয়নি, তাই precise address behavior, model compatibility ও rendered result এখনও setup check। Diagram illustrative configuration flow।
Complete compatibility record-এ extension ও browser version, sanitized setting, request destination, exact model, controlled source page ও observed translation থাকবে। Protected-field review transport check থেকে আলাদা রাখুন। Successful short passage প্রতিটি document format বা store publishing workflow automatically validate করে না।
সাধারণ প্রশ্ন
API address কোথায় বদলাব?
Official OpenAI service documentation More Settings-এ নির্দেশ করে। Final address format বাছাই করার সময় installed extension version ও field help check করুন।
Copied /v1 URL কখনও fail করে কেন?
Tool ভেদে route append করে বা complete request URL প্রত্যাশা করে। Actual outgoing path inspect করুন এবং missing বা duplicated chat-completions segment এড়ান।
Custom configuration-এ কোন credential থাকবে?
Configured endpoint-এর জন্য issued credential privateভাবে entry করুন। অন্য provider-এর credential বা store administration token এর বদলি নয়।
Translated product page কি আমার store update করে?
Browser translation catalog storage নয়। Approved product text deliver করতে store translation বা import path ব্যবহার করুন এবং stored field verify করুন।
Product terminology কীভাবে preserve করব?
Content workflow-এ reviewed glossary maintain করুন এবং browser result-এর সঙ্গে compare করুন। Custom address term enforce করে ধরে না নিয়ে extension-specific glossary feature আলাদাভাবে verify করুন।