Skip to content

Commit

Permalink
Merge pull request #53 from oracle-samples/spring-ai-fix
Browse files Browse the repository at this point in the history
Spring-ai export fix
  • Loading branch information
corradodebari authored Dec 5, 2024
2 parents 05565bc + 94e94fc commit c6911aa
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions spring_ai/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ ollama:
models:
- llama3.1
- mxbai-embed-large
- nomic-embed-text
nodeSelector:
node.kubernetes.io/instance-type: VM.GPU.A10.1
```
Expand All @@ -138,9 +139,10 @@ kubectl -n ollama exec svc/ollama -- ollama ls
```
it should be:
```
NAME ID SIZE MODIFIED
llama3.1:latest 42182419e950 4.7 GB About a minute ago
mxbai-embed-large:latest 468836162de7 669 MB About a minute ago
NAME ID SIZE MODIFIED
nomic-embed-text:latest 0a109f422b47 274 MB 3 minutes ago
mxbai-embed-large:latest 468836162de7 669 MB 3 minutes ago
llama3.1:latest a80c4f17acd5 2.0 GB 3 minutes ago
```
* test a single LLM:
```
Expand Down
1 change: 1 addition & 0 deletions spring_ai/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@
<dependency>
<groupId>org.springframework.ai</groupId>
<artifactId>spring-ai-oracle-store-spring-boot-starter</artifactId>
<version>1.0.0-SNAPSHOT</version>
</dependency>
<!--<dependency>
<groupId>org.springframework.ai</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
import org.springframework.ai.reader.pdf.config.PdfDocumentReaderConfig;
import org.springframework.ai.transformer.splitter.TokenTextSplitter;
import org.springframework.ai.vectorstore.SearchRequest;
import org.springframework.ai.vectorstore.SimpleVectorStore.Similarity;
import org.springframework.ai.vectorstore.VectorStore;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
Expand Down

0 comments on commit c6911aa

Please sign in to comment.