@@ -10,6 +10,9 @@ The SDK can be installed from PyPI as follows:
10
10
$ pip install lmstudio
11
11
```
12
12
13
+ Installation from the repository URL or a local clone is also
14
+ supported for development and pre-release testing purposes.
15
+
13
16
## Examples
14
17
15
18
The base component of the LM Studio SDK is the (synchronous) ` Client ` .
@@ -52,7 +55,32 @@ for message in EXAMPLE_MESSAGES:
52
55
print (f " Shopkeeper: { response} " )
53
56
```
54
57
55
- TODO: Refer readers to the SDK documentation for more info.
58
+ Additional SDK examples and usage recommendations may be found in the main
59
+ [ LM Studio Python SDK documentation] ( https://lmstudio.ai/docs/python ) .
60
+
61
+ ## SDK versioning
62
+
63
+ The LM Studio Python SDK uses a 3-part ` X.Y.Z ` numeric version identifier:
64
+
65
+ * ` X ` : incremented when the minimum version of significant dependencies is updated
66
+ (for example, dropping support for older versions of Python or LM Studio).
67
+ Previously deprecated features may be dropped when this part of the version number
68
+ increases.
69
+ * ` Y ` : incremented when new features are added, or some other notable change is
70
+ introduced (such as support for additional versions of Python). New deprecation
71
+ warnings may be introduced when this part of the version number increases.
72
+ * ` Z ` : incremented for bug fix releases which don't contain any other changes.
73
+ Adding exceptions and warnings for previously undetected situations is considered
74
+ a bug fix.
75
+
76
+ This versioning policy is intentionally similar to [ semantic versioning] ( https://semver.org/ ) ,
77
+ but differs in the specifics of when the different parts of the version number will be updated.
78
+
79
+ Release candidates * may* be published prior to full releases, but this will typically only
80
+ occur when seeking broader feedback on particular features prior to finalizing the release.
81
+
82
+ Outside the preparation of a new release, the SDK repository will include a ` .devN ` suffix
83
+ on the nominal Python package version.
56
84
57
85
## Contributing to SDK development
58
86
@@ -70,7 +98,6 @@ necessary to ensure the `lmstudio-js` submodule is updated:
70
98
$ git submodule update --init --recursive
71
99
```
72
100
73
-
74
101
### Development Environment
75
102
76
103
In order to work on the Python SDK, you need to install
0 commit comments