WordPress AI Engine custom endpoint setup
Updated 2026-09-05
Configurable model endpoint کے لیے AI Engine کا Custom (OpenAI-Compatible) environment استعمال کریں۔ WordPress workspace سے شروع کریں اور پھر reviewed product drafting شامل کریں۔
Custom AI environment بنائیں
WordPress میں Meow Apps > AI Engine > Settings کھولیں، AI environment add کریں اور Custom (OpenAI-Compatible) منتخب کریں۔ Meow Apps اس provider کو base endpoint اور exact model name کے ساتھ document کرتا ہے۔ Connection قائم کرتے وقت staging site استعمال کریں اور installed plugin version record کریں۔
Environment drafting task کے لیے dedicated رکھیں تاکہ unrelated assistants بدلے بغیر settings review ہو سکیں۔ Intended endpoint کی شناخت والا واضح local name دیں۔ Credentials داخل کرنے سے پہلے administrator session اور configured destination دونوں verify کریں۔
Endpoint، credential اور model الگ set کریں
APIsRouter connection candidate کے لیے base endpoint https://api.apisrouter.com/v1 ہے۔ Plugin کے credential field میں APIsRouter credential دیں اور current catalog سے ایسا exact ID منتخب کریں جس کا chat behavior verify کریں گے۔ Full chat-completions URL اس field میں paste نہ کریں جو base endpoint expect کرتی ہے۔
نیچے configuration settings worksheet ہے، plugin import file نہیں۔ Model کو جان بوجھ کر selection step رکھا گیا ہے۔ Setup کے وقت current catalog اور account access چیک کریں؛ settings field میں model name لکھ دینا endpoint کے اسے serve کرنے کا ثبوت نہیں۔
Provider: Custom (OpenAI-Compatible)
Endpoint: https://api.apisrouter.com/v1
API key: enter the gateway credential in the private settings field
Model: select an exact current catalog ID for the test
Initial task: plain-text draft in the administrator workspaceProposed request path سمجھیں
Custom provider model-request boundary ہے۔ یہ WooCommerce importer یا product publish کرنے کی permission نہیں۔ پہلا task drafting workspace میں رکھیں جہاں store operation سے پہلے response inspect ہو سکے۔
Diagram documented provider mechanism کے ذریعے proposed APIsRouter connection دکھاتا ہے۔ Model label صرف selection ہے جسے account اور protocol سے verify کرنا باقی ہے۔ Product facts اور approval records content workflow میں رکھیں؛ gateway سے SKU rules، glossary یا publication policy جاننے کی توقع نہ کریں۔
Product data شامل کرنے سے پہلے چھوٹا draft check کریں
Synthetic product fact sheet استعمال کریں اور plain-text candidate مانگیں۔ Submit کرنے سے پہلے workspace میں selected environment اور model confirm کریں۔ Returned text کو completeness کے لیے inspect کریں اور plugin version اور sanitized configuration کے ساتھ save کریں۔
پھر protected brand term اور application placeholder شامل کر کے treatment compare کریں۔ Store content کے لحاظ سے task read-only رکھیں۔ Plain text کام کرے تو streaming یا restricted markup جیسی ہر additional behavior الگ test کریں۔ Interface میں نظر آنے والے extra tools صرف appearance کی وجہ سے enable نہ کریں۔
Prepare a product-description candidate from the supplied fact sheet.
Use only the approved facts and brand terminology.
Do not include price, delivery promises or unsupported certifications.
Preserve the supplied product identifier in the review record.
List missing facts separately from the description.
Do not create, edit or publish WordPress content.Failing layer diagnose کریں
Request fail ہو تو status، structured error fields اور sanitized request destination capture کریں۔ Model یا network settings بدلنے سے پہلے plugin environment چیک کریں۔ ایک وقت میں ایک layer بدلیں تاکہ fix کی جگہ معلوم ہو۔
Short draft کام کرے مگر بڑا task fail ہو تو concurrency بڑھانے کے بجائے input کم کریں اور response completeness inspect کریں۔ Failed attempts usage review میں رکھیں۔ Help مانگتے وقت credential public issue، screenshot یا command transcript میں کبھی paste نہ کریں۔
| Observed problem | پہلے چیک | Next bounded action |
|---|---|---|
| Authentication rejection | Credential endpoint کی ہے یا نہیں | Private settings سے replace کریں |
| Wrong route یا not found | Base path اور appended request path | Sanitized destination inspect کریں |
| Model rejected | Exact ID اور account access | Documented eligible ID منتخب کریں |
| Incomplete draft | Response state اور output bounds | چھوٹا controlled task retry کریں |
| Valid response، unusable copy | Fact sheet اور editorial rules | Prompt revise کریں اور review کریں |
Narrow contract کے ساتھ product drafting شامل کریں
Approved specifications، claim references اور glossary والی source card بنائیں۔ Title، description اور review issues الگ outputs میں مانگیں۔ SKU، prices، currency اور measurement units editable text patches سے باہر رکھیں۔ Reviewer کو source اور candidate ساتھ دکھائیں۔
WooCommerce کے لیے approved content کو الگ import-preparation step میں بھیجیں۔ Output map کرنے سے پہلے destination fields اور multilingual storage layer confirm کریں۔ Store tools یا plugin extensions اپنی capabilities اور permissions دے سکتی ہیں؛ access دینے سے پہلے installed feature review کریں۔ Separate workflow accept ہونے تک publishing disabled رکھیں۔
Usage record اور credentials protect کریں
Actual request usage کو draft اور retries کے ساتھ track کریں۔ Model calls کو editor effort، WordPress hosting اور plugin licensing سے الگ رکھیں۔ Gateway charges کے لیے current pricing page دیکھیں، reusable configuration guide میں price table embed نہ کریں۔
Settings، exports اور backups تک access محدود کریں جہاں credentials ہو سکتی ہیں۔ Support evidence میں صرف diagnosis کے لیے درکار fields رکھیں۔ Real catalog data بھیجنے سے پہلے review کریں کہ configured endpoint کو کیا content جائے گا اور organization نے data path approve کیا ہے یا نہیں۔
Evidence اور integration limits
Meow Apps کی official guide Custom (OpenAI-Compatible) setting establish کرتی ہے۔ یہاں APIsRouter configuration اس setting کا proposed use ہے؛ pinned-plugin gateway request اور WooCommerce import اس article کے لیے perform نہیں ہوئے۔ Diagram captured execution trace نہیں، configuration flow ہے۔
Compatibility establish کرنے کے لیے staging test سے installed versions، sanitized settings، exact model ID، request result اور reviewed draft محفوظ کریں۔ Store-write evidence صرف separately authorized اور verified operation پر add کریں۔ یہ records plain-text test کو ہر plugin feature تک پھیلائے بغیر precise integration claim support کرتے ہیں۔
عمومی سوالات
Custom provider setting کہاں ہے؟
Official Meow Apps guide اسے Meow Apps > AI Engine > Settings میں AI environment add کرتے وقت رکھتی ہے۔ Custom (OpenAI-Compatible) منتخب کریں اور interface مختلف ہو تو installed version چیک کریں۔
Base URL دوں یا full chat route؟
Documented AI Engine example /v1 پر ختم ہونے والا base endpoint استعمال کرتا ہے۔ اسے ان tools سے الگ سمجھیں جن کا custom-address field full request URL expect کرتا ہے۔
کون سا model enter کروں؟
Current catalog کا exact ID استعمال کریں جس تک account کی رسائی ہو، پھر plugin کے مطلوبہ chat behavior کو verify کریں۔ Promotional model name کو actual identifier کا بدل نہ بنائیں۔
کیا local example API key کے بغیر چل سکتا ہے؟
Official local Ollama example اس local service کے لیے key omit کرتا ہے۔ Hosted gateway کی اپنی authentication requirements ہوتی ہیں؛ اسی endpoint کی issued credential استعمال کریں۔
کیا یہ setup WooCommerce products publish کرتا ہے؟
یہ content workflow drafting پر رکتی ہے۔ Product mapping، import approval اور store verification WooCommerce guide میں الگ operations ہیں۔