{"id":38213272,"url":"https://github.com/tsjdev-apps/openai-realtime-data","last_synced_at":"2026-01-17T00:45:19.795Z","repository":{"id":264914711,"uuid":"894434526","full_name":"tsjdev-apps/openai-realtime-data","owner":"tsjdev-apps","description":"Simple .NET console application to show how you can add website data to your chat application.","archived":false,"fork":false,"pushed_at":"2024-11-26T18:57:48.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-26T19:35:35.854Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/tsjdev-apps.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},"funding":{"github":"tsjdev-apps"}},"created_at":"2024-11-26T10:55:40.000Z","updated_at":"2024-11-26T18:57:49.000Z","dependencies_parsed_at":"2024-11-26T19:46:17.110Z","dependency_job_id":null,"html_url":"https://github.com/tsjdev-apps/openai-realtime-data","commit_stats":null,"previous_names":["tsjdev-apps/openai-realtime-data"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tsjdev-apps/openai-realtime-data","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsjdev-apps%2Fopenai-realtime-data","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsjdev-apps%2Fopenai-realtime-data/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsjdev-apps%2Fopenai-realtime-data/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsjdev-apps%2Fopenai-realtime-data/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tsjdev-apps","download_url":"https://codeload.github.com/tsjdev-apps/openai-realtime-data/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsjdev-apps%2Fopenai-realtime-data/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28490534,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T23:55:29.509Z","status":"ssl_error","status_checked_at":"2026-01-16T23:55:29.108Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2026-01-17T00:45:19.008Z","updated_at":"2026-01-17T00:45:19.786Z","avatar_url":"https://github.com/tsjdev-apps.png","language":"C#","funding_links":["https://github.com/sponsors/tsjdev-apps"],"categories":[],"sub_categories":[],"readme":"# Add Data from Your Website to Your AI Chat Client\n\n![header](/docs/header.png)\n\nThis repository provides a .NET 9 console application that integrates real-time web data into an AI chat client. The application demonstrates how to fetch and process live data from websites, enhancing the chatbot's ability to deliver up-to-date, context-specific responses.\n\n## Features\n\n- **Real-Time Data Integration**: Fetches live data from specified websites to provide current information.\n- **AI Chat Client Enhancement**: Incorporates real-time web data into the AI chat client for dynamic interactions.\n- **Modular Design**: Utilizes helper classes for streamlined code management and readability.\n\n## Prerequisites\n\n- [.NET 9 SDK](https://dotnet.microsoft.com/en-us/download/dotnet/9.0)\n- [Visual Studio 2022](https://visualstudio.microsoft.com/) or any compatible IDE\n- [Azure.AI.OpenAI](https://www.nuget.org/packages/Azure.AI.OpenA) NuGet package\n- [HtmlAgilityPack](https://www.nuget.org/packages/HtmlAgilityPack) NuGet package\n- [Spectre.Console](https://www.nuget.org/packages/Spectre.Console)NuGet package\n\n## Project Strucutre\n\n- `Program.cs`: Entry point of the application.\n- `Utils/ConsoleHelper.cs`: Contains methods for enhanced console interactions using `Spectre.Console`.\n- `Utils/Statics.cs`: Stores static values such as host URLs and OpenAI model names.\n- `Utils/WebsiteHelper.cs`: Provides methods to fetch and clean HTML content from websites.\n\n## Usage\n\nUpon running the application, it will prompt you to enter a website URL. The application will then fetch the HTML content of the specified website, process it, and integrate the data into the AI chat client for dynamic interactions.\n\n## Screenshots\n\nThe first step when running the application is for the user to select the host.\n\n![screenshot-01](docs/ai-live-data-website-01.png)\n\nAfter selecting the host, the application guides the user through providing the necessary configuration details.\n\n![screenshot-02](docs/ai-live-data-website-02.png)\n\nBefore the chat can begin, the user is prompted to provide a URL. This URL serves as a source of additional data for the AI model, enriching its responses with real-time, context-specific information.\n\n![screenshot-03](docs/ai-live-data-website-03.png)\n\nOnce the website’s content has been added to the AI model, the user is ready to start the chat.\n\n![screenshot-04](docs/ai-live-data-website-04.png)\n\n## Blog Posts\n\nIf you are more interested into details, please see the following posts on [medium.com](https://medium.com/@tsjdevapps) or in my [personal blog](https://www.tsjdev-apps.de):\n\n- [Add Data from Your Website to Your AI Chat Client](https://medium.com/medialesson/add-data-from-your-website-to-your-ai-chat-client-cee94ffcd1f6)\n- [Einrichtung von OpenAI](https://www.tsjdev-apps.de/einrichtung-von-openai/)\n- [Einrichtung von Azure OpenAI](https://www.tsjdev-apps.de/einrichtung-von-azure-openai/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsjdev-apps%2Fopenai-realtime-data","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftsjdev-apps%2Fopenai-realtime-data","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsjdev-apps%2Fopenai-realtime-data/lists"}