Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ If the sample has a README file, follow the instructions. A lot of samples have
Included sample folders
-----------------------

* **/ai** - Code samples for use of different Hazelcast features in AI use cases.
* **/clients** — Includes sample code that shows how to create a Hazelcast client, put a message on a queue by this client and receive that message by a Hazelcast node. Further how to set up client's near cache, deploy user code to member, communicate via REST or populate client statistics to member.
* **/cluster** — cluster state managements and shutdown
* **/cluster-split-brain-protection** — setting up cluster split brain protection programatically
Expand Down
4 changes: 4 additions & 0 deletions ai/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# AI Code Samples

This module includes code samples for demonstrating the usage of various
Hazelcast features in AI use cases.
3 changes: 3 additions & 0 deletions ai/movie-recommendation/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Movie recommendation

This module contains different flavors of recommendation engine using Hazelcast features and similarity search.
46 changes: 46 additions & 0 deletions ai/movie-recommendation/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright (c) 2008-2024, Hazelcast, Inc. All Rights Reserved.
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->

<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">
<modelVersion>4.0.0</modelVersion>

<artifactId>movie-recommendation</artifactId>
<name>AI: Movie recommendations</name>
<description>Movie recommendations using similarity search</description>

<parent>
<groupId>com.hazelcast.samples.ai</groupId>
<artifactId>ai</artifactId>
<version>0.1-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

<dependencies>
<dependency>
<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j-embeddings-all-minilm-l6-v2</artifactId>
<version>0.35.0</version>
</dependency>
</dependencies>

<properties>
<!-- needed for checkstyle/findbugs -->
<main.basedir>${project.parent.parent.basedir}</main.basedir>
</properties>
</project>
Loading