Skip to content

Commit a0fb4fd

Browse files
authored
Added info on larger file uploads in OWUI (#442)
* added info on larger file uploads * Applied review content
1 parent cc33428 commit a0fb4fd

File tree

1 file changed

+47
-5
lines changed

1 file changed

+47
-5
lines changed

tasks/owui-knowledgebase-adding-content.xml

Lines changed: 47 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,52 @@
1818
<meta name="maintainer" content="tbazant@suse.com" its:translate="no"/>
1919
<abstract>
2020
<para>
21-
This topic explains how to add a new content to an existing knowledge
21+
This topic explains how to add new content to an existing knowledge
2222
base.
2323
</para>
2424
</abstract>
2525
</info>
26+
<important>
27+
<title>File upload size limit</title>
28+
<para>
29+
The default configuration allows file uploads up to 1&nbsp;MB. To enable
30+
larger file uploads, follow these steps:
31+
</para>
32+
<procedure>
33+
<step>
34+
<para>
35+
Update &ingress; configuration by creating the
36+
<filename>ingress.yaml</filename> file with the following content.
37+
</para>
38+
<screen>apiVersion: networking.k8s.io/v1
39+
kind: Ingress
40+
metadata:
41+
name: open-webui
42+
namespace: suse-private-ai
43+
annotations:
44+
nginx.ingress.kubernetes.io/proxy-body-size: 100m <co xml:id="ingress-upload-size"/>
45+
nginx.ingress.kubernetes.io/proxy-connect-timeout: "360"
46+
nginx.ingress.kubernetes.io/proxy-read-timeout: "360"
47+
nginx.ingress.kubernetes.io/proxy-send-timeout: "360"
48+
nginx.ingress.kubernetes.io/websocket-services: "open-webui"</screen>
49+
<calloutlist>
50+
<callout arearefs="ingress-upload-size">
51+
<para>
52+
This example sets the upload file size limit to 100&nbsp;MB. Setting this
53+
value to <literal>0</literal> allows unlimited upload size (not
54+
recommended).
55+
</para>
56+
</callout>
57+
</calloutlist>
58+
</step>
59+
<step>
60+
<para>
61+
Apply the changes so that large file uploads are supported.
62+
</para>
63+
<screen>&prompt.user;<command>kubectl apply -f ingress.yaml</command></screen>
64+
</step>
65+
</procedure>
66+
</important>
2667
<procedure>
2768
<itemizedlist>
2869
<title>Requirements</title>
@@ -91,7 +132,7 @@
91132
You can add a text snippet written in a Markdown format to the
92133
collection directly.
93134
</para>
94-
<figure>
135+
<figure xml:id="owui-knowledgebase-addtext">
95136
<title>Adding a text entry into &owui; collection</title>
96137
<mediaobject>
97138
<imageobject role="fo">
@@ -106,11 +147,12 @@
106147
</figure>
107148
<warning>
108149
<para>
109-
If you experience the error saying, <quote>Extracted content is
150+
If you experience the error saying <quote>Extracted content is
110151
not available for this file. Please ensure that the file is
111152
processed before proceeding,</quote> during the upload process,
112153
you need to enable installing NLTK datasets in the &owui; &helm;
113-
chart. Refer to <link
154+
chart. Refer to
155+
<link
114156
xlink:href="&dsc;/suse-ai/1.0/html/AI-deployment-intro/index.html#owui-helm-overrides"/>
115157
for details.
116158
</para>
@@ -132,7 +174,7 @@
132174
After a resource is added, you can view and edit its extracted textual
133175
information by clicking its name.
134176
</para>
135-
<figure>
177+
<figure xml:id="owui-knowledgebase-viewtext">
136178
<title>Viewing an extracted resource</title>
137179
<mediaobject>
138180
<imageobject role="fo">

0 commit comments

Comments
 (0)