Skip to content

Commit 9d8603e

Browse files
authored
Merge pull request #197 from johnoliver/add-notice
Add TPN file. Code format
2 parents 86983f7 + 1d828d2 commit 9d8603e

5 files changed

Lines changed: 22 additions & 12 deletions

File tree

pom.xml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22

3-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
45

56
<modelVersion>4.0.0</modelVersion>
67

@@ -435,6 +436,15 @@
435436
<goal>update-project-license</goal>
436437
</goals>
437438
</execution>
439+
<execution>
440+
<id>add-third-party</id>
441+
<goals>
442+
<goal>add-third-party</goal>
443+
</goals>
444+
<configuration>
445+
<includedScopes>compile,runtime</includedScopes>
446+
</configuration>
447+
</execution>
438448
</executions>
439449
</plugin>
440450
<plugin>
@@ -677,7 +687,7 @@
677687
<licenseHeader>
678688
<content>// Copyright (c) Microsoft. All rights reserved.</content>
679689
</licenseHeader>
680-
<toggleOffOn />
690+
<toggleOffOn/>
681691
</java>
682692
</configuration>
683693
</plugin>

samples/semantickernel-concepts/semantickernel-syntax-examples/src/main/java/com/microsoft/semantickernel/samples/syntaxexamples/memory/AzureAISearch_DataStorage.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,8 @@ public static void dataStorageWithAzureAISearch(
127127
var collection = azureAISearchVectorStore.getCollection(
128128
collectionName,
129129
AzureAISearchVectorStoreRecordCollectionOptions.<GitHubFile>builder()
130-
.withRecordClass(GitHubFile.class)
131-
.build());
130+
.withRecordClass(GitHubFile.class)
131+
.build());
132132

133133
// Create collection if it does not exist and store data
134134
collection

samples/semantickernel-concepts/semantickernel-syntax-examples/src/main/java/com/microsoft/semantickernel/samples/syntaxexamples/memory/InMemory_DataStorage.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,9 @@ public static void inMemoryDataStorage(
103103

104104
String collectionName = "skgithubfiles";
105105
var collection = volatileVectorStore.getCollection(collectionName,
106-
VolatileVectorStoreRecordCollectionOptions.<GitHubFile>builder()
107-
.withRecordClass(GitHubFile.class)
108-
.build());
106+
VolatileVectorStoreRecordCollectionOptions.<GitHubFile>builder()
107+
.withRecordClass(GitHubFile.class)
108+
.build());
109109

110110
// Create collection if it does not exist and store data
111111
List<String> ids = collection

samples/semantickernel-concepts/semantickernel-syntax-examples/src/main/java/com/microsoft/semantickernel/samples/syntaxexamples/memory/JDBC_DataStorage.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,8 @@ public static void dataStorageWithMySQL(
134134
String collectionName = "skgithubfiles";
135135
var collection = jdbcVectorStore.getCollection(collectionName,
136136
JDBCVectorStoreRecordCollectionOptions.<GitHubFile>builder()
137-
.withRecordClass(GitHubFile.class)
138-
.build());
137+
.withRecordClass(GitHubFile.class)
138+
.build());
139139

140140
// Create collection if it does not exist and store data
141141
List<String> ids = collection

samples/semantickernel-concepts/semantickernel-syntax-examples/src/main/java/com/microsoft/semantickernel/samples/syntaxexamples/memory/Redis_DataStorage.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,9 @@ public static void dataStorageWithRedis(
122122

123123
String collectionName = "skgithubfiles";
124124
var collection = vectorStore.getCollection(collectionName,
125-
RedisJsonVectorStoreRecordCollectionOptions.<GitHubFile>builder()
126-
.withRecordClass(GitHubFile.class)
127-
.build());
125+
RedisJsonVectorStoreRecordCollectionOptions.<GitHubFile>builder()
126+
.withRecordClass(GitHubFile.class)
127+
.build());
128128

129129
// Create collection if it does not exist and store data
130130
List<String> ids = collection

0 commit comments

Comments
 (0)