- EquipmentManagementSvc
- LabelSvc
- NextNumberGenSvc
- SysCodeSvc
- TaskGenerationRuleSvc
- WmsSvc
- BatchEditRuleSvc
- VisualInventorySvc
- AllocateRuleSvc
- AuthorizeWarehoseSvc
- ConstraintSvc
- DestinationLocRuleSvc
- DeviceInteractiveTaskSvc
- DistributeRuleSvc
- OwnerSvc
- PreAllocateRuleSvc
- QuickSearchSvc
- ReplenishmentTemplateSvc
- RoadOrderSvc
- RotationRuleSvc
- StockupRuleSvc
- TaskSchedulerRuleSvc
- UserOperationSettingSvc
- WaveTemplateSvc
- AreaSvc
- SlottingAdjSvc
- WesV2Svc
- ZoneSvc
- AnalysisSvc
- ApaasFormSvc
- CustomDataSourceSvc
- GenerateTaskRuleSvc
- GridPortRuleSvc
- GridPortSvc
- LocationSvc
- PutawayWorkBenchsSvc
- ShippingPickSvc
- SkuClassSvc
- SortingWorkBenchSvc
- PickAndSowingWorkBenchSvc
- ReplenishmentWorkBenchsSvc
- WhKPIRuleSvc
- WorkstationAssignmentRuleSvc
- AssemblyOrderSvc
- Connections
- DesignerReport
- DeviceAbnormalTaskSvc
- Dialog
- DisassemblyOrderSvc
- EarlyWarningRuleSvc
- ExportReport
- GetPicture
- GetReport
- ImportSvc
- LoadOrderSvc
- PassageSvc
- PrintReport
- PutawayWorkBenchsTaskSvc
- ReceiptSvc
- Resources
- SCMCopilotSvc
- Service
- ShippingOrderSvc
- Utils
- VasOrderSvc
- WESCheckRuleSvc
- AprioriTemplateSvc
- SkuCorrelationSvc
非流式调用
POST
https://testxa.360scm.com/SCM.WMS7.OpenApi/v2/SCMCopilotSvc/ChatCompletionsNotStream
/v2/SCMCopilotSvc/ChatCompletionsNotStream
SCMCopilotSvc
请求参数
Body 参数application/json
message
string | null
内容
largeLanguageModelCallMethod
enum<string> <int32>
可选
枚举值:
QuickSearchTableField
scmCopilotRequest
object (ScmCopilotRequest)
可选
model
string | null
型号
frequency_penalty
integer <int32>
可选
max_tokens
integer <int32>
可选
presence_penalty
integer <int32>
可选
stream
boolean
stream
temperature
number <double>
温度
messages
array[object (ScmCopilotMessageRequest) {2}] | null
messages
sysId
string | null
系统ID
示例
{
"message": "string",
"largeLanguageModelCallMethod": "QuickSearch",
"scmCopilotRequest": {
"model": "string",
"frequency_penalty": 0,
"max_tokens": 0,
"presence_penalty": 0,
"stream": true,
"temperature": 0,
"messages": [
{
"role": "string",
"content": "string"
}
]
},
"sysId": "string"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://testxa.360scm.com/SCM.WMS7.OpenApi/v2/SCMCopilotSvc/ChatCompletionsNotStream' \
--header 'Content-Type: application/json' \
--data-raw '{
"message": "string",
"largeLanguageModelCallMethod": "QuickSearch",
"scmCopilotRequest": {
"model": "string",
"frequency_penalty": 0,
"max_tokens": 0,
"presence_penalty": 0,
"stream": true,
"temperature": 0,
"messages": [
{
"role": "string",
"content": "string"
}
]
},
"sysId": "string"
}'
返回响应
🟢200Success
application/json
Body
结果返回模型
flag
boolean
响应标识
requestId
string
请求id
errorCode
string | null
错误代码
errorMessage
string | null
错误信息
data
object (ChatCompletionsResponse)
可选
result
null
动态参数返回值
示例
{
"flag": true,
"requestId": "string",
"errorCode": "string",
"errorMessage": "string",
"data": {
"result": null
}
}
修改于 2025-04-27 20:59:13