{"id":13560861,"url":"https://github.com/Azure-For-Everyone/sk-hotelfiltering","last_synced_at":"2025-04-03T16:31:30.904Z","repository":{"id":196202861,"uuid":"695023634","full_name":"Azure-For-Everyone/sk-hotelfiltering","owner":"Azure-For-Everyone","description":"An example of how to use Semantic Kernel as part of a Hotel booking website for filtering hotels using natural language.","archived":false,"fork":false,"pushed_at":"2024-05-21T10:09:15.000Z","size":9598,"stargazers_count":3,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-04T12:40:03.261Z","etag":null,"topics":["large-language-models","llm","python","react","semantickernel"],"latest_commit_sha":null,"homepage":"","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/Azure-For-Everyone.png","metadata":{"files":{"readme":"README.md","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,"publiccode":null,"codemeta":null}},"created_at":"2023-09-22T07:31:03.000Z","updated_at":"2024-05-21T06:31:24.000Z","dependencies_parsed_at":"2023-09-23T05:06:12.589Z","dependency_job_id":"92b54de5-dd68-48f9-ace2-1ee28ae2ce86","html_url":"https://github.com/Azure-For-Everyone/sk-hotelfiltering","commit_stats":null,"previous_names":["azure-for-everyone/sk-hotelfiltering"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azure-For-Everyone%2Fsk-hotelfiltering","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azure-For-Everyone%2Fsk-hotelfiltering/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azure-For-Everyone%2Fsk-hotelfiltering/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azure-For-Everyone%2Fsk-hotelfiltering/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Azure-For-Everyone","download_url":"https://codeload.github.com/Azure-For-Everyone/sk-hotelfiltering/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247037009,"owners_count":20873077,"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":["large-language-models","llm","python","react","semantickernel"],"created_at":"2024-08-01T13:00:50.214Z","updated_at":"2025-04-03T16:31:25.889Z","avatar_url":"https://github.com/Azure-For-Everyone.png","language":"JavaScript","funding_links":[],"categories":["Open Source Projects"],"sub_categories":[],"readme":"# Build Intelligent Apps: Semantic Kernel in your application\n\nIn this repository we'll show you how to leverage [Semantic Kernel](https://github.com/microsoft/semantic-kernel) into an existing application. As an example we'll use how you can benefit from Semantic Kernel in a Hotel booking website. You can use natural language to search through a list of hotels.\n\nThis demostration was shown on following events:\n\n- [Austria] Oct/23 - [Microsoft Build 2023](https://pulse.microsoft.com/de-at/transform-de-at/na/fa2-microsoft-build-austria/)\n- [Ireland] Oct/23 - [Microsoft Build 2023](https://msevents.microsoft.com/event?id=3755029226)\n- [Belgium] Nov/23 - [SaaS local day](https://msevents.microsoft.com/event?id=1131853098)\n- [Austria] Dec/23 - [Unlocking AI Opportunities:](https://msevents.microsoft.com/event?id=1236497086)\n\n![Hotel website](./img/hotel-booking-semantic-kernel.gif)\n\n## Why Semantic Kernel?\n\n[Semantic Kernel](https://github.com/microsoft/semantic-kernel) allows developers to use AI without any knowledge about AI or LLM. As a web developer or software engineer you can focus on the things you're best: writing code for business applications, and you have the LLM or other models completely abstracted.\n\n## What is in this example?\n\nThis example has two parts:\n\n1. an `ui` part which contains the Hotel booking website written in React.\n   \n   yarn start\n    \n2. an `api` part which contains the Hotel booking API written in Python and contains some custom logic and the Semantic Kernel SDK.\n\n    python main\n\n## Getting started\n\nWithin the `api` we are using a LLM model, either hosted on OpenAI or Azure OpenAI. Before you can run the backend (as mentioned above), make sure you have defined you're OpenAI credentials in the [`.env` file](https://github.com/Azure-For-Everyone/sk-hotelfiltering/blob/main/api/.env) in the `api` folder. Specify the service you which to use by providing `AzureOpenAI` or `OpenAI` to the `GLOBAL__LLM_SERVICE` variable.\n\n    GLOBAL__LLM_SERVICE=\"AzureOpenAI\" # or \"OpenAI\"\n\n    AZURE_OPEN_AI__DEPLOYMENT_TYPE=\"chat-completion\"\n    AZURE_OPEN_AI__CHAT_COMPLETION_DEPLOYMENT_NAME=\"xxx\"\n    AZURE_OPEN_AI__TEXT_COMPLETION_DEPLOYMENT_NAME=\"xxx\"\n    AZURE_OPEN_AI__ENDPOINT=\"https://xxx.openai.azure.com\"\n    AZURE_OPEN_AI__API_KEY=\"xxx\"\n\n    OPEN_AI__MODEL_TYPE=\"chat-completion\"\n    OPEN_AI__CHAT_COMPLETION_MODEL_ID=\"gpt-4\"\n    OPEN_AI__TEXT_COMPLETION_MODEL_ID=\"text-davinci-003\"\n    OPEN_AI__API_KEY=\"xxx\"\n    OPEN_AI__ORG_ID=\"xxx\"\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAzure-For-Everyone%2Fsk-hotelfiltering","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FAzure-For-Everyone%2Fsk-hotelfiltering","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAzure-For-Everyone%2Fsk-hotelfiltering/lists"}