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
Copy file name to clipboardExpand all lines: docs/content/advanced/springai.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ weight = 10
6
6
After having downloaded and unzipped the SpringAI file from the [Settings](../client/configuration/settings) screen, you can open and set the latest two things in the code to be executed. For the detailed description, please refer to the **README.md** file included
7
7
8
8
### Prerequisites
9
-
Before using a microservice that exploit OpenAI API, make sure you have a developer token from OpenAI. To do this, create an account at [OpenAI Signup](https://platform.openai.com/signup) and generate the token at [API Keys](https://platform.openai.com/account/api-keys).
9
+
Before using a microservice that exploit OpenAI API, make sure you have a developer token from OpenAI. To do this, create an account at [OpenAI](https://platform.openai.com/signup) and generate the token at [API Keys](https://platform.openai.com/account/api-keys).
10
10
11
11
12
12
The Spring AI project defines a configuration property named: `spring.ai.openai.api-key`, that you should set to the value of the **API Key** got from `openai.com`.
@@ -29,7 +29,7 @@ You have simply to:
29
29
chmod 755 ./start.sh
30
30
```
31
31
32
-
* add the password for the user used to connect from the {{ .Site.Params.LongName | markdownify }} to the Oracle DB23ai used as vectorstore:
32
+
* add the password for the user used to connect from the {{< short_app_ref >}} to the Oracle DB23ai used as vectorstore:
kubectl -n ollama exec svc/ollama -- ollama run "llama3.1" "what is spring boot?"
197
197
```
198
198
199
-
**NOTICE**: The Microservices will access to the ADB23ai on which the vector store table should be created, as done in the local desktop example shown before. To access the {{ .Site.Params.LongName | markdownify }} running on **Oracle Backend for Microservices and AI** and create the same configuration, let’s do:
199
+
**NOTICE**: The Microservices will access to the ADB23ai on which the vector store table should be created, as done in the local desktop example shown before. To access the {{< short_app_ref >}} running on **Oracle Backend for Microservices and AI** and create the same configuration, let’s do:
The `bind` will create the new user, if not exists, but to have the `SPRING_AI_VECTORS` table compatible with SpringAI Oracle vector store adapter, the microservices needs to access to the vector store table created by the {{ .Site.Params.LongName | markdownify }} with user ADMIN on ADB, for example:
224
+
The `bind` will create the new user, if not exists, but to have the `SPRING_AI_VECTORS` table compatible with SpringAI Oracle vector store adapter, the microservices needs to access to the vector store table created by the {{< short_app_ref >}} with user ADMIN on ADB, for example:
225
225
226
226
```sql
227
227
GRANT SELECT ON ADMIN.MXBAI_EMBED_LARGE_512_103_COSINE TO vector;
0 commit comments