Skip to content

PointSav Documentation

The engineering library for the PointSav platform — operating systems and services for regulated businesses that own their data, their AI, and their record-keeping outright. Where the monorepo holds the code, this wiki holds the reasoning: architecture, services, security, and the governance commitments that bind future development.

Run your first SLM query

Prerequisites

  • The local SLM service and Doorman running and reachable (see Run local SLM inference)
  • curl, or the reference script at service-slm/scripts/slm-chat.sh if you have it available
  • Your module identifier for the X-Foundry-Module-ID header

Purpose

Submit a first inference request and get a response back — under a minute once Doorman is up. This is not a console task: F9 in os-console is a read-only health dashboard with no way to type or submit a query, so the real path is a direct HTTP call to Doorman.

Procedure

  1. Confirm Doorman is reachable. The default local address is http://127.0.0.1:9080, though your deployment may differ.

  2. Send a request to the chat-completions endpoint:

    curl -s -X POST \
      -H "Content-Type: application/json" \
      -H "X-Foundry-Module-ID: <your-module-id>" \
      -d '{"messages": [{"role": "user", "content": "Say hello in one sentence."}]}' \
      http://127.0.0.1:9080/v1/chat/completions
    

    Headers are forgiving in development: Doorman generates safe defaults when they're absent, specifically so ad-hoc curl probes like this one work without extra setup. Still, set X-Foundry-Module-ID explicitly once you're doing real work — it's how the platform attributes usage to your module.

  3. Read the response. It arrives as a single JSON payload, not a stream — the whole reply lands in one content field once the model finishes, not token by token.

    Note: a reference REPL script exists at service-slm/scripts/slm-chat.sh that wraps this same call in a loop, so you can keep a conversation going without retyping headers each time. Despite what an older internal note claims, that script does not stream either — it's the same one blocking call per turn, just looped.

Expected outcome

A JSON response containing the model's reply in its content field, returned as one complete payload.

Verification

Confirm the response's content field holds a real, on-topic reply rather than an error body. An HTTP error status or a JSON error field means Doorman couldn't complete the request — check that the local SLM service is actually running before retrying.

Note: you don't need any specific inference tier "up" for this to work. Doorman defaults ordinary requests to the local tier; a higher tier only comes into play for requests explicitly marked high-complexity, and even then it falls back to the local tier automatically on failure rather than failing your request.

Rollback

Nothing to roll back — a query is read-only against your own conversation history. Sending another request doesn't require undoing the last one.

Next steps

See also

Cite this record: /wiki/run-first-slm-query — revision 9b9339a2, last updated 6 August 2026.

Important Information

Corporate structure. PointSav Digital Systems ("PointSav") is currently a trade name of Woodfine Capital Projects Inc. ("Woodfine"), planned to become a wholly-owned Woodfine subsidiary upon incorporation. PointSav does not itself offer, sell, or solicit any security. Any securities offering associated with Woodfine's real-property direct-hold solutions is made exclusively by Woodfine, and only by means of the applicable Private Placement Memorandum.

No investment advice. This wiki's content is provided for engineering, operational, research, and development purposes. Nothing on this wiki constitutes investment advice or a solicitation to invest in any Woodfine partnership or direct-hold solution.

Intellectual property. The PointSav name, trade name, wordmark, and marks, together with all current and future PointSav- and Totebox-branded products, services, and offerings — and the software, source code, documentation, design system, and all related materials — are proprietary to Woodfine and its affiliates, except for components identified as open source. No rights are granted except as expressly set out in a written license or agreement. The full trademark notice appears in the footer of every page on this site.

Open source components. Portions of the platform are made available under permissive open-source licenses identified in the accompanying repository. Use of those components is governed by their respective license terms.

No warranty; informational use. Content on this wiki is provided for general informational purposes only and does not constitute a representation, warranty, or commitment with respect to product functionality, availability, pricing, or roadmap. Some articles describe planned or intended features, capabilities, and milestones — language such as "planned," "intended," "targeted," "may," and "expected" marks this forward-looking content, which is subject to change and does not constitute a commitment regarding future performance.

Confidentiality. Where an article describes an operational or deployment detail that is not intended for public disclosure, that article is not published on this wiki. Content here is general-purpose engineering documentation, not customer-specific configuration.

Jurisdiction. Woodfine Capital Projects Inc. is organized in British Columbia, Canada. References to the Sovereign Data Foundation on this wiki describe a planned or intended initiative only, not a current equity holder or active governance body.

Changes to this notice. PointSav may update this notice from time to time; the version posted on this page governs.

Not a filing system. This wiki is not a securities filing system, an electronic disclosure repository, or a substitute for SEDAR+ or any other regulatory filing system. Formal securities filings are made through the applicable regulatory filing system, not through this wiki.

Full disclaimer. This notice supplements, and does not replace, the full Disclaimers article. In the event of any conflict, the full Disclaimers article governs.

Read the full disclaimer →