Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
johnoliver committed Jul 24, 2024
1 parent 6d8f8a7 commit 765cfde
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,12 +115,13 @@ public static void dataStorageWithAzureAISearch(

// Create a new Azure AI Search vector store
var azureAISearchVectorStore = AzureAISearchVectorStore.builder()
.withClient(searchClient)
.withOptions(new AzureAISearchVectorStoreOptions())
.build();
.withClient(searchClient)
.withOptions(new AzureAISearchVectorStoreOptions())
.build();

String collectionName = "skgithubfiles";
var collection = azureAISearchVectorStore.getCollection(collectionName, GitHubFile.class, null);
var collection = azureAISearchVectorStore.getCollection(collectionName, GitHubFile.class,
null);

// Create collection if it does not exist and store data
collection
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ public GitHubFile(
public String getId() {
return id;
}

public String getDescription() {
return description;
}
Expand Down

0 comments on commit 765cfde

Please sign in to comment.