Aggiunta della classe VectorSearchRequest e implementazione del controller SearchDocController per la ricerca vettoriale. Aggiornamento della configurazione di sicurezza e delle dipendenze nel pom.xml. Modifiche al file application.yml per la configurazione del servizio Azure.

This commit is contained in:
andrea.terzani
2024-11-26 11:59:29 +01:00
parent 88c59bfbef
commit 2bb0108bbc
8 changed files with 165 additions and 41 deletions

View File

@@ -12,8 +12,8 @@ spring:
ai:
azure:
openai:
endpoint: "https://ai-olympus.openai.azure.com/"
api-key: "9fxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
endpoint: "https://ai-olympus-new.openai.azure.com/"
api-key: "4eHwvw6h7vHxTmI2870cR3EpEBs5L9sXZabr9nz37y39TXtk0xY5JQQJ99AKAC5RqLJXJ3w3AAABACOGLdow"
openai:
api-key: "sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
vectorstore:
@@ -21,16 +21,25 @@ spring:
api-key: "jxKxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
url: "https://search-olympus.search.windows.net"
initialize-schema: true
chroma:
client:
host: "http://108.142.74.161"
port: "8000"
key-token: "nVYLh3eq92aJP4x08dNdWngilPG2ooj9"
initialize-schema: "true"
collection-name: "olympus"
data:
mongodb:
uri:
database:
username:
password:
uri: mongodb+srv://olympusadmin:Camilla123!@db-olympus.global.mongocluster.cosmos.azure.com/?tls=true&authMechanism=SCRAM-SHA-256&retrywrites=false&maxIdleTimeMS=120000
database: olympus
username: olympusadmin
password: Camilla123!
servlet:
multipart:
max-file-size: 5000000MB
max-request-size: 500000MB
main:
allow-circular-references: true
gitlab:
path: /mnt/apollo_storage/repository #C:\\repos\\olympus_ai\\gitClone
@@ -50,4 +59,7 @@ logging:
level:
root: INFO
#feign: DEBUG
#org.springframework.web.client: DEBUG
#org.springframework.web.client: DEBUG
java-re-module:
url: "http://localhost:8084"