Skip to content

Commit 94e94fc

Browse files
committed
Spring-ai export fix
1 parent 05565bc commit 94e94fc

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

spring_ai/README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ ollama:
123123
models:
124124
- llama3.1
125125
- mxbai-embed-large
126+
- nomic-embed-text
126127
nodeSelector:
127128
node.kubernetes.io/instance-type: VM.GPU.A10.1
128129
```
@@ -138,9 +139,10 @@ kubectl -n ollama exec svc/ollama -- ollama ls
138139
```
139140
it should be:
140141
```
141-
NAME ID SIZE MODIFIED
142-
llama3.1:latest 42182419e950 4.7 GB About a minute ago
143-
mxbai-embed-large:latest 468836162de7 669 MB About a minute ago
142+
NAME ID SIZE MODIFIED
143+
nomic-embed-text:latest 0a109f422b47 274 MB 3 minutes ago
144+
mxbai-embed-large:latest 468836162de7 669 MB 3 minutes ago
145+
llama3.1:latest a80c4f17acd5 2.0 GB 3 minutes ago
144146
```
145147
* test a single LLM:
146148
```

spring_ai/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@
7575
<dependency>
7676
<groupId>org.springframework.ai</groupId>
7777
<artifactId>spring-ai-oracle-store-spring-boot-starter</artifactId>
78+
<version>1.0.0-SNAPSHOT</version>
7879
</dependency>
7980
<!--<dependency>
8081
<groupId>org.springframework.ai</groupId>

spring_ai/src/main/java/org/springframework/ai/openai/samples/helloworld/AIController.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
import org.springframework.ai.reader.pdf.config.PdfDocumentReaderConfig;
1212
import org.springframework.ai.transformer.splitter.TokenTextSplitter;
1313
import org.springframework.ai.vectorstore.SearchRequest;
14-
import org.springframework.ai.vectorstore.SimpleVectorStore.Similarity;
1514
import org.springframework.ai.vectorstore.VectorStore;
1615
import org.springframework.beans.factory.annotation.Autowired;
1716
import org.springframework.beans.factory.annotation.Qualifier;

0 commit comments

Comments
 (0)