{"id":15091142,"url":"https://github.com/tryagi/deepinfra","last_synced_at":"2025-04-12T07:10:36.179Z","repository":{"id":251960317,"uuid":"838949874","full_name":"tryAGI/DeepInfra","owner":"tryAGI","description":"C# SDK based on official DeepInfra OpenAPI specification","archived":false,"fork":false,"pushed_at":"2024-10-23T01:19:42.000Z","size":579,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-24T09:14:06.170Z","etag":null,"topics":["ai","api","autosdk","client","csharp","deepinfra","dotnet","generated","generator","langchain","langchain-dotnet","openapi","sdk"],"latest_commit_sha":null,"homepage":"https://tryagi.github.io/DeepInfra/","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},"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":"2024-08-06T16:55:52.000Z","updated_at":"2024-10-23T01:19:47.000Z","dependencies_parsed_at":"2024-09-10T01:04:35.157Z","dependency_job_id":"10b69a78-6f60-447b-9503-ed1d331f68ea","html_url":"https://github.com/tryAGI/DeepInfra","commit_stats":{"total_commits":63,"total_committers":3,"mean_commits":21.0,"dds":0.4285714285714286,"last_synced_commit":"a63b5d67cdf05d2406d0017b91765b3c0bc5dfa7"},"previous_names":["tryagi/deepinfra"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tryAGI%2FDeepInfra","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tryAGI%2FDeepInfra/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tryAGI%2FDeepInfra/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tryAGI%2FDeepInfra/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tryAGI","download_url":"https://codeload.github.com/tryAGI/DeepInfra/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248530575,"owners_count":21119600,"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":["ai","api","autosdk","client","csharp","deepinfra","dotnet","generated","generator","langchain","langchain-dotnet","openapi","sdk"],"created_at":"2024-09-25T10:35:52.086Z","updated_at":"2025-04-12T07:10:36.171Z","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":"# [DeepInfra](https://deepinfra.com/docs/deep_infra_api)\n\n[![Nuget package](https://img.shields.io/nuget/vpre/DeepInfra)](https://www.nuget.org/packages/DeepInfra/)\n[![dotnet](https://github.com/tryAGI/DeepInfra/actions/workflows/dotnet.yml/badge.svg?branch=main)](https://github.com/tryAGI/DeepInfra/actions/workflows/dotnet.yml)\n[![License: MIT](https://img.shields.io/github/license/tryAGI/DeepInfra)](https://github.com/tryAGI/DeepInfra/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 DeepInfra OpenAPI specification](https://api.deepinfra.com/openapi.json) using [AutoSDK](https://github.com/tryAGI/AutoSDK)\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- Support all DeepInfra API endpoints including Object Detection, Token Classification, Image Classification, Fill Mask and more.\n\n## Usage\n\nTo interact with the OpenAI like API, you need to use `tryAGI.OpenAI` library:\n```\n\u003cPackageReference Include=\"tryAGI.OpenAI\" Version=\"3.7.0\" /\u003e\n```\n```csharp\nusing OpenAI;\n\nusing var client = CustomProviders.DeepInfra(apiKey);\nvar enumerable = api.Chat.CreateChatCompletionAsStreamAsync(\n    model: \"meta-llama/Meta-Llama-3-8B-Instruct\",\n    messages: [\"What is the capital of the United States?\"]);\n\nawait foreach (var response in enumerable)\n{\n    Console.Write(response.Choices[0].Delta.Content);\n}\n```\n\n## Support\n\nPriority place for bugs: https://github.com/tryAGI/DeepInfra/issues  \nPriority place for ideas and general questions: https://github.com/tryAGI/DeepInfra/discussions  \nDiscord: https://discord.gg/Ca2xhfBf3v  \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).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftryagi%2Fdeepinfra","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftryagi%2Fdeepinfra","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftryagi%2Fdeepinfra/lists"}