Python client for the GSE AI LMStudio server
Project description
GSE AI Server API
This package provides an API for connecting to UB GSE's API server. See the Computational Literacies Lab handbook page for details about the server.
The documentation provides details on using the API.
Quickstart
from gseai import GSEAIServer
with GSEAIServer("your-api-token") as server:
# List available models
models = server.list_models()
# Chat using the native API
response = server.chat("model-id", "What is machine learning?")
# Chat using the OpenAI-compatible API
response = server.chat_completions(
"model-id",
messages=[{"role": "user", "content": "What is machine learning?"}],
)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
gseai-0.1.2.tar.gz
(4.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
gseai-0.1.2-py3-none-any.whl
(4.7 kB
view details)
File details
Details for the file gseai-0.1.2.tar.gz.
File metadata
- Download URL: gseai-0.1.2.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.4 {"installer":{"name":"uv","version":"0.11.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7bffd6b8a9bf027b61310c80a77005218e764296b9783f843093c9d775962a0c
|
|
| MD5 |
234085286f8ebfb3002fe84123cd901c
|
|
| BLAKE2b-256 |
dd5aa9c307c9c083b7afee7554bc857c258de6b70d4a4bb497c29c41dea41b09
|
File details
Details for the file gseai-0.1.2-py3-none-any.whl.
File metadata
- Download URL: gseai-0.1.2-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.4 {"installer":{"name":"uv","version":"0.11.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
87e682b83217dd449873e978425f065d6f8c22abb559b8eb3029d42b21f94919
|
|
| MD5 |
e88bb2fd65dab3acfeed365d4531356e
|
|
| BLAKE2b-256 |
bade86842ff240c45a79f8d051b9c252e86f8a59712d32f18d8dbc4c1376cc9e
|