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: src/client/spring_ai/README.md
+44-26Lines changed: 44 additions & 26 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,12 +20,12 @@ Get Started with Java Development](https://docs.oracle.com/en/database/oracle/or
20
20
21
21
Download one of them through the `Download SpringAI` button. Unzip the content and set the executable permission on the `start.sh` with `chmod 755 ./start.sh`.
22
22
23
-
Edit `start.sh` to add only the DB_PASSWORD not exported, as in this example:
23
+
Edit `start.sh` to change the DB_PASSWORD or any other referece/credential changed by the dev env, as in this example:
This project contains a web service that will accept HTTP GET requests at
55
+
This project contains a web service that will accept HTTP requests at
56
56
57
-
*`http://localhost:9090/v1/chat/completions`: to use Vector Search via OpenAI REST API
58
-
*`http://localhost:9090/v1/service/llm` : to chat straight with the LLM used
59
-
*`http://localhost:9090/v1/service/search/`: to search for document similar to the message provided
60
-
*`http://localhost:9090/v1/service/store-chunks/`: to embedd and store a list of text chunks in the vectorstore
57
+
*`http://localhost:9090/v1/chat/completions`: to use RAG via OpenAI REST API [**POST**]
58
+
*`http://localhost:9090/v1/models`: returns models behind the RAG via OpenAI REST API [**GET**]
59
+
*`http://localhost:9090/v1/service/llm` : to chat straight with the LLM used [**GET**]
60
+
*`http://localhost:9090/v1/service/search/`: to search for similar chunk documents to the message provided [**GET**]
61
+
*`http://localhost:9090/v1/service/store-chunks/`: from a list of chunks provided, it generates vector embeddings and store them in the vector store. [**POST**]
61
62
62
63
63
-
Vector Search call example with `openai` build profile with no-stream:
64
+
65
+
66
+
### Completions
67
+
RAG call example with `openai` build profile with no-stream:
Setting the API key is all you need to run the application.
270
284
However, you can find more information on setting started in the [Spring AI reference documentation section on OpenAI Chat](https://docs.spring.io/spring-ai/reference/api/clients/openai-chat.html).
0 commit comments