|
18 | 18 | <meta name="maintainer" content="tbazant@suse.com" its:translate="no"/>
|
19 | 19 | <abstract>
|
20 | 20 | <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 |
22 | 22 | base.
|
23 | 23 | </para>
|
24 | 24 | </abstract>
|
25 | 25 | </info>
|
| 26 | + <important> |
| 27 | + <title>File upload size limit</title> |
| 28 | + <para> |
| 29 | + The default configuration allows file uploads up to 1 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 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> |
26 | 67 | <procedure>
|
27 | 68 | <itemizedlist>
|
28 | 69 | <title>Requirements</title>
|
|
91 | 132 | You can add a text snippet written in a Markdown format to the
|
92 | 133 | collection directly.
|
93 | 134 | </para>
|
94 |
| - <figure> |
| 135 | + <figure xml:id="owui-knowledgebase-addtext"> |
95 | 136 | <title>Adding a text entry into &owui; collection</title>
|
96 | 137 | <mediaobject>
|
97 | 138 | <imageobject role="fo">
|
|
106 | 147 | </figure>
|
107 | 148 | <warning>
|
108 | 149 | <para>
|
109 |
| - If you experience the error saying, <quote>Extracted content is |
| 150 | + If you experience the error saying <quote>Extracted content is |
110 | 151 | not available for this file. Please ensure that the file is
|
111 | 152 | processed before proceeding,</quote> during the upload process,
|
112 | 153 | you need to enable installing NLTK datasets in the &owui; &helm;
|
113 |
| - chart. Refer to <link |
| 154 | + chart. Refer to |
| 155 | + <link |
114 | 156 | xlink:href="&dsc;/suse-ai/1.0/html/AI-deployment-intro/index.html#owui-helm-overrides"/>
|
115 | 157 | for details.
|
116 | 158 | </para>
|
|
132 | 174 | After a resource is added, you can view and edit its extracted textual
|
133 | 175 | information by clicking its name.
|
134 | 176 | </para>
|
135 |
| - <figure> |
| 177 | + <figure xml:id="owui-knowledgebase-viewtext"> |
136 | 178 | <title>Viewing an extracted resource</title>
|
137 | 179 | <mediaobject>
|
138 | 180 | <imageobject role="fo">
|
|
0 commit comments