Use Cases + Implementation

How do you build HR assistants with an OpenAI-compatible API?

An OpenAI-compatible API lets HR teams add assistant features to the systems they already run: point the SDK at api.plugsky.com and use /v1/chat/completions for policy answers, case summarisation and drafting. Streaming, JSON mode and function calling are live, so case summaries can be structured objects rather than free text, and the migration is a base URL change, not a platform project.

Key facts

API compatibilityDrop-in /v1/chat/completions with streaming, JSON mode and function calling (live)
Structured outputJSON mode for case summaries, ticket triage and draft replies
Models30+ models behind one API, route routine and sensitive work separately
MigrationBase URL and model-name change; SDK stays the same
PricingFlat monthly plans with unlimited fair-use usage on self-serve
ControlsScoped API keys, RBAC and SSO/SCIM for HR system identity
DeploymentRegion-locked planes, VPC, on-prem and air-gapped options
Free tierplugsky-micro and plugsky-lite on the free plan, no card required

TL;DR

  • Keep the OpenAI SDK; change the base URL and model names to move HR workloads.
  • Use JSON mode to return structured case summaries your HRIS can store.
  • Never automate employment decisions — draft, classify and route, then let people decide.
  • Scope keys per HR system so a policy assistant cannot read employee records.
  • Validate prompts on historical tickets before switching live traffic.

How it works, step by step

  1. Move the model client into one module so base URL, key and model names come from configuration.
  2. Define JSON schemas for each HR output — case summary, category, urgency, suggested reply — and test against historical tickets.
  3. Set the client to the Plugsky base URL with a scoped key, and map your model names to Plugsky models for routine and sensitive tasks.
  4. Run a shadow evaluation over a closed ticket batch and compare classifications and summaries with the human outcome.
  5. Switch the assistant live for a pilot group, keeping the old provider path behind a configuration flag.
  6. Review retention and key scope with HR and security, and add a human escalation path inside the chat interface.
  7. Track deflection, edit rate on drafts and escalation accuracy, and tune prompts before widening access.
1Move the modelclient into onemodule so base URL,2Define JSON schemasfor each HR output— case summary,3Set the client tothe Plugsky baseURL with a scoped4Run a shadowevaluation over aclosed ticket batch5Switch theassistant live fora pilot group,6Review retentionand key scope withHR and security,

Try it yourself

Open the system prompt generator →

What swaps when you move an HR assistant

HR tooling tends to be conservative, and OpenAI compatibility suits that: the client library, request shape and response parsing stay the same, so approval processes focus on behaviour rather than architecture. You change the base URL, map model names, and keep every surrounding control — logging, PII scrubbing, escalation — exactly where it was.

Chat completions, streaming, JSON mode and function calling are all live. Roadmap items such as files, batch and assistants-style endpoints are coming soon, so keep bulk document import and job scheduling in your own systems and use the live endpoint for the conversational work.

Structured outputs for casework

The most useful HR upgrade is not conversational polish but structure. A JSON-mode schema can turn a messy ticket into a record your systems can act on: category, urgency, policy references, a neutral summary and a suggested reply. That record is reviewable, reportable and easy to route.

  • Schema discipline: version schemas, validate responses, and reject rather than repair malformed output.
  • Neutral language: instruct summaries to stay factual and avoid speculation about intent or performance.
  • Confidence signals: ask the model to mark uncertainty so low-confidence items route to a human first.
  • No decisions: classification may sort a queue, but rejection, discipline and selection remain human decisions.

Privacy, keys and rollout

An HR assistant should not require employee records to be useful. Retrieve policy text for answers, pass only the fields a task needs, and keep the HRIS as the system of record. Scope each key to one function — policy Q&A, triage, drafting — so a compromise cannot read the whole people directory.

Residency matters when prompts carry case details: pin the workspace to a region-locked plane or deploy to VPC, on-prem or air-gapped. Roll out incrementally. Run a shadow period, then a pilot group, and compare deflection, edit rate and escalation accuracy against the human baseline. Because the API is OpenAI-compatible and the base URL lives in configuration, rollback is a deploy rather than a rewrite.

Honest comparison

AspectPlugskyStaying on OpenAISelf-hosted models
Client changeBase URL and model names onlyNoneNew runtime and tuning
Structured outputJSON mode live for case recordsAvailableConstraints built by you
Tool useFunction calling live for HRIS lookupsAvailableSelf-managed serving
PricingFlat monthly with unlimited fair use on self-servePer-tokenGPU and operations cost
ResidencyRegion choice, VPC, on-prem, air-gappedLimited optionsWherever you deploy

Frequently asked questions

Do our HR prompts need to change?

Test them, but usually only lightly. Behaviour differs between providers, so rerun your prompt suite on real historical tickets and adjust instructions where classification or tone drifts.

Is JSON mode suitable for HRIS records?

It returns valid JSON, and you should still validate every field against a versioned schema. Reject malformed output instead of auto-repairing it, so bad records never reach the HRIS.

Can the assistant make employment decisions?

No. It may summarise, classify and draft; decisions about hiring, discipline or termination stay with people. Automating them also attracts high-risk obligations under rules such as the EU AI Act.

How do we keep employee data safe?

Send the minimum fields per task, scope keys per function, avoid personal data in prompts unless required, and pin deployment to a region that satisfies policy.

What about bulk document processing?

Files and batch endpoints are coming soon. For now, process bulk documents in your pipeline and call the live chat and embeddings endpoints per item.

How do we trial this cheaply?

Start on the free plan with plugsky-micro and plugsky-lite and no card, evaluate on real tickets, then move to a paid plan or the 14-day full-access trial as volume grows.

Is migration reversible?

Yes. Keep the provider in configuration; switching back is the same base URL change in reverse with no code edits.