File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed
backend/src/main/resources Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -14,8 +14,8 @@ spring.liquibase.change-log=classpath:/dbchangelog/db.changelog-master-ollama.xm
1414# spring.ai.ollama.chat.model=qwen2.5:32b
1515spring.ai.ollama.chat.model =llama3.1:8b
1616spring.ai.ollama.chat.options.num-ctx =12288
17- # spring.ai.embedding.transformer.onnx.modelUri=https://huggingface.co/mixedbread-ai/mxbai-embed-large-v1/tree /main/onnx/model_quantized.onnx
18- # spring.ai.embedding.transformer.tokenizer.uri=https://huggingface.co/mixedbread-ai/mxbai-embed-large-v1/tree /main/tokenizer.json
17+ spring.ai.embedding.transformer.onnx.modelUri =https://huggingface.co/mixedbread-ai/mxbai-embed-large-v1/resolve /main/onnx/model_quantized.onnx
18+ spring.ai.embedding.transformer.tokenizer.uri =https://huggingface.co/mixedbread-ai/mxbai-embed-large-v1/resolve /main/tokenizer.json
1919
2020# function calling
2121# spring.ai.ollama.chat.model=llama3.1:8b
Original file line number Diff line number Diff line change 1414 <changeSet id =" 8" author =" angular2guy" >
1515 <modifyDataType tableName =" vector_store" columnName =" embedding" newDataType =" vector(384)" />
1616 </changeSet >
17+ <changeSet id =" 8.1" author =" angular2guy" >
18+ <modifyDataType tableName =" vector_store" columnName =" embedding" newDataType =" vector(1024)" />
19+ </changeSet >
1720</databaseChangeLog >
Original file line number Diff line number Diff line change 22docker pull ankane/pgvector:latest
33docker run --name aidoclibchat-postgres -e POSTGRES_PASSWORD=sven1 -e POSTGRES_USER=sven1 -e POSTGRES_DB=aidoclibchat -p 5432:5432 -d ankane/pgvector
44docker run --name aidoclibchat-postgres-ollama -e POSTGRES_PASSWORD=sven1 -e POSTGRES_USER=sven1 -e POSTGRES_DB=aidoclibchat -p 5432:5432 -d ankane/pgvector
5+ docker run --name aidoclibchat-postgres-ollama2 -e POSTGRES_PASSWORD=sven1 -e POSTGRES_USER=sven1 -e POSTGRES_DB=aidoclibchat -p 5432:5432 -d ankane/pgvector
56# docker start aidoclibchat-postgres
67# docker stop aidoclibchat-postgres
78# docker start aidoclibchat-postgres-ollama
8- # docker stop aidoclibchat-postgres-ollama
9+ # docker stop aidoclibchat-postgres-ollama
10+ # docker start aidoclibchat-postgres-ollama2
11+ # docker stop aidoclibchat-postgres-ollama2
You can’t perform that action at this time.
0 commit comments