{"id":26642805,"url":"https://github.com/whiteducksoftware/demo-ai-kaito-semantic-kernel","last_synced_at":"2025-03-24T19:28:02.466Z","repository":{"id":247356137,"uuid":"820431780","full_name":"whiteducksoftware/demo-ai-kaito-semantic-kernel","owner":"whiteducksoftware","description":null,"archived":false,"fork":false,"pushed_at":"2024-07-08T07:55:30.000Z","size":680,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-07-08T09:59:30.068Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Jupyter Notebook","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/whiteducksoftware.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":"2024-06-26T13:03:10.000Z","updated_at":"2024-07-08T09:59:36.751Z","dependencies_parsed_at":"2024-07-08T10:10:40.552Z","dependency_job_id":null,"html_url":"https://github.com/whiteducksoftware/demo-ai-kaito-semantic-kernel","commit_stats":null,"previous_names":["whiteducksoftware/demo-ai-kaito-semantic-kernel"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whiteducksoftware%2Fdemo-ai-kaito-semantic-kernel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whiteducksoftware%2Fdemo-ai-kaito-semantic-kernel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whiteducksoftware%2Fdemo-ai-kaito-semantic-kernel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whiteducksoftware%2Fdemo-ai-kaito-semantic-kernel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/whiteducksoftware","download_url":"https://codeload.github.com/whiteducksoftware/demo-ai-kaito-semantic-kernel/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245337118,"owners_count":20598817,"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":"2025-03-24T19:28:01.939Z","updated_at":"2025-03-24T19:28:02.455Z","avatar_url":"https://github.com/whiteducksoftware.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Build and run your own intelligent application based on open source using Semantic Kernel and Kaito\n\n## Prerequisites\n* Terraform\n* Helm\n* Kubectl\n* Python \u003c3.13, \u003e=3.10\n* Jupyter\n\n### Create Cluster\n\n```bash\n# Initialize the terraform configuration\nterraform init\n# Run the terraform plan and apply\nterraform plan\nterraform apply -auto-approve\n```\n\n\n### Install Kaito\n\n- GPU provisioner config -\u003e `./k8s/gpu-provisioner-values.yaml`\n  - The  GPU provisioner leverages Workload Identity. For this we need to pass our config to the helm chart:\n  - Update all `ENVs` and `controller.settings.azure.clustername` according to your setup\n  - Terraform outputs the Client ID for Kaito, please update `controller.workloadIdentity.clientId`\n\n```bash\n# Install to GPU provisioner Helm chart with workload identity custom configuration\nhelm upgrade -i --namespace gpu-provisioner --create-namespace gpu-provisioner kaito/gpu-provisioner -f ./k8s/gpu-provisioner-values.yaml\n# Install to Kaito workspace Helm chart\nhelm upgrade -i  --namespace workspace --create-namespace workspace kaito/workspace\n# Install ingress-nginx\nhelm upgrade -i  --namespace ingress-nginx --create-namespace ingress-nginx ingress-nginx/ingress-nginx\n```\n\n### Install Falcon LLM\n\n```bash\n# Create falcon namespace\nkubectl create ns falcon\n# Install the wokrspace with the preset configuration\nkubectl -n falcon apply -f ./k8s/falcon.yaml\n# Expose the wokrspace with the ingress controller\nkubectl -n falcon apply -f ./k8s/falcon-ingress.yaml\n```\n\n## Run the demo\n\nThere are two types of demos available:\n\n* **Falcon Kaito**: This demo uses the Falcon LLM hosted on Kaito with Semantic Kernel. The demo can be found here: `kaito_semantic_kernel_demo.ipynb`\n* **OpenAI**: This demo uses the Azure OpenAI Model with Semantic Kernel.The demo can be found here: `openai_semantic_kernel_demo.ipynb`\n\nTo run the Kaito Falcon demo, you might have to change the `url` in the notebook. The OpenAI demo requires an Azure OpenAI account and a proper setup [read more](https://github.com/microsoft/semantic-kernel/tree/main/python#openai--azure-openai-api-keys).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhiteducksoftware%2Fdemo-ai-kaito-semantic-kernel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwhiteducksoftware%2Fdemo-ai-kaito-semantic-kernel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhiteducksoftware%2Fdemo-ai-kaito-semantic-kernel/lists"}