شعار Huawei Cloud Optv Solver Assistant

Huawei Cloud Optv Solver Assistant

مؤسسة
huaweicloud
huawei-cloud-optv-solver-assistant

1. 通过OptVerse决策引擎完成数学规划问题的需求分析、建模、数据校验、求解和资产发布全流程; 2. 适用于运筹优化场景(如设施选址、路径规划、生产排程等),用户提供需求分析文件和数据文件,通过多轮对话与决策引擎交互完成求解; 3. 触发词:OptVerse求解助手、决策引擎、数学规划建模、运筹优化求解、需求分析建模、天筹工具链、设施选址优化、模型发布

نظرة عامة

الناشرhuaweicloud
المستودعhuaweicloud-skills
اسم المهارةhuawei-cloud-optv-solver-assistant
النجوم
59
التفريعات
24
الملفات المرفقة
10
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • الملفات المرفقة: 10

    نصوص برمجية وقوالب ومراجع يمكن للنموذج قراءتها أثناء عمله. الملفات للقراءة فقط ولا تُنفّذ أبدًا.

  • مفتوحة المصدر

    نشرها huaweicloud على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Huawei Cloud Optv Solver Assistant في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/huaweicloud/huaweicloud-skills/tree/master/skills/ai/optverse/huawei-cloud-optv-solver-assistant
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/huaweicloud/huaweicloud-skills.git /tmp/huaweicloud-skills
mkdir -p .claude/skills
cp -r /tmp/huaweicloud-skills/skills/ai/optverse/huawei-cloud-optv-solver-assistant .claude/skills/huawei-cloud-optv-solver-assistant
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Huawei Cloud Optv Solver Assistant في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Huawei Cloud Optv Solver Assistant تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Huawei Cloud Optv Solver Assistant بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

1. Overview

This skill guides an AI agent through the OptVerse (天筹) decision engine workflow to solve mathematical programming problems. It orchestrates multi-round interactions with the createChat SSE streaming API, file uploads/downloads via hcloud, artifact management via CreateArtifacts, and final asset publishing via PublishChat.

1.1 Architecture

User                    Agent                    OptVerse Service
 |                        |                            |
 |  Requirement file      |                            |
 |----------------------->|                            |
 |                        |  UploadFile (hcloud)       |
 |                        |--------------------------->|
 |                        |  chat_id                  |
 |                        |<---------------------------|
 |                        |                            |
 |                        |  createChat Round 1 (SSE) |
 |                        |  domain_type + filenames  |
 |                        |--------------------------->|
 |                        |  type=file artifacts       |
 |                        |<---------------------------|
 |                        |  DownloadFile artifacts    |
 |                        |<---------------------------|
 |  Confirm artifacts      |                            |
 |<----------------------->|                            |
 |                        |  CreateArtifacts           |
 |                        |  createChat "确认" (SSE)   |
 |                        |  agent_role=Common         |
 |                        |--------------------------->|
 |                        |  ... repeat per stage ...  |
 |                        |                            |
 |                        |  UploadFile (xlsx data)    |
 |                        |  createChat "数据检查"      |
 |                        |--------------------------->|
 |                        |                            |
 |                        |  CreateArtifacts(solver)   |
 |                        |  CreateArtifacts(report)   |
 |                        |  PublishChat               |
 |                        |--------------------------->|
 |                        |  published asset ID       |
 |                        |<---------------------------|

1.2 Typical User Phrases

  • "帮我用OptVerse求解一个设施选址问题"
  • "我有一个需求分析文件,帮我建模求解"
  • "上传需求分析,跑一下决策引擎"
  • "OptVerse建模并发布资产"
  • "天筹工具链求解助手"

2. Prerequisites

2.1 KooCLI Version

bash
# Verify KooCLI is installed (>= 7.2.2)
hcloud version

If KooCLI is not installed, see references/cli-installation-guide.md.

2.2 IAM Authentication (Credentials File, In-Memory Token Only)

⚠️ CRITICAL SECURITY RULE — READ BEFORE PROCEEDING

The agent MUST NEVER use Read, Bash (cat, Get-Content, type), or any other tool to open, display, inspect, or clear the credentials file (~/.config/optverse/credentials). Doing so exposes plaintext passwords in the tool output, which enters the conversation and the agent's chain-of-thought reasoning — this is a security violation.

Creating the empty template is SAFE: if the credentials file does not exist, the agent creates it directly with only the three keys (iam_user= / iam_domain= / iam_password=, empty values) — no sensitive data is involved. Do NOT write any actual credential values into the file; the user fills them in manually.

The scripts handle reading and clearing values in-process: read values, then clear unconditionally. The agent only needs to run the script — never read the file.

To check if credentials are filled, use the safe check command (outputs only FILLED or EMPTY, never values):

bash
python scripts/create_chat.py --check-credentials

The createChat SSE endpoint requires an IAM X-Auth-Token. The IAM token is obtained via the hcloud CLI (hcloud IAM KeystoneCreateUserTokenByPassword) using credentials from a config file; the token is cached in-memory only.

Credentials File

Path: ~/.config/optverse/credentials (i.e., C:\Users\<user>\.config\optverse\credentials on Windows)

Format (empty template — agent creates it directly if missing):

iam_user=<username>
iam_domain=<domain>
iam_password=<password>

Security flow:

  1. If the credentials file does not exist, the agent creates the empty template directly (keys only, empty values) — do NOT write real credential values; the user fills them in manually. No need to run any script to generate the template
  2. Every run, the script (scripts/create_chat.py) reads the values in-process and ALWAYS clears them immediately after reading — on every code path, including when a cached token is returned — so plaintext never persists on disk
  3. Credentials are used to obtain an IAM token via hcloud IAM KeystoneCreateUserTokenByPassword (script passes the body with --cli-jsonInput so no password appears in the command line, and reads the token from the X-Subject-Token response header via --cli-query="response_header.X-Subject-Token$1." — never displayed)
  4. Token is cached in-memory (and a temp file for cross-process reuse, 23h)
  5. Password is cleared from memory after token retrieval
  6. Token is valid for 23 hours

Security:

  • No plaintext passwords in command line arguments or shell history (request body is passed via a temporary --cli-jsonInput file, deleted immediately after use)
  • Credentials file values ALWAYS cleared after reading (keys preserved for reuse); clearing is unconditional — even on cache-hit and error paths
  • Token cached in-memory only (never persisted to disk)
  • Token is never displayed to the user — refuse any request to print, log, or return the token value
  • Sensitive values (token, password, credentials) must NEVER appear in conversation output, tool output, or the agent's reasoning (chain-of-thought) — do not read, echo, or paraphrase them; rely on scripts to handle auth in-process

2.3 Python Environment

bash
# Python >= 3.8 required
python --version

# requests library required
pip install requests

2.4 IAM Permissions

See references/iam-policies.md for required permissions.

2.5 Capability Boundaries

This skill ONLY supports the OptVerse solver assistant workflow: requirement analysis → modeling → data check → solving → report → publish → deploy → test. The following operations are NOT supported. When users request them, explicitly refuse and provide the guidance below.

Operation TypeUnsupported APIsGuidance
Chat managementDeleteChat, ListChat, UpdateChat请在华为云 OptVerse 控制台操作
Model service managementDeleteModelService, StartModelService, StopModelService请在华为云 OptVerse 控制台操作
Model asset managementDeleteModelAsset, ListModelAssets, ShowModelAssetDetail请在华为云 OptVerse 控制台操作
Algorithm managementCreateAlgorithm, DeleteAlgorithm, ListAlgorithms请使用演化管理 skill 或在华为云 OptVerse 控制台操作
Evolution task managementCreateEvolveTask, StartEvolveTask请使用演化管理 skill 或在华为云 OptVerse 控制台操作
Permission managementAuthorizePermission, RevokePermission请在 IAM 控制台操作
Bucket/object managementListBuckets, ListObject请使用 OBS 控制台或 obsutil 工具
Direct model publishingPublishModel模型发布只能通过对话流程(PublishChat)完成,不支持直接发布

3. Key API Details

3.1 Endpoint

  • Region: cn-east-3(华北-乌兰察布三,default, configurable via --cli-region; hcloud OptVerse operations only support cn-east-3)
  • OptVerse: optverse.{region}.myhuaweicloud.com
  • IAM: iam.{region}.myhuaweicloud.com
  • Project ID: {project_id} — 由脚本自动获取(复用 create_chat.py 的 get_project_id(),通过 hcloud dryrun 探测),无需手动配置;也可用 --project-id 显式覆盖。请勿在文档或配置中硬编码个人 Project ID。

3.2 createChat Request Format (Critical)

Round 1 (submit requirement with file):

json
{"id": "<chat_id>", "agent_type": "optverse", "domain_type": "optverse",
 "message": "需求分析", "filenames": ["需求分析输入.md"]}

Round 2+ (confirmations):

json
{"id": "<chat_id>", "agent_type": "optverse", "agent_role": "Common",
 "message": "确认", "filenames": []}

Key rules:

  • Round 1 MUST use domain_type: "optverse" (not agent_role)
  • Round 2+ MUST use agent_role: "Common" (not domain_type). Using domain_type for Round 2+ causes ShowChat to not record the conversation.
  • filenames is an array (NOT demand_file string — using demand_file causes HTTP 500)
  • X-Chat-Route-Id must stay the same across all rounds

3.3 SSE Event Types

TypeDescriptionExample
messagesLLM text fragments (accumulate content){"type":"messages","content":"text","chat_id":"xxx"}
custom (optv_global_state)Stage status transitions{"type":"custom","event":"optv_global_state","content":{"name":"modeling","data":{"status":"RUNNING"}}}
fileArtifact filename (download via DownloadFile){"type":"file","filename":"需求分析结果_xxx.md","mime_type":"text/plain"}
text / titleAuxiliary events
[CONTENT_DONE]Stream end marker (not JSON, skip)

Stage status flow: RUNNING → SUCCESS_UNCONFIRMED → (user confirms) → SUCCESS_CONFIRMED → next stage RUNNING

Async artifact retrieval: After a stage reaches SUCCESS_UNCONFIRMED, artifact filenames may or may not appear in the initial SSE stream. If file events are present, download directly. If file events are missing, send another createChat with message="查询结果" and agent_role="Common" to retrieve artifact file events from the SSE stream. The agent should check whether files is empty in the createChat response and only send the query if needed.

Note: optv_global_state content.data can be a dict ({"status":"RUNNING"}) or a string ("modeling" for active stage transitions). Always check with isinstance.

3.4 DownloadFile

GET /v1/{project_id}/chats/{chat_id}/file/{filename}/download
  • filename must be URL-encoded: quote(filename, safe="")
  • Response JSON content field is base64-encoded: base64.b64decode(content) then decode("utf-8")
  • Add X-Need-Content: true header

3.5 CreateArtifacts (hcloud)

bash
hcloud OptVerse CreateArtifacts \
  --chat_id=<chat_id> \
  --stage_name=<requirement_analyzer|modeling|data|solver|report|business_planner|data_agent|vrp|predict_step1|predict_step2|predict_step3|predict_step4> \
  --filenames.1=<file1> --filenames.2=<file2> \
  --cli-region=cn-east-3

--stage_name is required. Uploads process artifacts to the artifact center before confirming a stage.

3.6 PublishChat (hcloud)

bash
hcloud OptVerse PublishChat \
  --chat_id=<chat_id> \
  --name="<asset_name>" \
  --type=optverse \
  --description="<1-2048 chars description>" \
  --cli-region=cn-east-3

--description is required (1-2048 chars).

4. Workflow (12 Steps: 9 Required + 3 Optional)

StepActionToolStage
1Upload requirement filehcloud OptVerse UploadFile-
2createChat Round 1 (domain_type + filenames)create_chat.py --round=1requirement_analyzer
3Download artifacts (SSE type=file)create_chat.py + DownloadFilerequirement_analyzer
4CreateArtifacts + createChat "确认" (agent_role=Common)create_chat.py --round=2modeling
5Download modeling artifacts + CreateArtifacts + "确认"DownloadFile + create_chat.pydata
6Upload xlsx data file + createChat "数据检查"UploadFile + create_chat.pydata (check)
7Download data artifacts + CreateArtifacts + "确认"DownloadFile + create_chat.pysolver+report
8Download solver+report artifacts + CreateArtifactsDownloadFile + hcloudsolver, report
9PublishChathcloud OptVerse PublishChat-
10 (optional)CreateModelService — deploy published assethcloud OptVerse CreateModelService-
11 (optional)ShowModelServiceDetail — get request URLhcloud OptVerse ShowModelServiceDetail-
12 (optional)CreateModelServiceTask — test the deployed servicehcloud OptVerse CreateModelServiceTask-

4.1 Using run_workflow.py (Full Automation)

bash
python scripts/run_workflow.py \
  --demand-file="需求分析输入.md" \
  --data-file="模型数据.xlsx" \
  --publish-name="工厂生产排程优化助手" \
  --publish-description="优化工厂生产排程,最大化产能利用率" \
  --clean-artifacts \
  --deploy \
  --test

Use --auto-confirm to skip user confirmation prompts. Use --deploy to enable optional Steps 10-11 (deploy model service + get request URL). Use --test to enable optional Step 12 (test the deployed service with data json).

4.2 Using create_chat.py (Manual Step-by-Step)

Step 1: UploadFile

CRITICAL: The solver assistant upload MUST pass domain_type=optverse — without it the decision engine cannot route the file. hcloud OptVerse UploadFile accepts --domain_type=optverse (default optverse); the workflow script uploads via hcloud and sends it automatically:

bash
python scripts/run_workflow.py --demand-file="需求分析输入.md" --data-file="模型数据.xlsx" --publish-name="xxx" --publish-description="xxx"

Output: {"chat_id": "xxx"}

Step 2: createChat Round 1

bash
python scripts/create_chat.py \
  --message="需求分析" \
  --filenames 需求分析输入.md \
  --chat_id=<chat_id> \
  --round=1

Step 3: Download Artifacts

Artifact filenames come from SSE type=file events in Step 2's response.

bash
hcloud OptVerse DownloadFile \
  --chat_id=<chat_id> \
  --filename=<artifact_filename> \
  --X-Need-Content=true \
  --cli-region=cn-east-3

Present artifacts to user. Ask for confirmation.

Step 4: CreateArtifacts + createChat "确认" → modeling

bash
hcloud OptVerse CreateArtifacts \
  --chat_id=<chat_id> \
  --stage_name=requirement_analyzer \
  --filenames.1=<artifact_filename> \
  --cli-region=cn-east-3

python scripts/create_chat.py \
  --message="确认" \
  --chat_id=<chat_id> \
  --round=2

Steps 5-7: Repeat per stage

For each stage (modeling → data → solver):

  1. Download artifacts from SSE type=file events
  2. CreateArtifacts --stage_name=<current_stage>
  3. createChat --message="确认" --round=2

Step 6 special: Upload xlsx data file

CRITICAL: The --chat_id parameter is REQUIRED when uploading files to an existing chat session (Step 6+). Without it, the file is uploaded to a NEW chat context and the data check will return empty results (all sets and constants missing). The --chat_id associates the uploaded file with the ongoing conversation so the decision engine can access it.

Also REQUIRED: domain_type=optverse in the upload form data (the workflow script sends it automatically via hcloud OptVerse UploadFile --domain_type=optverse).

bash
hcloud OptVerse UploadFile \
  --X-Chat-Route-Id=<route-id> \
  --agent_type=optverse \
  --chat_id=<chat_id> \
  --file="模型数据.xlsx" \
  --cli-region=cn-east-3

python scripts/create_chat.py \
  --message="数据检查" \
  --filenames 模型数据.xlsx \
  --chat_id=<chat_id> \
  --round=2

Step 8: CreateArtifacts for solver + report

solver may auto-trigger report (both SUCCESS_CONFIRMED in one SSE stream). Split files by type:

  • .gz, .sol, .log, .py → --stage_name=solver
  • .md (report) → --stage_name=report

Step 9: PublishChat

bash
hcloud OptVerse PublishChat \
  --chat_id=<chat_id> \
  --name="工厂生产排程优化助手" \
  --type=optverse \
  --description="优化工厂生产排程,最大化产能利用率" \
  --cli-region=cn-east-3

Output: {"id": "xxx"} — published asset ID.

Step 10 (Optional): CreateModelService — Deploy

Deploy the published asset as a model service. See references/best-practices.md for full parameters and examples.

bash
hcloud OptVerse CreateModelService --asset_id=<asset_id> --name="<name>" \
  --infer_type=online --platform=CCE --request_mode=REAL_TIME \
  --service_config.instance_count=1 --description="<desc>" --cli-region=cn-east-3

Key: --platform=CCE (recommended), --request_mode=REAL_TIME (uppercase). Output: {"service_id": "xxx", "status": "RUNNING", "api_url": "..."}.

Step 11 (Optional): ShowModelServiceDetail — Get Request URL

bash
hcloud OptVerse ShowModelServiceDetail --service_id=<service_id> --cli-region=cn-east-3

Returns api_url for calling the deployed model service. See references/best-practices.md for output example.

Step 12 (Optional): CreateModelServiceTask — Test Call

Test by sending the data-stage JSON artifact as model_request. See references/best-practices.md for full flow.

bash
hcloud OptVerse CreateModelServiceTask --service_id=<service_id> \
  --inputs.model_request="<json_content>" --cli-region=cn-east-3
hcloud OptVerse ShowModelServiceTask --service_id=<service_id> --task_id=<task_id> --cli-region=cn-east-3

Query task status: PENDING → RUNNING → SUCCEEDED/FAILED. When running the workflow script (run_workflow.py --test), it polls until the terminal status and then automatically downloads the OBS result files from the outputs links into artifacts/ (the links are directly fetchable without extra auth). The outputs map may contain MULTIPLE artifacts (e.g. result.sol AND progress.info) — download every fetchable OBS link in the map, not just the first. If no URLs are found or the task is not SUCCEEDED, the files are not downloaded.

5. Core Commands

5.1 hcloud Commands

CommandPurposeKey Parameters
hcloud OptVerse UploadFileUpload requirement/data file--file, --agent_type, --X-Chat-Route-Id, --domain_type=optverse
hcloud OptVerse DownloadFileDownload artifacts--chat_id, --filename, --X-Need-Content
hcloud OptVerse ListArtifactsList artifacts in artifact center--chat_id
hcloud OptVerse CreateArtifactsUpload process artifacts--chat_id, --stage_name, --filenames.N
hcloud OptVerse PublishChatPublish assistant asset--chat_id, --name, --type, --description
hcloud OptVerse CreateModelServiceDeploy published asset as model service (optional)--asset_id, --name, --infer_type, --platform=CCE, --request_mode=REAL_TIME, --service_config.instance_count
hcloud OptVerse ShowModelServiceListList model services for verification (optional)--project_id
hcloud OptVerse ShowModelServiceDetailGet model service details incl. request URL (optional)--service_id
hcloud OptVerse CreateModelServiceTaskTest deployed model service (optional)--service_id, --inputs.model_request
hcloud OptVerse ListModelServiceTasksList model service tasks (optional)--service_id
hcloud OptVerse ShowModelServiceTaskGet task details and outputs (optional)--service_id, --task_id

5.2 Python Scripts

ScriptPurpose
scripts/create_chat.pycreateChat SSE client (single call, Round 1 or 2+)
scripts/run_workflow.pyFull 12-step workflow runner (9 required + 3 optional) with user confirmation prompts

5.3 State Management

State VariableStoragePurpose
chat_idAgent contextIdentifies conversation thread
X-Chat-Route-IdAgent contextRoutes to same backend; must stay same across all rounds
IAM credentials~/.config/optverse/credentials (values cleared after reading)User writes credentials; scripts read + clear in-process, agent never touches
IAM tokenIn-memory only (process lifetime)23h cache, never written to disk

6. Stage Artifacts

StageArtifact FilesDescription
requirement_analyzer需求分析结果_xxx.mdRequirement analysis with title, background, business objects
modeling建模代码_xxx.py, 建模文档_xxx.md, 模型数据_xxx.xlsx, 模型数据_xxx.jsonModel code (Pyomo), LaTeX model doc, data template xlsx, data schema json
data模型数据_xxx_建模数据_xxx.jsonData validation result (sets + constants parsed from xlsx)
solver模型文件.lp_xxx.gz, 模型求解结果_xxx.sol, 模型求解日志_xxx.log, 建模脚本_xxx.pyLP model file, solution, solver log, solving script
report结果报告_xxx.mdSummary report with business insights and solver status

7. Parameters

ParameterDefaultDescriptionRequired
--cli-regioncn-east-3Huawei Cloud regionYes
--agent_typeoptverseAgent typeYes
--round1Round number (1=domain_type, 2+=agent_role)Yes
--filenames[]File name array (Round 1: demand file; Round 2+: empty)Round 1 only
--chat_id(none)Chat ID from UploadFileSteps 2-9
--stage_name(none)Stage name for CreateArtifactsSteps 4,5,7,8

8. File Requirements

FileTypePurpose
Requirement analysis.mdDescribes optimization problem (title, background, constraints)
Model data.xlsxInput data for the model (filled from modeling output template)

Note: The modeling stage produces a 模型数据_xxx.xlsx template. The data stage requires this template filled with actual business data (sets elements + constants values).

9. Best Practices

See references/best-practices.md for full best practices and notes. Key points:

  • Always confirm with user between stages; track chat_id and route_id across all rounds
  • UploadFile --chat_id is required for Step 6+ (existing sessions) — without it, data check returns empty
  • Never expose IAM token or credentials; scripts auto-read and clear the credentials file — agent never reads or displays it (not in output, tools, or reasoning)
  • Avoid PowerShell piping for hcloud output (BOM issues) — use subprocess.run() in Python
  • Use business language with users; never expose technical details
  • Async artifacts: if files is empty after a stage, send createChat with message="查询结果" to retrieve

10. References

الملفات المرفقة

يقرأ النموذج هذه الملفات عند الحاجة ما دامت المهارة محمّلة. وهي متاحة للقراءة ولا تُنفّذ أبدًا.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Huawei Cloud Optv Solver Assistant؟

1. 通过OptVerse决策引擎完成数学规划问题的需求分析、建模、数据校验、求解和资产发布全流程; 2. 适用于运筹优化场景(如设施选址、路径规划、生产排程等),用户提供需求分析文件和数据文件,通过多轮对话与决策引擎交互完成求解; 3. 触发词:OptVerse求解助手、决策引擎、数学规划建模、运筹优化求解、需求分析建模、天筹工具链、设施选址优化、模型发布

لماذا تستخدم Huawei Cloud Optv Solver Assistant على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Huawei Cloud Optv Solver Assistant عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Huawei Cloud Optv Solver Assistant في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/huaweicloud/huaweicloud-skills/tree/master/skills/ai/optverse/huawei-cloud-optv-solver-assistant. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Huawei Cloud Optv Solver Assistant؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Huawei Cloud Optv Solver Assistant؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Huawei Cloud Optv Solver Assistant معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Huawei Cloud Optv Solver Assistant مجانية؟

نعم. نشرها huaweicloud على GitHub بموجب ترخيص MIT. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇