About¶
The project¶
dashscope-sdk-java is the official Java client for
DashScope / Alibaba Cloud Model Studio (Bailian). It targets
Java 8+ at runtime and is built with a JDK 8 toolchain (cross-checked with release 8 on
modern JDKs).
- Source: github.com/dashscope/dashscope-sdk-java
- Artifact:
com.alibaba:dashscope-sdk-javaon Maven Central - API docs: the API Reference page links the generated Javadoc under
/api/.
License¶
Apache License 2.0 — see LICENSE and NOTICE.
Runtime dependencies¶
Versions as declared in the root
pom.xml:
| Dependency | Version | Role |
|---|---|---|
com.squareup.okhttp3:okhttp |
4.12.0 | HTTP transport (shared connection pool) |
com.squareup.okhttp3:okhttp-sse |
4.12.0 | Server-sent events for streaming |
com.squareup.okhttp3:logging-interceptor |
4.12.0 | Opt-in network logging |
com.squareup.okio:okio |
3.6.0 | OkHttp I/O layer |
org.jetbrains.kotlin:kotlin-stdlib-jdk8 |
1.8.21 | Required by OkHttp 4.x |
com.fasterxml.jackson.core:jackson-databind |
2.22.4 | Typed request/response (de)serialization |
com.google.code.gson:gson |
2.8.9 | JSON handling in shared utilities |
io.reactivex.rxjava2:rxjava |
2.2.21 | Async streaming (Flowable) |
org.slf4j:slf4j-api |
2.0.7 | Logging facade (bring your own binding) |
com.github.victools:jsonschema-generator |
4.31.1 | Tool/function-call JSON schema generation |
org.projectlombok:lombok |
1.18.42 | Compile-time only (provided) — builders, not a runtime dependency |
Contributing¶
- Report bugs and request features via GitHub Issues.
- Pull requests are welcome; the CI gates are
build-and-test(JDK 8), the linter (google-java-format), and the offline example suite (mvn -f examples/pom.xml clean test). - Runnable starting points live in
examples/— atomic capabilities, engineering recipes, agent recipes and real-world scenarios. - Documentation lives in
docs/(this site); see the repository'sdocs/README.mdfor the maintenance guide (bilingual layout, local build, CI publishing).