{"id":37036890,"url":"https://github.com/intento/intento-csharp","last_synced_at":"2026-01-14T04:23:21.322Z","repository":{"id":37926075,"uuid":"138343002","full_name":"intento/intento-csharp","owner":"intento","description":"A С# adapter to query Intento API – a single API to Cognitive AI services from many vendors","archived":false,"fork":false,"pushed_at":"2024-05-28T11:08:14.000Z","size":6705,"stargazers_count":8,"open_issues_count":2,"forks_count":1,"subscribers_count":26,"default_branch":"master","last_synced_at":"2025-09-23T21:43:19.492Z","etag":null,"topics":["ai","cognitive-services","cognitive-toolkit","csharp-sdk","translation","translation-intent"],"latest_commit_sha":null,"homepage":"https://inten.to","language":"C#","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/intento.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":"2018-06-22T19:55:33.000Z","updated_at":"2025-09-04T12:42:49.000Z","dependencies_parsed_at":"2024-05-28T13:59:19.940Z","dependency_job_id":null,"html_url":"https://github.com/intento/intento-csharp","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/intento/intento-csharp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intento%2Fintento-csharp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intento%2Fintento-csharp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intento%2Fintento-csharp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intento%2Fintento-csharp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/intento","download_url":"https://codeload.github.com/intento/intento-csharp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intento%2Fintento-csharp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28409476,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T01:52:23.358Z","status":"online","status_checked_at":"2026-01-14T02:00:06.678Z","response_time":107,"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","cognitive-services","cognitive-toolkit","csharp-sdk","translation","translation-intent"],"created_at":"2026-01-14T04:23:20.645Z","updated_at":"2026-01-14T04:23:21.318Z","avatar_url":"https://github.com/intento.png","language":"C#","readme":"# Intento C# SDK\n\nAn adapter to query Intento API. Intento provides a single API to Cognitive AI services from many vendors.\nTo get more information, check out [the site](https://inten.to/).\n\n[API User Manual](https://github.com/intento/intento-api)\n\nIf you don't have a key to use Intento API, please register here [console.inten.to](https://console.inten.to)\n\n# Build\n\u003ccode\u003edotnet build SDK.build.proj /p:Configuration=%Configuration% /p:DoSign=%DoSign% /p:Version=%Version% /fileLogger\u003c/code\u003e\n\n# Sign\nTo sign package you need to install Intento certificate with CertificateFingerprint=d79d7faf87aa9eecc1437e7da38e81f8a547dc38\n\n# Tests\nTo run test set environment variable \"IntentoAPIKey\". Api key you can relieve from [console.inten.to](https://console.inten.to)\n\n# Init intento client\n ```csharp\n var options = new Options\n {\n   ApiKey = \"ApiKey\",\n   ClientUserAgent = $\"Intento.SDK.Test/{assemblyVersion}\"\n };\n IntentoClient.Init(options);\n ```\n# Init logger\nYou should specify ILoggerFactory instance in container to work with SDK. If you use Intento.SDK container you should create IContainerRegisterExtension implementation.\n ```csharp\n [RegisterExtension]\n internal class LoggerRegisterExtension: IContainerRegisterExtension\n {\n      public void Register(IServiceCollection services)\n      {\n          services.AddSingleton\u003cILoggerFactory, NullLoggerFactory\u003e();\n      }\n }\n ```\n\n# DI\nBy default, Intento SDK creates its own container for services. By the way, you can create your own container in the app and pass servicesCollection to Init function.\n ```csharp\nIntentoClient.Init(options, serviceCollection);\n ```\nIf you don't have your own container, you can register your own services in the container of Intento SDK (For example you want to use the injection of services)\n ```csharp\n[RegisterExtension]\ninternal sealed class ServicesRegisterExtension: IContainerRegisterExtension\n{\n   /// \u003cinheritdoc /\u003e\n   public void Register(IServiceCollection services)\n   {\n     services.AddSingleton\u003cITranslateService, TranslateDynamicService\u003e();\n   }\n }\n ```\n\n# Use intento API\nYou can inject ITranslateService from the container (if you use your own container) or get it from Locator.\n ```csharp\nvar service = Locator.Resolve\u003cITranslateService\u003e();\nvar res = await service.AgnosticGlossariesAsync();\n ```\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintento%2Fintento-csharp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fintento%2Fintento-csharp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintento%2Fintento-csharp/lists"}