Skip to content

Commit 4734b33

Browse files
committed
docs: fixes
1 parent 4e8aa61 commit 4734b33

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

docs/sections/01-intro.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Retrieval-Augmented generation (RAG) is a powerful technique that combines the s
3535

3636
At its core, RAG involves two main components:
3737

38-
- **Retriever**: Think "_like a search engine_", finding relevant information from a database. The retriever usually searches in a vector database. It could also - for some use cases - search on application dabases, APIs and other sources of information. In this workshop, we will implement this logic in the _Chat API_.
38+
- **Retriever**: Think "_like a search engine_", finding relevant information from a database. The retriever usually searches in a vector database. It could also - for some use cases - search on application databases, APIs and other sources of information. In this workshop, we will implement this logic in the _Chat API_.
3939

4040
- **Generator**: Acts like a writer, taking the prompt and information retrieved to craft a response. In this workshop, OpenAI `gpt-3.5-turbo` will be our generator.
4141

docs/sections/ai-search/06-chat-api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ Let's process the search results to extract the documents' content:
158158

159159
```ts
160160
const results: string[] = [];
161-
for await (const document of documents) {
161+
for (const document of documents) {
162162
const source = document.metadata.source;
163163
const content = document.pageContent.replaceAll(/[\n\r]+/g, ' ');
164164
results.push(`${source}: ${content}`);

docs/sections/qdrant/06-chat-api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ Let's process the search results to extract the documents' content:
171171

172172
```ts
173173
const results: string[] = [];
174-
for await (const document of documents) {
174+
for (const document of documents) {
175175
const source = document.metadata.source;
176176
const content = document.pageContent.replaceAll(/[\n\r]+/g, ' ');
177177
results.push(`${source}: ${content}`);

docs/workshop.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -812,7 +812,7 @@ Let's process the search results to extract the documents' content:
812812

813813
```ts
814814
const results: string[] = [];
815-
for await (const document of documents) {
815+
for (const document of documents) {
816816
const source = document.metadata.source;
817817
const content = document.pageContent.replaceAll(/[\n\r]+/g, ' ');
818818
results.push(`${source}: ${content}`);

0 commit comments

Comments
 (0)