SDK development
Use the official STAROps samples project to integrate digital employee capabilities into your own application. The samples are available for Go, Java (including Java 8), Python, and TypeScript.
Sample project
The official starops-best-practice/samples project provides complete, runnable integration code. For instructions on running the samples, see the README (in Chinese).
Capabilities covered by the samples
The samples cover the following capabilities:
Capability | Description |
Conversation | Start a conversation, receive streaming responses, and interrupt a response in progress. |
Model selection | Specify or switch the model for a conversation or session. |
Reconnection | Handle dropped connections with automatic reconnection, exponential backoff, and message deduplication. |
Interactive confirmation | Respond to confirmation, selection, and input events initiated by the digital employee. |
Business context | Inject time ranges, resource entities, and dynamic prompts. |
References
For request and response parameters, error codes, authorization information, and endpoints of STAROps API operations, see: