Skip to content
Merged
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
9 changes: 7 additions & 2 deletions guides/ai/embeddings.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,13 @@ extend Incidents with {
}
```

> [!tip] Prefer calculated elements for vector embeddings
> If the database calculates vector embeddings on write it automatically regenerates the embedding if the input data changes.
:::tip Calculated elements for vector embeddings
If the database calculates vector embeddings on-write it automatically regenerates the embedding if the input data changes.
:::

::: warning Embedding localized elements
A stored ([on-write](../../cds/cdl#on-write)) calculated element **cannot** reference [localized](../uis/localized-data) elements. Instead, embed the default language and use a **multilingual embedding model** so that queries in other languages still match.
Comment thread
smahati marked this conversation as resolved.
:::


### Using SAP Cloud SDK for AI
Expand Down
Loading