GithubHelp home page GithubHelp logo

tudor44 / spring-ai-with-local-llama3 Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 2.0 87 KB

This demo demonstrates the integration of a local LLama3 model for handling JSON responses within the Spring AI framework, positioning the model as a 'business logic' executor

Java 100.00%
ai generative-ai java llama3 llm local-llm rag spring-ai

spring-ai-with-local-llama3's Introduction

Spring AI with local LLAMA3

Overview

This demo demonstrates the integration of a local LLama3 model for handling JSON responses within the Spring AI framework, positioning the model as a 'business logic' executor. This provides a starting point specifically tailored for simple artificial intelligence workflows, using Java and Spring AI.

Prerequisites

  • Java 17/21
  • Maven 3.3+ for building and managing the project

Technologies

  • Spring Boot: Simplifies the bootstrapping and development of new Spring Framework applications.
  • Spring AI: Provides AI capabilities integrated seamlessly with Spring applications. In this project, we use local LLM spring-ai-ollama-spring-boot-starter for integrating the LLama3 llm.
  • Ollama: a tool to run Large Language Models locally for manage safe private data.

Getting Started

  1. Install and run LLama3 with Ollama:
    ollama run llama3 
    
  2. Clone the Repository:
    git clone https://your-repository-url-here
    cd search-book-with-llm
    
  3. Build the Application:
    mvn clean install
    
  4. Run the Application:
    mvn spring-boot:run

spring-ai-with-local-llama3's People

Contributors

danvega avatar tudor44 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.