Skip to content

Commit 009adc0

Browse files
committed
docs: add DeepSeek RAG integration illustrations
1 parent 9f271a9 commit 009adc0

5 files changed

Lines changed: 8 additions & 0 deletions

File tree

227 KB
Loading
226 KB
Loading
227 KB
Loading

docs/weaviate/model-providers/deepseek/generative.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ Weaviate's integration with DeepSeek's API allows you to access their generative
1818

1919
More specifically, Weaviate will perform a search, retrieve the most relevant objects, and then pass them to the DeepSeek generative model to generate outputs.
2020

21+
![RAG integration illustration](../_includes/integration_deepseek_rag.png)
22+
2123
:::info Code examples are Python-only for now
2224
Examples for the other client languages will follow.
2325
:::
@@ -132,6 +134,8 @@ After configuring the generative AI integration, perform RAG operations, either
132134

133135
### Single prompt
134136

137+
![Single prompt RAG integration generates individual outputs per search result](../_includes/integration_deepseek_rag_single.png)
138+
135139
To generate text for each object in the search results, use the single prompt method.
136140

137141
The example below generates outputs for each of the `n` search results, where `n` is specified by the `limit` parameter.
@@ -147,6 +151,8 @@ When creating a single prompt query, use braces `{}` to interpolate the object p
147151

148152
### Grouped task
149153

154+
![Grouped task RAG integration generates one output for the set of search results](../_includes/integration_deepseek_rag_grouped.png)
155+
150156
To generate one text for the entire set of search results, use the grouped task method.
151157

152158
In other words, when you have `n` search results, the generative model generates one output for the entire group.

docs/weaviate/model-providers/deepseek/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ This integration empowers developers to build sophisticated AI-driven applicatio
1616

1717
### Generative AI models for RAG
1818

19+
![Single prompt RAG integration generates individual outputs per search result](../_includes/integration_deepseek_rag_single.png)
20+
1921
DeepSeek's generative AI models can generate human-like text based on given prompts and contexts.
2022

2123
[Weaviate's generative AI integration](./generative.md) enables users to perform retrieval augmented generation (RAG) directly from the Weaviate Database. This combines Weaviate's efficient storage and fast retrieval capabilities with DeepSeek's generative AI models to generate personalized and context-aware responses.

0 commit comments

Comments
 (0)