Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 23 additions & 9 deletions src/content/docs/docs/running-a-server/recommendations.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,42 @@ slug: docs/recommendations
keywords: ["because you watched", "recommended for you", "AI recommendations", "machine learning", "collaborative filtering", "taste"]
questions: ["How do I turn on personalized movie suggestions?", "Can I switch embedding models after setup?", "Why are suggestions so generic for a new profile?", "Why did my suggestion jobs fail?"]
title: Set up recommendations
description: Configure the recommendation model and inspect the jobs that produce results.
description: Connect an embedding provider, run the jobs that produce recommendations, and switch embedding models.
---

Recommendations suggest titles from your catalog and each profile's activity. They are optional and need PostgreSQL with pgvector and an OpenAI-compatible embedding endpoint. The rows that show them are set up in [Home Sections](/docs/home-sections).
Recommendations suggest titles from your catalog and each profile's activity. They are optional and need PostgreSQL with pgvector and an embedding model from a provider connected in [AI Services](/docs/ai-services). The rows that show them are set up in [Home Sections](/docs/home-sections).

Recommendations have their own model settings, separate from the text and speech models in [AI Services](/docs/ai-services). Pick the embedding model carefully: Silo locks it after the first successful embedding.
Pick the embedding model carefully: Silo locks it after the first successful embedding, and changing it later deletes every embedding.

## Configure the model

1. Open **Admin > Integrations > Recommendations**.
2. Under **Embedding Configuration**, choose a provider preset or enter **Base URL**, **Model**, and **Auth Token**. Edited fields save when you leave them; wait for the save result.
3. Run the connection check. The endpoint must accept embedding requests; a chat-only endpoint won't work.
4. Turn on **Enable Recommendations**, then restart the server when prompted.
2. Under **Embedding Model**, choose the **Embedding provider**, or choose **Connect a provider...** to add one. A ChatGPT plan doesn't include embedding models.
3. Enter the **Model**, or pick one of the provider's suggestions. The field saves when you leave it; wait for the save result.
4. Choose **Check Connection**. It must report the model's dimensions; a chat-only model won't work.
5. Under **General**, turn on **Enable Recommendations**, then restart the server. Silo applies the recommendation settings only after a restart.

A hosted embedding endpoint receives catalog text from Silo, so review the provider's charges and data policy first. Leave the advanced ranking settings at their defaults until you have results to judge.
A hosted embedding model receives catalog text from Silo, so review the provider's charges and data policy first. Leave the advanced ranking settings at their defaults until you have results to judge.

With **Enable Recommendations** off, no profile gets personal rows. **For You** still shows rows every profile gets, such as **Highly Rated in Your Library** and **Recently Added**. On Home, the **Recommended for You** shelf shows shared picks under their own row name, or is left out when there are none.

## Generate and inspect results

In **Job status**, run **Embeddings** first. After it finishes, run **Taste Profiles**, **Co-Watch Matrix**, and **Recommendations** in that order, checking each for errors.

Open the app with a profile that has some watch history or ratings. A new profile has little history, so its suggestions are less personal.
Open **For You** with a profile that has watched, liked, or favorited a few titles. A new profile sees only rows every profile gets, such as **Popular on This Server** and **Highly Rated in Your Library**, until Silo learns what it likes; in the web app, [Pick what you love](/docs/home-and-calendar#find-your-next-title) gives it a start. Silo then updates a profile's personal rows in the background after it watches or rates something on any device, without waiting for the scheduled jobs. Every row respects the profile's library access and rating limit.

If a job fails, check the embedding endpoint, credentials, and the job's error. Once the **Embedding Lock** appears, don't switch models to get around a temporary outage: stored data from a different model isn't compatible.
If a job fails, check the provider in AI Services, the model, and the job's error.

The **Schedule** section sets when jobs run again. Change it after a manual run works.

## Change the embedding model

The **Embedding Lock** card shows the model Silo is locked to. To move to a different model:

1. Choose an **Embedding provider** that serves the new model, and enter the new **Model**.
2. Restart the server.
3. Choose **Reset embeddings** and confirm. This deletes every embedding and personal recommendation row and clears taste profiles. Personal recommendations and semantic search stay unavailable until the embeddings are rebuilt. If an embedding job is running, Silo refuses the reset until it finishes.
4. Run **Embeddings** again. Taste profiles rebuild as their titles are embedded.

To keep your embeddings, switch only the provider: choose another **Embedding provider** that serves the same model with the same dimensions, choose **Check Connection**, and restart once it passes. If the provider is only down for a while, wait for it to come back rather than resetting.
7 changes: 7 additions & 0 deletions src/content/docs/docs/using-silo/home-and-calendar.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,13 @@ your server sets them up, For You shows only the shared rows. If For You is
empty, the libraries you can see don't have any movies or series yet. You can
still browse libraries and search.

In the web app, a profile with no favorites sees **Pick what you love** the
first time it opens Home. Choose **Done** to open For You, or **Skip** to go
to Home. Until you favorite a title, the **Personalize your home** banner on
Home opens the picker again. After you watch or rate something on any device,
Silo updates your personal rows in the background. Reload For You to see
them, or pull down to refresh it on a phone or tablet.

On Home, the recommendations row leaves out titles that the rows above it
already show. In a small library, those rows can hold every title, so Home
may not show the recommendations row at all. The For You page still lists
Expand Down
Loading