{"id":23539189,"url":"https://github.com/rickcau/semantic-kernel-console-demos","last_synced_at":"2025-07-30T11:33:29.759Z","repository":{"id":222540799,"uuid":"757551418","full_name":"Rickcau/Semantic-Kernel-Console-Demos","owner":"Rickcau","description":"My playground for Semantic Kernel Console Demos","archived":false,"fork":false,"pushed_at":"2025-01-01T19:27:20.000Z","size":85,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-23T17:11:32.356Z","etag":null,"topics":["assistants","function-calling","plugin","semantic-kernel","sk","speech-to-text","streaming"],"latest_commit_sha":null,"homepage":"","language":"C#","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/Rickcau.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,"zenodo":null}},"created_at":"2024-02-14T18:13:29.000Z","updated_at":"2025-01-03T14:48:31.000Z","dependencies_parsed_at":"2024-02-14T20:46:46.069Z","dependency_job_id":"babfdfe4-8997-4c9e-9611-2718949927e7","html_url":"https://github.com/Rickcau/Semantic-Kernel-Console-Demos","commit_stats":null,"previous_names":["rickcau/semantic-kernel-console-demos"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Rickcau/Semantic-Kernel-Console-Demos","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rickcau%2FSemantic-Kernel-Console-Demos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rickcau%2FSemantic-Kernel-Console-Demos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rickcau%2FSemantic-Kernel-Console-Demos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rickcau%2FSemantic-Kernel-Console-Demos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Rickcau","download_url":"https://codeload.github.com/Rickcau/Semantic-Kernel-Console-Demos/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rickcau%2FSemantic-Kernel-Console-Demos/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267858704,"owners_count":24155941,"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","status":"online","status_checked_at":"2025-07-30T02:00:09.044Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["assistants","function-calling","plugin","semantic-kernel","sk","speech-to-text","streaming"],"created_at":"2024-12-26T04:30:28.499Z","updated_at":"2025-07-30T11:33:29.651Z","avatar_url":"https://github.com/Rickcau.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Semantic Kernel Console App Example Playground\n\nIn this Solution / Repo I have several Console Apps that I demo various SK examples.  I often leverage console apps to learn new concepts and to play with different patterns as it's a quick way to get up an running.  I hope you find this repo useful.\n\n## LICENSE\nThe [MIT License](./LICENSE) applies to all the solutions / projects / examples included in this repository.  \n\n## Console-SK-DeFi-Assistant\nIn this example, I create a custom SK plugin for the Uniswap V3 Subgraph. I also make use of ToolCallBehavior.AutoInvokeKernelFunctions setting so the Kernel will automatically determine if there is a Native Function it needs to invoke.  \n\nWhen you run the example, you can ask general questions like you would with any ChatBot, but if you ask a question that aligns to the description of the SK Function the Kernel will invoke the function passing in a GraphQL query.  What is interesting about this, is the the AI will general the GraphQL query for you, or you can actually provide a GraphQL query.\n\nIn this example, I am not streaming the Chat Completion so you have to wait for the AI to finish.  If you are interesting in seeing a Streaming example, take a look at the next example.\n\n## Console-SK-DeFi-Assistant-Streaming\nThis is the same example as the above, but I have implementing Streaming logic, which results in a better Chat experience, and would be the recommended approach for a production solution.\n\n## Console-SK-Multiple-Function-Calling-Assistant\nIn this example, I demo how you can nest multiple Native Functions and have the Kernel automatically call each one based on the prompt.  If you have a use case that has very specific tasks that need to be invoked depending on the scenario, this is a super easy to understand example that will get you headed in the right direction.\n\n## Notes\nThis concept could be used with any GraphQL endpoint.  I will explore with other GraphQL endpoints when I have time, but the UniSwap V3 GraphQL endpoint is very well know in the Crypto space.\n\n\n## Requirements for this example\n\n1. Rename the App.config.bak to App.config\n2. Modify the App.config with your LLM/AI details.\n\n    ~~~\n\t\t\t\u003c?xml version=\"1.0\" encoding=\"utf-8\" ?\u003e\n\t\t\t\u003cconfiguration\u003e\n\t\t\t\t\u003cappSettings\u003e\n\t\t\t\t\t\u003cadd key=\"AzureOpenAIEndpoint\" value=\"\u003cAzureOpenAI Endpoint URI\u003e\" /\u003e\n\t\t\t\t\t\u003cadd key=\"AzureOpenAIKey\" value=\"AzureOpenAI KEY\" /\u003e  \n\t\t\t\t\t\u003cadd key=\"AzureOpenAIModel\" value=\"AzureOpenAI Model Name\" /\u003e\n\t\t\t\t\u003c/appSettings\u003e\n\t\t\t\u003c/configuration\u003e\n    ~~~\n \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frickcau%2Fsemantic-kernel-console-demos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frickcau%2Fsemantic-kernel-console-demos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frickcau%2Fsemantic-kernel-console-demos/lists"}