diff --git a/.github/workflows/embeddingstore-neo4j-springai.yml b/.github/workflows/embeddingstore-neo4j-springai.yml new file mode 100644 index 0000000..ff5682b --- /dev/null +++ b/.github/workflows/embeddingstore-neo4j-springai.yml @@ -0,0 +1,39 @@ +name: neo4j-springai CI Build + +on: + push: + paths: + - "embeddingstores/neo4j-springai/**" + branches: [main] + pull_request: + paths: + - "embeddingstores/neo4j-springai/**" + types: + - opened + - synchronize + - reopened + +jobs: + build: + name: Run Unit & Integration Tests + runs-on: ubuntu-latest + defaults: + run: + working-directory: embeddingstores/neo4j-springai + strategy: + matrix: + distribution: [ 'temurin' ] + java: [ '21' ] + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis + + - name: Set up JDK ${{ matrix.java }} + uses: actions/setup-java@v4.2.1 + with: + java-version: ${{ matrix.java }} + distribution: ${{ matrix.distribution }} + cache: 'maven' + - name: Build and analyze + run: ./mvnw clean verify \ No newline at end of file diff --git a/embeddingstores/neo4j-springai/src/main/java/com/learning/ai/model/request/AIChatRequest.java b/embeddingstores/neo4j-springai/src/main/java/com/learning/ai/model/request/AIChatRequest.java new file mode 100644 index 0000000..440d9bc --- /dev/null +++ b/embeddingstores/neo4j-springai/src/main/java/com/learning/ai/model/request/AIChatRequest.java @@ -0,0 +1,3 @@ +package com.learning.ai.model.request; + +public record AIChatRequest(String query) {}