Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spring-ai export fix #53

Merged
merged 1 commit into from
Dec 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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