Skip to content

Commit 880b13c

Browse files
authored
Update templating to shortcode (#188)
1 parent 1be69c0 commit 880b13c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/content/advanced/springai.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ weight = 10
66
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
77

88
### 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).
1010

1111

1212
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:
2929
chmod 755 ./start.sh
3030
```
3131

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:
3333

3434
```bash
3535
export DB_PASSWORD=""
@@ -196,7 +196,7 @@ llama3.1:latest a80c4f17acd5 2.0 GB 3 minutes ago
196196
kubectl -n ollama exec svc/ollama -- ollama run "llama3.1" "what is spring boot?"
197197
```
198198

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:
200200

201201
* tunnel:
202202

@@ -221,7 +221,7 @@ oractl:> create --app-name rag
221221
oractl:> bind --app-name rag --service-name myspringai --username vector
222222
```
223223

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 {{ .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:
225225

226226
```sql
227227
GRANT SELECT ON ADMIN.MXBAI_EMBED_LARGE_512_103_COSINE TO vector;

0 commit comments

Comments
 (0)