@@ -10,6 +10,9 @@ The SDK can be installed from PyPI as follows:
1010$ pip install lmstudio
1111```
1212
13+ Installation from the repository URL or a local clone is also
14+ supported for development and pre-release testing purposes.
15+
1316## Examples
1417
1518The base component of the LM Studio SDK is the (synchronous) ` Client ` .
@@ -52,7 +55,32 @@ for message in EXAMPLE_MESSAGES:
5255 print (f " Shopkeeper: { response} " )
5356```
5457
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.
5684
5785## Contributing to SDK development
5886
@@ -70,7 +98,6 @@ necessary to ensure the `lmstudio-js` submodule is updated:
7098$ git submodule update --init --recursive
7199```
72100
73-
74101### Development Environment
75102
76103In order to work on the Python SDK, you need to install
0 commit comments