Repository navigation
docs: configure AI providers and recommendations from the deployment document - #446
Conversation
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Warning Review limit reachedEnable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing. Next included review available in 58 minutes. View limit details
|
Silo Kody — review completeReview finished. Check the inline comments for findings and verify each suggestion against the code and tests. Reviewing changes in Silo
Review settingsReview OptionsThe following review options are enabled or disabled:
|
|
Draft until Silo-Server/silo-server#4668 and Silo-Server/silo-server#4665, which it's stacked on, are merged into main. The docs describe that change, and its labels or defaults may still change in review. |
|
Preview removed after this pull request was closed. Its address now redirects to siloserver.org, though some visitors may still see the old preview for a while. |
- A declaration keeps a connected provider's type, replaces it whole, and shares the document's secret limit with plugin secrets. - State the id rule and that custom providers need capabilities, and use a generic host in the custom example. - Show the AI key's secret in the Compose, Kubernetes and NixOS steps. - Keep the read-only provider description on AI Services, say that removing the document releases nothing, and how to remove a released provider. - Split the recommendations variables paragraph, say where to set them and which provider ids work, and cover switching a provider the environment sets. - Keywords: drop words the page already uses.
Silo Kody — review completeReview finished. Check the inline comments for findings and verify each suggestion against the code and tests. Reviewing changes in Silo
Review settingsReview OptionsThe following review options are enabled or disabled:
|
Silo Kody — review completeReview finished. Check the inline comments for findings and verify each suggestion against the code and tests. Reviewing changes in Silo
Review settingsReview OptionsThe following review options are enabled or disabled:
|
… page Rename the link to the page's new title and list the SILO_RECOMMENDATIONS_* variables, now that the table from #440 is on main.
Silo Kody — review completeReview finished. Check the inline comments for findings and verify each suggestion against the code and tests. Reviewing changes in Silo
Review settingsReview OptionsThe following review options are enabled or disabled:
|
| @@ -41,7 +41,7 @@ Set these variables on each API server to configure Silo from its environment in | |||
|
|
|||
| With Compose, add them to `.env` and recreate the container with `docker compose up -d`. The repository's Compose files pass `.env` to the `silo` service with `env_file`. In a Compose file of your own, add `env_file: .env` to the `silo` service or list each variable under `environment`, such as `SILO_PUBLIC_URL: ${SILO_PUBLIC_URL}`. | |||
There was a problem hiding this comment.
Compose interpolates dollar signs in documented secret values
An SMTP password or S3 secret containing $ can be silently changed in .env, breaking authentication. Tell operators to single-quote values containing $, as the page already advises for POSTGRES_PASSWORD.
Prompt for LLM
File src/content/docs/docs/running-a-server/configuration.md, line 42:
Compose interpolates dollar signs in documented secret values
Unquoted values containing `$` are interpolated by Compose, so putting an SMTP password or S3 secret in `.env` as instructed can silently change the credential and break authentication. Tell operators to single-quote environment values containing `$`, as the page already advises for `POSTGRES_PASSWORD`.
Suggested code:
With Compose, add them to `.env` and recreate the container with `docker compose up -d`. Single-quote values containing `$`, including passwords and secret keys, to prevent Compose from interpolating them.
Talk to Kody by mentioning @kody
Was this suggestion helpful? React with 👍 or 👎 to help Kody learn from this interaction.
There was a problem hiding this comment.
Right about Compose: an unquoted $ in .env is read as a variable, and the page gives the single-quote advice only for POSTGRES_PASSWORD. This line came from #440 and is already on main; this PR does not change it, so it goes to a separate docs change.
There was a problem hiding this comment.
Agreed. The Compose warning is valid, but the affected guidance predates this PR, so it belongs in a separate documentation change. That change could advise single-quoting any .env value containing $, including passwords and secret keys.
Would you like me to create an issue to track it?
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ices Co-Authored-By: Claude Opus 5.5 <[email protected]>
Silo Kody — review completeReview finished. Check the inline comments for findings and verify each suggestion against the code and tests. Reviewing changes in Silo
Review settingsReview OptionsThe following review options are enabled or disabled:
|
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Resolve ai-services.md: keep main's Connect speech-to-text (the speech Base URL paragraph is gone on main) and put the spoken-language paragraph after step 4, before the ChatGPT plan note, so PR #446's section after that note still merges cleanly.
Silo Kody — review completeReview finished. Check the inline comments for findings and verify each suggestion against the code and tests. Reviewing changes in Silo
Review settingsReview OptionsThe following review options are enabled or disabled:
|
Problem
Closes #445
The plugin provisioning document is now Silo's deployment document. Besides plugins, it can connect AI providers, and three new variables set up recommendations, so a Compose, Kubernetes, or NixOS deployment can configure AI services without the admin pages. The docs covered only plugins under the old variable names.
The server change is Silo-Server/silo-server#4668, stacked on Silo-Server/silo-server#4665. Both are merged, and the pages were checked again against main.
Pages changed
SILO_CONFIG_FILESILO_RECOMMENDATIONS_*variables under "Configure the model"; changing the model when the variables set itSILO_RECOMMENDATIONS_*row in the variable tableWhat changed on each page
Configure Silo from a deployment document
docs/provision-plugins, so existing links keep working.SILO_CONFIG_FILE(YAML or JSON file) andSILO_CONFIG(inline JSON), with "The older names,SILO_PLUGINS_FILEandSILO_PLUGINS, still work and read the same document. Set only one of the four: if two are set, Silo doesn't start." Bothpluginsandai_providersare optional, and a section left out leaves those plugins or providers as they are. The OIDC walkthrough gets its own subheading.customendpoint, with the schema comment, the id rule (1 to 64 lowercase letters, digits, and hyphens, starting with a letter or digit),typevalues and defaults,api_keyonly asfromFileorfromEnv(with the four types that need one),capabilitiesrequired forcustomand refused for the rest, the name-clash stop and its two fixes, replacing a stored provider with the same id and type (a type change stops startup), an example startup error, a pointer to the read-only view on AI Services, and the last-to-start-wins rule. Plugin secrets and AI keys share one 1 MiB secret limit.SILO_CONFIG_FILEand adeployment.yamlordeployment.jsonfile, and show the AI key's secret next to the OIDC one. Kubernetes says to leave out the Secrets, mounts, and volumes a document doesn't reference; NixOS gets the key's source path, itsLoadCredentialline, and anai_providerssnippet.plugins: {}releases every plugin, and leaving the section out releases nothing. New bullet forai_providers, with the same rules forai_providers: {}and for leaving the section out, and that removing the document releases nothing; a released provider can be removed once no job uses it.Worth checking: I kept the heading "Prepare the declaration" so its anchor doesn't change.
Configure AI services
Set up recommendations
SILO_RECOMMENDATIONS_ENABLED,SILO_RECOMMENDATIONS_PROVIDER(the id of a provider the document declares; admin-added providers' ids aren't shown) andSILO_RECOMMENDATIONS_MODELset Enable Recommendations, Embedding provider, and Model, which then show read-only. Check Connection still works, and the step says to confirm it reports the model's dimensions before running Embeddings. A second paragraph: they apply on the start that reads them, the startup error for a provider that isn't connected, and the last-to-start-wins rule.Server configuration and dependencies
SILO_RECOMMENDATIONS_ENABLED,SILO_RECOMMENDATIONS_PROVIDER, andSILO_RECOMMENDATIONS_MODEL.Left out on purpose
managed_by_env_varfield and the422managed_by_environmentrefusal: no other page goes to API level.Evidence
Source reviewed, not tested on a live server or device:
silo-server
6a13f8acd(main, with Silo-Server/silo-server#4668 and #4665 merged). Docs branch merged with siloserver.org main at5d9f7a0.The server PR's own evidence shows the read-only provider panel and Recommendations fields on a running server with a declared provider; these pages weren't checked against one separately.
Evidence: https://evidence.siloserver.org/r/siloserver-org/deployment-ai-providers/
Follow-ups
SILO_BACKUP_TIME,SILO_DISCORD_CLIENT_ID, andSILO_MDBLIST_API_KEY. That's a separate docs change.Risks
None identified. Documentation only.
Checklist
AI Disclosure
🤖 Generated with Claude Code
Note
Document AI provider and recommendation configuration via the deployment document
Macroscope summarized 2541002.