{"id":17000830,"url":"https://github.com/rajadilipkolli/ai-playground","last_synced_at":"2025-03-22T15:31:18.842Z","repository":{"id":222071681,"uuid":"756178041","full_name":"rajadilipkolli/ai-playground","owner":"rajadilipkolli","description":"AI implementation using langchain4j and springAI frameworks with Java","archived":false,"fork":false,"pushed_at":"2024-10-14T22:34:23.000Z","size":966,"stargazers_count":8,"open_issues_count":4,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-15T04:13:02.766Z","etag":null,"topics":["embedding-vectors","lamma","langchain4j","pgvector","spring-ai","spring-ai-ollama","spring-ai-openai","spring-boot-3","testcontainers"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rajadilipkolli.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-02-12T05:58:32.000Z","updated_at":"2024-10-14T22:34:10.000Z","dependencies_parsed_at":"2024-04-09T07:24:19.816Z","dependency_job_id":"d2937567-15f4-44ba-b427-d01fee1c65f2","html_url":"https://github.com/rajadilipkolli/ai-playground","commit_stats":null,"previous_names":["rajadilipkolli/ai-playground"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rajadilipkolli%2Fai-playground","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rajadilipkolli%2Fai-playground/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rajadilipkolli%2Fai-playground/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rajadilipkolli%2Fai-playground/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rajadilipkolli","download_url":"https://codeload.github.com/rajadilipkolli/ai-playground/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244978609,"owners_count":20541887,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["embedding-vectors","lamma","langchain4j","pgvector","spring-ai","spring-ai-ollama","spring-ai-openai","spring-boot-3","testcontainers"],"created_at":"2024-10-14T04:13:08.805Z","updated_at":"2025-03-22T15:31:16.546Z","avatar_url":"https://github.com/rajadilipkolli.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/rajadilipkolli/ai-playground)\n\n# ai-playground\n\nAI implementations using java, stores and either of Langchain4j or springai framework\n\n## AI Verbiage\n- LLM - Large Language Model\n- Embedding Store - database equivalent to store vector embeddings\n- Embeddings - Document converted to vector\n- Document - information that is required for AI to process\n\n## Pre-requisite\n- Java 17+\n- Docker Engine\n\n## Implementations\n\nBelow is the summary of implementations in this repository\n\n| Category                            | **_Module_**                                                                                      | **_Description_**                                                                                                                                                                                                                                                                         |\n|-------------------------------------|---------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| playground                          | [langchain4j playground](./playground-langchain4j)                                                | AI playground using Langchain4j                                                                                                                                                                                                                                                           |\n|                                     | [spring ai playground](./chatmodel-springai)                                                      | AI playground using SpringAI \u0026 SpringBoot                                                                                                                                                                                                                                                 |\n| embeddingstores                     | [neo4j store with springai](./embeddingstores/neo4j-springai)                                     | Embedding store implementation using springai, spring boot and neo4j as store                                                                                                                                                                                                             |\n|                                     | [opensearch store with langchain4j](./embeddingstores/opensearch-langchain4j)                     | Embedding store implementation using langchain4j and opensearch as store                                                                                                                                                                                                                  |\n|                                     | [pgvector store with lanchain4j](./embeddingstores/pgvector-langchain4j)                          | Embedding store implementation using langchain4j and pgvector as store                                                                                                                                                                                                                    |\n|                                     | [pgvector store with springai](./embeddingstores/pgvector-springai)                               | Embedding store implementation using springai, spring boot and pgvector as store                                                                                                                                                                                                          |\n| RAG(Retrieval-Augmented-Generation) | [rag implementation using langchain4j and AllMiniLmL6V2](./rag/rag-langchain4j-AllMiniLmL6V2-llm) | RAG Implementation using Langchain4j, PGVector store and allMiniLmL6V2 LLM with spring boot                                                                                                                                                                                               |\n|                                     | [rag implementation using springai with llama llm](./rag/rag-springai-ollama-llm)                 | RAG Implementation using springai, Redis store, PDF document reader and ollama LLM with llama2 model. \u003cbr/\u003e Ollama LLM is offline version of LLM which will be downloaded once and can be used locally, as a result it will be very slow in responding based on your system configuration |\n|                                     | [rag implementation using springai with openai llm](./rag/rag-springai-openai-llm)                | RAG Implementation using springai, PGVector store, Tika document reader and openai LLM with spring boot                                                                                                                                                                                   |\n| ChatBot                             | [chatbox using ollama](./chatbot/chatbot-ollama-springai)                                         | ChatBox using Ollama3 LLM and chromadb                                                                                                                                                                                                                                                    |\n\n\n### Credits\nThanks to langchain4j for providing an openAI compatible API for learning and demo purposes.\n\n### How to run in local\n\nNote All examples contains testcontainers, so can run directly in dev mode.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frajadilipkolli%2Fai-playground","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frajadilipkolli%2Fai-playground","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frajadilipkolli%2Fai-playground/lists"}