|
NIMSDK-iOS
|
类 | |
| protocol | <NIMAIManager> |
| protocol | <NIMAIListDelegate> |
| class | NIMAIModelCallContent |
| class | NIMAIModelCallMessage |
| 请求调用上下文内容 更多... | |
| class | NIMAIModelConfigParams |
| class | NIMProxyAIModelCallParams |
| class | NIMAIModelConfig |
| class | NIMAIUser |
| class | NIMProxyAICallAntispamConfig |
| class | NIMAIModelCallResult |
| class | NIMAIModelStreamCallChunk |
| 透传协议流式分片信息 更多... | |
| class | NIMAIModelStreamCallContent |
| 流式回复内容 更多... | |
| class | NIMAIModelStreamCallResult |
| 透传接口的 AI 流式回复的结构体 更多... | |
| class | NIMAIModelStreamCallStopParams |
| 停止透传接口的 AI 流式回复 更多... | |
类型定义 | |
| typedef void(^ | NIMGetAlUserListBlock) (NSError *__nullable error, NSArray< NIMAIUser * > *_Nullable result) |
| 数字人拉取接口的回调 更多... | |
| typedef void(^ | NIMProxyAIModelCallBlock) (NSError *__nullable error) |
| Al数字人请求代理接口的回调 更多... | |
| typedef void(^ | NIMStopAIModelStreamCallBlock) (NSError *__nullable error) |
| Al数字人停止 更多... | |
枚举 | |
| enum | NIMAIModelType { NIMAIModelTypeUnknow , NIMAIModelTypeQwen , NIMAIModelTypeAzure , NIMAIModelTypePrivate } |
| 大模型类型 更多... | |
| enum | NIMAIModelCallContentType { NIMAIModelCallContentTypeText = 0 } |
| 大模型请求内容类型 更多... | |
| enum | NIMAIModelRoleType { NIMAIModelRoleTypeSystem , NIMAIModelRoleTypeUser , NIMAIModelRoleTypeAssistant } |
| 大模型角色内容 更多... | |
| enum | NIMAIModelStreamCallStatus { NIM_AI_MODEL_STREAM_CALL_STATUS_NONE = 0 , NIM_AI_MODEL_STREAM_CALL_STATUS_CANCEL = 2 , NIM_AI_MODEL_STREAM_CALL_STATUS_GENERATED = 4 , NIM_AI_MODEL_STREAM_CALL_STATUS_ABORTED = 5 } |
| 数字人流式消息状态 更多... | |
| typedef void(^ NIMGetAlUserListBlock) (NSError *__nullable error, NSArray< NIMAIUser * > *_Nullable result) |
数字人拉取接口的回调
| typedef void(^ NIMProxyAIModelCallBlock) (NSError *__nullable error) |
Al数字人请求代理接口的回调
| typedef void(^ NIMStopAIModelStreamCallBlock) (NSError *__nullable error) |
Al数字人停止
| enum NIMAIModelRoleType |
| enum NIMAIModelType |