You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can configure the data sources by changing `$sources` in `app.yaml`.
109
108
You can add as many data sources as you want. You can have several sources of the same kind, for instance, several local sources from different folders.
110
-
The sections below describe how to configure local, Google Drive and Sharepoint source, but you can use any input [connector](https://pathway.com/developers/user-guide/connecting-to-data/connectors) from Pathway package.
109
+
The sections below describe how to configure local, Google Drive and Sharepoint source, and you can check the examples of YAML configuration in our [user guide](https://pathway.com/developers/templates/yaml-snippets/data-sources-examples/). While these are not described in this Section, you can also use any input [connector](https://pathway.com/developers/user-guide/connecting-to-data/connectors) from Pathway package.
111
110
112
111
By default, the app uses a local data source to read documents from the `data` folder.
Copy file name to clipboardExpand all lines: templates/document_indexing/README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,7 +40,7 @@ Finally, the embeddings are indexed with the capabilities of Pathway's machine-l
40
40
## Pipeline Organization
41
41
42
42
This folder contains several objects:
43
-
-`main.py`, the pipeline code using Pathway and written in Python;
43
+
-`app.py`, the pipeline code using Pathway and written in Python;
44
44
-`app.yaml`, the file containing configuration of the pipeline, like embedding model, sources, or the server address;
45
45
-`requirements.txt`, the textfile denoting the pip dependencies for running this pipeline. It can be passed to `pip install -r ...` to install everything that is needed to launch the pipeline locally;
46
46
-`Dockerfile`, the Docker configuration for running the pipeline in the container;
You can configure the data sources by changing `$sources` in `app.yaml`.
98
98
You can add as many data sources as you want. You can have several sources of the same kind, for instance, several local sources from different folders.
99
-
The sections below describe how to configure local, Google Drive and Sharepoint source, but you can use any input [connector](https://pathway.com/developers/user-guide/connecting-to-data/connectors) from Pathway package.
99
+
The sections below describe how to configure local, Google Drive and Sharepoint source, and you can check the examples of YAML configuration in our [user guide](https://pathway.com/developers/templates/yaml-snippets/data-sources-examples/). While these are not described in this Section, you can also use any input [connector](https://pathway.com/developers/user-guide/connecting-to-data/connectors) from Pathway package.
100
100
101
-
By default, the app uses a local data source to read documents from the `data` folder.
101
+
By default, the app uses a local data source to read documents from the `files-from-indexing` folder.
Copy file name to clipboardExpand all lines: templates/multimodal_rag/README.md
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -89,24 +89,24 @@ Here some examples of what can be modified.
89
89
90
90
### LLM Model
91
91
92
-
This template by default uses two llm models - GPT-3.5 Turbo for answering queries and GPT-4o for parsing tables and images.
92
+
This template by default uses two llm models - GPT-4.1-mini for answering queries and GPT-4o for parsing tables and images.
93
93
94
-
You can replace GPT-3.5 Turbo with other Open AI models, like GPT-4, or GPT-4 Turbo.
95
-
You can find the whole list on their [models page](https://platform.openai.com/docs/models/gpt-4-and-gpt-4-turbo).
94
+
You can replace either of them with other Open AI models, like GPT-4.1 or GPT-5, but keep in mind that the model used for parsing needs to support image input.
95
+
You can find the whole list on their [models page](https://platform.openai.com/docs/models).
96
96
97
-
You simply need to change the `model` to the one you want to use:
97
+
To change the model of the answering llm, you simply need to change the `model`in the `$llm` variable to the one you want to use, e.g. to use `GPT-5` set:
You can configure the data sources by changing `$sources` in `app.yaml`.
146
146
You can add as many data sources as you want. You can have several sources of the same kind, for instance, several local sources from different folders.
147
-
The sections below describe how to configure local, Google Drive and Sharepoint source, but you can use any input [connector](https://pathway.com/developers/user-guide/connecting-to-data/connectors) from Pathway package.
147
+
The sections below describe how to configure local, Google Drive and Sharepoint source, and you can check the examples of YAML configuration in our [user guide](https://pathway.com/developers/templates/yaml-snippets/data-sources-examples/). While these are not described in this Section, you can also use any input [connector](https://pathway.com/developers/user-guide/connecting-to-data/connectors) from Pathway package.
148
148
149
149
By default, the app uses a local data source to read documents from the `data` folder.
0 commit comments