Additional link/content cleanup

This commit is contained in:
Mark Heckler
2024-02-07 18:45:32 -06:00
committed by Christian Tzolov
parent 214858bec5
commit d8b6a276ff
2 changed files with 2 additions and 4 deletions

View File

@@ -53,8 +53,6 @@ public interface StreamingChatClient extends StreamingModelClient<Prompt, ChatRe
The `stream` method takes a `Prompt` request similar to `ChatClient` but it streams the responses using the reactive Flux API.
In real-world applications, it is more common to use the `generate` method that takes a `Prompt` instance and returns an `AiResponse`.
=== Prompt
The https://github.com/spring-projects/spring-ai/blob/main/spring-ai-core/src/main/java/org/springframework/ai/chat/prompt/Prompt.java[Prompt] is a `ModelRequest` that encapsulates a list of https://github.com/spring-projects/spring-ai/blob/main/spring-ai-core/src/main/java/org/springframework/ai/chat/messages/Message.java[Message] objects and optional model request options.

View File

@@ -22,9 +22,9 @@ d. link:https://neo4j.com/deployment-center/[Neo4j Server] instance
== Configuration
To connect to Neo4j and use the `Neo4jVectorStore`, you need to provide (e.g. via `application.properties`, environment variables, etc.) configurations for your instance.
To connect to Neo4j and use the `Neo4jVectorStore`, you need to provide (e.g. via environment variables) access details for your instance.
Additionally, you'll need to provide your OpenAI API Key. Set it as an environment variable like so:
Additionally, you will need to provide your OpenAI API Key. Set it as an environment variable like sos:
[source,bash]
----