Skip to main content

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.1.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gseai-0.1.1-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file gseai-0.1.1.tar.gz.

File metadata

  • Download URL: gseai-0.1.1.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

Hashes for gseai-0.1.1.tar.gz
Algorithm Hash digest
SHA256 62a6b0f67f759e7e56d937632a52ad5780b51227969d8d7f5e6667fc40ea4a34
MD5 e6b19b1cb8fddbda3a0f72d41fe71802
BLAKE2b-256 b59c7e53ae691b2e717d1b4e08f2df440c434ea7e91ba2447fc770ece356ce31

See more details on using hashes here.

File details

Details for the file gseai-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: gseai-0.1.1-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

Hashes for gseai-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 69eea23e36cf007a9bc1a1e691a343f7f6356739400ed3d9c4313a8969837b02
MD5 c9f888fc86aba7010f9aa378c4c3e078
BLAKE2b-256 ec21bc61b1cf1366c1c21c9ae06f88b0d5f26a0680d83d12682f53e92f3db27e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page