diff --git a/.vscode/launch.json b/.vscode/launch.json index 25c2003..872956e 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -29,6 +29,26 @@ "projectName": "pgvector-langchain4j", "args": "--spring.profiles.active=local", "envFile": "${workspaceFolder}/.env" + }, + { + "type": "java", + "name": "Spring Boot-Application", + "request": "launch", + "cwd": "${workspaceFolder}", + "mainClass": "com.example.ai.Application", + "projectName": "chatmodel-springai", + "args": "", + "envFile": "${workspaceFolder}/.env" + }, + { + "type": "java", + "name": "Spring Boot-Neo4jVectorEmbeddingStoreExample", + "request": "launch", + "cwd": "${workspaceFolder}", + "mainClass": "com.learning.ai.Neo4jVectorEmbeddingStoreExample", + "projectName": "neo4j-springai", + "args": "--spring.profiles.active=local", + "envFile": "${workspaceFolder}/.env" } ] } \ No newline at end of file diff --git a/embeddingstores/neo4j-springai/src/main/resources/application-local.properties b/embeddingstores/neo4j-springai/src/main/resources/application-local.properties new file mode 100644 index 0000000..6598972 --- /dev/null +++ b/embeddingstores/neo4j-springai/src/main/resources/application-local.properties @@ -0,0 +1,4 @@ +spring.neo4j.uri=bolt://localhost:7687 +spring.data.neo4j.database=neo4j +spring.neo4j.authentication.username=neo4j +spring.neo4j.authentication.password=password diff --git a/embeddingstores/neo4j-springai/src/main/resources/application.properties b/embeddingstores/neo4j-springai/src/main/resources/application.properties index e4900ff..9b8f646 100644 --- a/embeddingstores/neo4j-springai/src/main/resources/application.properties +++ b/embeddingstores/neo4j-springai/src/main/resources/application.properties @@ -1,3 +1,5 @@ +spring.application.name=neo4j-springai + spring.ai.openai.api-key=demo spring.ai.openai.base-url=http://langchain4j.dev/demo/openai spring.ai.openai.image.enabled=false diff --git a/embeddingstores/opensearch-langchain4j/pom.xml b/embeddingstores/opensearch-langchain4j/pom.xml index 433c355..b20826f 100644 --- a/embeddingstores/opensearch-langchain4j/pom.xml +++ b/embeddingstores/opensearch-langchain4j/pom.xml @@ -12,7 +12,7 @@ org.example.ai - ai-opensearch-langchain4j + opensearch-langchain4j 1.0.0-SNAPSHOT diff --git a/embeddingstores/pgvector-springai/src/main/resources/application.properties b/embeddingstores/pgvector-springai/src/main/resources/application.properties index 326b521..5aca066 100644 --- a/embeddingstores/pgvector-springai/src/main/resources/application.properties +++ b/embeddingstores/pgvector-springai/src/main/resources/application.properties @@ -1,3 +1,5 @@ +spring.application.name=pgvector-springai + spring.ai.openai.api-key=demo spring.ai.openai.base-url=http://langchain4j.dev/demo/openai spring.ai.openai.image.enabled=false diff --git a/playground-langchain4j/pom.xml b/playground-langchain4j/pom.xml index 8358df8..2e0425e 100644 --- a/playground-langchain4j/pom.xml +++ b/playground-langchain4j/pom.xml @@ -4,8 +4,8 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - org.example - playground + org.example.ai + playground-langchain4j 1.0-SNAPSHOT