{"id":22065411,"url":"https://github.com/tryagi/huggingface","last_synced_at":"2025-10-11T03:56:48.928Z","repository":{"id":181529874,"uuid":"666913262","full_name":"tryAGI/HuggingFace","owner":"tryAGI","description":"C# SDK based on official HuggingFace OpenAPI specification","archived":false,"fork":false,"pushed_at":"2025-10-06T07:08:27.000Z","size":371,"stargazers_count":45,"open_issues_count":3,"forks_count":9,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-06T09:27:09.535Z","etag":null,"topics":["ai","api","csharp","dotnet","generated","huggingface","langchain","langchain-dotnet","nswag","openapi","sdk","tokenizer"],"latest_commit_sha":null,"homepage":"https://tryagi.github.io/HuggingFace/","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/tryAGI.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"HavenDV","patreon":"havendv","ko_fi":"havendv","custom":["https://www.paypal.me/havendv","https://www.buymeacoffee.com/havendv","https://donate.stripe.com/00gfZ19zkeKLh1eaEE","https://www.upwork.com/freelancers/~017b1ad6f6af9cc189"]}},"created_at":"2023-07-16T02:35:39.000Z","updated_at":"2025-10-06T07:08:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"72abb338-833b-4f97-9c81-020d49eda307","html_url":"https://github.com/tryAGI/HuggingFace","commit_stats":null,"previous_names":["tryagi/huggingface"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/tryAGI/HuggingFace","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tryAGI%2FHuggingFace","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tryAGI%2FHuggingFace/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tryAGI%2FHuggingFace/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tryAGI%2FHuggingFace/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tryAGI","download_url":"https://codeload.github.com/tryAGI/HuggingFace/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tryAGI%2FHuggingFace/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279006109,"owners_count":26084026,"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-10-11T02:00:06.511Z","response_time":55,"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":["ai","api","csharp","dotnet","generated","huggingface","langchain","langchain-dotnet","nswag","openapi","sdk","tokenizer"],"created_at":"2024-11-30T19:17:26.706Z","updated_at":"2025-10-11T03:56:48.911Z","avatar_url":"https://github.com/tryAGI.png","language":"C#","funding_links":["https://github.com/sponsors/HavenDV","https://patreon.com/havendv","https://ko-fi.com/havendv","https://www.paypal.me/havendv","https://www.buymeacoffee.com/havendv","https://donate.stripe.com/00gfZ19zkeKLh1eaEE","https://www.upwork.com/freelancers/~017b1ad6f6af9cc189"],"categories":[],"sub_categories":[],"readme":"# HuggingFace\n\n[![Nuget package](https://img.shields.io/nuget/vpre/HuggingFace)](https://www.nuget.org/packages/HuggingFace/)\n[![dotnet](https://github.com/tryAGI/HuggingFace/actions/workflows/dotnet.yml/badge.svg?branch=main)](https://github.com/tryAGI/HuggingFace/actions/workflows/dotnet.yml)\n[![License: MIT](https://img.shields.io/github/license/tryAGI/HuggingFace)](https://github.com/tryAGI/HuggingFace/blob/main/LICENSE.txt)\n[![Discord](https://img.shields.io/discord/1115206893015662663?label=Discord\u0026logo=discord\u0026logoColor=white\u0026color=d82679)](https://discord.gg/Ca2xhfBf3v)\n\n## Features 🔥\n- ~~Fully generated C# SDK based on [official HuggingFace OpenAPI specification](https://huggingface.github.io/text-generation-inference/openapi.json) using [OpenApiGenerator](https://github.com/HavenDV/OpenApiGenerator)~~\n- ~~Same day update to support new features~~\n- ~~Updated and supported automatically if there are no breaking changes~~\n- All modern .NET features - nullability, trimming, NativeAOT, etc.\n- Support .Net Framework/.Net Standard 2.0\n- Now supports only Serverless Inference API\n\n### Usage\n```csharp\nusing HuggingFace;\n\nusing var client = new HuggingFaceClient(apiKey, client);\nvar response = await client.GenerateTextAsync(\n    \"gpt2\",\n    new GenerateTextRequest\n    {\n        Inputs = \"Hello\",\n        Parameters = new GenerateTextRequestParameters\n        {\n            MaxNewTokens = 250,\n        },\n    });\n```\n\n## Support\n\nPriority place for bugs: https://github.com/tryAGI/HuggingFace/issues  \nPriority place for ideas and general questions: https://github.com/tryAGI/HuggingFace/discussions  \nDiscord: https://discord.gg/Ca2xhfBf3v  \n\n## OpenAPI specs\n- Serverless Inference OpenAPI spec - (Can't find the link)\n- [Local Text Generation Inference OpenAPI spec](https://huggingface.github.io/text-generation-inference/openapi.json)\n- [Local Text Embeddings Inference OpenAPI spec](https://huggingface.github.io/text-embeddings-inference/openapi.json)\n- [Inference Endpoints (dedicated) OpenAPI spec](https://api.endpoints.huggingface.cloud/openapi.json)\n\n## Acknowledgments\n\n![JetBrains logo](https://resources.jetbrains.com/storage/products/company/brand/logos/jetbrains.png)\n\nThis project is supported by JetBrains through the [Open Source Support Program](https://jb.gg/OpenSourceSupport).\n\n![CodeRabbit logo](https://opengraph.githubassets.com/1c51002d7d0bbe0c4fd72ff8f2e58192702f73a7037102f77e4dbb98ac00ea8f/marketplace/coderabbitai)\n\nThis project is supported by CodeRabbit through the [Open Source Support Program](https://github.com/marketplace/coderabbitai).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftryagi%2Fhuggingface","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftryagi%2Fhuggingface","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftryagi%2Fhuggingface/lists"}