{"id":21672454,"url":"https://github.com/redis-developer/spring-ai-redis-demo","last_synced_at":"2025-05-08T21:44:05.110Z","repository":{"id":221247101,"uuid":"753833436","full_name":"redis-developer/spring-ai-redis-demo","owner":"redis-developer","description":null,"archived":false,"fork":false,"pushed_at":"2024-03-12T20:19:25.000Z","size":29190,"stargazers_count":16,"open_issues_count":0,"forks_count":9,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-05-08T21:43:49.521Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/redis-developer.png","metadata":{"files":{"readme":"README.adoc","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2024-02-06T21:50:25.000Z","updated_at":"2025-04-06T06:10:48.000Z","dependencies_parsed_at":"2024-03-12T21:44:35.842Z","dependency_job_id":null,"html_url":"https://github.com/redis-developer/spring-ai-redis-demo","commit_stats":null,"previous_names":["redis-developer/spring-ai-redis-demo"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redis-developer%2Fspring-ai-redis-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redis-developer%2Fspring-ai-redis-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redis-developer%2Fspring-ai-redis-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redis-developer%2Fspring-ai-redis-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/redis-developer","download_url":"https://codeload.github.com/redis-developer/spring-ai-redis-demo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253153979,"owners_count":21862439,"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":[],"created_at":"2024-11-25T13:29:20.756Z","updated_at":"2025-05-08T21:44:05.086Z","avatar_url":"https://github.com/redis-developer.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"= Spring AI Redis Demo\n:linkattrs:\n:project-owner:   redis-developer\n:project-name:    spring-ai-redis-demo\n:project-group:   com.redis\n:project-version: 0.0.1-SNAPSHOT\n:project-title:   Spring AI Redis Demo\n\n---\n\nA Retrieval Augmented Generation demo using link:https://docs.spring.io/spring-ai/reference/[Spring AI] and link:https://redis.io/docs/interact/search-and-query/advanced-concepts/vectors/[Redis Vector Search].\n\n== Pre-requisites\n\n=== Docker\n\nThis demo requires Docker to build and run the application.\n\n=== Azure OpenAI\n\nObtain your Azure OpenAI `endpoint` (e.g. `https://demo-us-west.openai.azure.com/`) and `api-key` from the Azure OpenAI Service section on https://portal.azure.com[Azure Portal].\n\nThe Spring AI project defines a configuration property named `spring.ai.azure.openai.api-key` that you should set to the value of the `API Key` obtained from Azure.\n\nIf your model deployment name is not the default `gpt-35-turbo` you can specify it using the configuration property named `spring.ai.azure.openai.chat.options.model`.\n\nExporting an environment variable is one way to set these configuration properties.\n[source,console]\n----\nexport SPRING_AI_AZURE_OPENAI_API_KEY=\u003cINSERT KEY HERE\u003e\nexport SPRING_AI_AZURE_OPENAI_ENDPOINT=\u003cINSERT ENDPOINT URL HERE\u003e\nexport SPRING_AI_AZURE_OPENAI_CHAT_OPTIONS_MODEL=\u003cINSERT MODEL NAME HERE\u003e\n----\n\n== Run the demo\n\n[source,console]\n----\ngit clone https://github.com/{project-owner}/{project-name}.git\ncd {project-name}\ndocker compose up\n----\n\nOnce the Spring application is running (`com.....Application: Started Application in ...`), point your browser to link:http://localhost:8080[localhost:8080] and ask a question around beers:\n\nimage:src/docs/asciidoc/spring-ai-redis-screenshot.png[]\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredis-developer%2Fspring-ai-redis-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fredis-developer%2Fspring-ai-redis-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredis-developer%2Fspring-ai-redis-demo/lists"}