├── .github ├── dependabot.yml └── workflows │ ├── auto-merge.yml │ ├── auto-update.yml │ ├── dotnet.yml │ ├── mkdocs.yml │ └── pull-request.yml ├── .gitignore ├── HuggingFace.sln ├── LICENSE ├── README.md ├── assets └── nuget_icon.png ├── docs ├── css │ └── extra.css ├── media │ └── icon128.png └── openapi.yaml ├── global.json ├── mkdocs.yml └── src ├── Directory.Build.props ├── helpers ├── FixOpenApiSpec │ ├── FixOpenApiSpec.csproj │ ├── Program.cs │ └── Properties │ │ └── launchSettings.json ├── GenerateDocs │ ├── GenerateDocs.csproj │ └── Program.cs └── TrimmingHelper │ ├── Program.cs │ └── TrimmingHelper.csproj ├── key.snk ├── libs ├── Directory.Build.props └── HuggingFace │ ├── Extensions │ ├── HuggingFaceApi.ChatClient.cs │ └── StringExtensions.cs │ ├── Generated │ ├── AnyOf.2.Json.g.cs │ ├── AnyOf.2.g.cs │ ├── HuggingFace..JsonSerializerContext.g.cs │ ├── HuggingFace.Exceptions.g.cs │ ├── HuggingFace.HuggingFaceClient.Authorizations.Bearer.g.cs │ ├── HuggingFace.HuggingFaceClient.Constructors.Bearer.g.cs │ ├── HuggingFace.HuggingFaceClient.GenerateText.g.cs │ ├── HuggingFace.HuggingFaceClient.g.cs │ ├── HuggingFace.IHuggingFaceClient.Authorizations.Bearer.g.cs │ ├── HuggingFace.IHuggingFaceClient.GenerateText.g.cs │ ├── HuggingFace.IHuggingFaceClient.g.cs │ ├── HuggingFace.JsonConverters.AnyOf2.g.cs │ ├── HuggingFace.JsonSerializerContextTypes.g.cs │ ├── HuggingFace.Models.ErrorResponse.Json.g.cs │ ├── HuggingFace.Models.ErrorResponse.g.cs │ ├── HuggingFace.Models.GenerateTextRequest.Json.g.cs │ ├── HuggingFace.Models.GenerateTextRequest.g.cs │ ├── HuggingFace.Models.GenerateTextRequestOptions.Json.g.cs │ ├── HuggingFace.Models.GenerateTextRequestOptions.g.cs │ ├── HuggingFace.Models.GenerateTextRequestParameters.Json.g.cs │ ├── HuggingFace.Models.GenerateTextRequestParameters.g.cs │ ├── HuggingFace.Models.GenerateTextResponseValue.Json.g.cs │ ├── HuggingFace.Models.GenerateTextResponseValue.g.cs │ ├── HuggingFace.PathBuilder.g.cs │ ├── HuggingFace.Polyfills.g.cs │ └── JsonConverters.UnixTimestamp.g.cs │ ├── HuggingFace.csproj │ ├── generate.sh │ └── openapi.yaml └── tests └── HuggingFace.IntegrationTests ├── HuggingFace.IntegrationTests.csproj ├── Tests.Gpt2.cs ├── Tests.Phi3.cs └── Tests.cs /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tryAGI/HuggingFace/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/auto-merge.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tryAGI/HuggingFace/HEAD/.github/workflows/auto-merge.yml -------------------------------------------------------------------------------- /.github/workflows/auto-update.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tryAGI/HuggingFace/HEAD/.github/workflows/auto-update.yml -------------------------------------------------------------------------------- /.github/workflows/dotnet.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tryAGI/HuggingFace/HEAD/.github/workflows/dotnet.yml -------------------------------------------------------------------------------- /.github/workflows/mkdocs.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tryAGI/HuggingFace/HEAD/.github/workflows/mkdocs.yml -------------------------------------------------------------------------------- /.github/workflows/pull-request.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tryAGI/HuggingFace/HEAD/.github/workflows/pull-request.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tryAGI/HuggingFace/HEAD/.gitignore -------------------------------------------------------------------------------- /HuggingFace.sln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tryAGI/HuggingFace/HEAD/HuggingFace.sln -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tryAGI/HuggingFace/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tryAGI/HuggingFace/HEAD/README.md -------------------------------------------------------------------------------- /assets/nuget_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tryAGI/HuggingFace/HEAD/assets/nuget_icon.png -------------------------------------------------------------------------------- /docs/css/extra.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tryAGI/HuggingFace/HEAD/docs/css/extra.css -------------------------------------------------------------------------------- /docs/media/icon128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tryAGI/HuggingFace/HEAD/docs/media/icon128.png -------------------------------------------------------------------------------- /docs/openapi.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tryAGI/HuggingFace/HEAD/docs/openapi.yaml -------------------------------------------------------------------------------- /global.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tryAGI/HuggingFace/HEAD/global.json -------------------------------------------------------------------------------- /mkdocs.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tryAGI/HuggingFace/HEAD/mkdocs.yml -------------------------------------------------------------------------------- /src/Directory.Build.props: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tryAGI/HuggingFace/HEAD/src/Directory.Build.props -------------------------------------------------------------------------------- /src/helpers/FixOpenApiSpec/FixOpenApiSpec.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tryAGI/HuggingFace/HEAD/src/helpers/FixOpenApiSpec/FixOpenApiSpec.csproj -------------------------------------------------------------------------------- /src/helpers/FixOpenApiSpec/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tryAGI/HuggingFace/HEAD/src/helpers/FixOpenApiSpec/Program.cs -------------------------------------------------------------------------------- /src/helpers/FixOpenApiSpec/Properties/launchSettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tryAGI/HuggingFace/HEAD/src/helpers/FixOpenApiSpec/Properties/launchSettings.json -------------------------------------------------------------------------------- /src/helpers/GenerateDocs/GenerateDocs.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tryAGI/HuggingFace/HEAD/src/helpers/GenerateDocs/GenerateDocs.csproj -------------------------------------------------------------------------------- /src/helpers/GenerateDocs/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tryAGI/HuggingFace/HEAD/src/helpers/GenerateDocs/Program.cs -------------------------------------------------------------------------------- /src/helpers/TrimmingHelper/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tryAGI/HuggingFace/HEAD/src/helpers/TrimmingHelper/Program.cs -------------------------------------------------------------------------------- /src/helpers/TrimmingHelper/TrimmingHelper.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tryAGI/HuggingFace/HEAD/src/helpers/TrimmingHelper/TrimmingHelper.csproj -------------------------------------------------------------------------------- /src/key.snk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tryAGI/HuggingFace/HEAD/src/key.snk -------------------------------------------------------------------------------- /src/libs/Directory.Build.props: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tryAGI/HuggingFace/HEAD/src/libs/Directory.Build.props -------------------------------------------------------------------------------- /src/libs/HuggingFace/Extensions/HuggingFaceApi.ChatClient.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tryAGI/HuggingFace/HEAD/src/libs/HuggingFace/Extensions/HuggingFaceApi.ChatClient.cs -------------------------------------------------------------------------------- /src/libs/HuggingFace/Extensions/StringExtensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tryAGI/HuggingFace/HEAD/src/libs/HuggingFace/Extensions/StringExtensions.cs -------------------------------------------------------------------------------- /src/libs/HuggingFace/Generated/AnyOf.2.Json.g.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tryAGI/HuggingFace/HEAD/src/libs/HuggingFace/Generated/AnyOf.2.Json.g.cs -------------------------------------------------------------------------------- /src/libs/HuggingFace/Generated/AnyOf.2.g.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tryAGI/HuggingFace/HEAD/src/libs/HuggingFace/Generated/AnyOf.2.g.cs -------------------------------------------------------------------------------- /src/libs/HuggingFace/Generated/HuggingFace..JsonSerializerContext.g.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tryAGI/HuggingFace/HEAD/src/libs/HuggingFace/Generated/HuggingFace..JsonSerializerContext.g.cs -------------------------------------------------------------------------------- /src/libs/HuggingFace/Generated/HuggingFace.Exceptions.g.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tryAGI/HuggingFace/HEAD/src/libs/HuggingFace/Generated/HuggingFace.Exceptions.g.cs -------------------------------------------------------------------------------- /src/libs/HuggingFace/Generated/HuggingFace.HuggingFaceClient.Authorizations.Bearer.g.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tryAGI/HuggingFace/HEAD/src/libs/HuggingFace/Generated/HuggingFace.HuggingFaceClient.Authorizations.Bearer.g.cs -------------------------------------------------------------------------------- /src/libs/HuggingFace/Generated/HuggingFace.HuggingFaceClient.Constructors.Bearer.g.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tryAGI/HuggingFace/HEAD/src/libs/HuggingFace/Generated/HuggingFace.HuggingFaceClient.Constructors.Bearer.g.cs -------------------------------------------------------------------------------- /src/libs/HuggingFace/Generated/HuggingFace.HuggingFaceClient.GenerateText.g.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tryAGI/HuggingFace/HEAD/src/libs/HuggingFace/Generated/HuggingFace.HuggingFaceClient.GenerateText.g.cs -------------------------------------------------------------------------------- /src/libs/HuggingFace/Generated/HuggingFace.HuggingFaceClient.g.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tryAGI/HuggingFace/HEAD/src/libs/HuggingFace/Generated/HuggingFace.HuggingFaceClient.g.cs -------------------------------------------------------------------------------- /src/libs/HuggingFace/Generated/HuggingFace.IHuggingFaceClient.Authorizations.Bearer.g.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tryAGI/HuggingFace/HEAD/src/libs/HuggingFace/Generated/HuggingFace.IHuggingFaceClient.Authorizations.Bearer.g.cs -------------------------------------------------------------------------------- /src/libs/HuggingFace/Generated/HuggingFace.IHuggingFaceClient.GenerateText.g.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tryAGI/HuggingFace/HEAD/src/libs/HuggingFace/Generated/HuggingFace.IHuggingFaceClient.GenerateText.g.cs -------------------------------------------------------------------------------- /src/libs/HuggingFace/Generated/HuggingFace.IHuggingFaceClient.g.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tryAGI/HuggingFace/HEAD/src/libs/HuggingFace/Generated/HuggingFace.IHuggingFaceClient.g.cs -------------------------------------------------------------------------------- /src/libs/HuggingFace/Generated/HuggingFace.JsonConverters.AnyOf2.g.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tryAGI/HuggingFace/HEAD/src/libs/HuggingFace/Generated/HuggingFace.JsonConverters.AnyOf2.g.cs -------------------------------------------------------------------------------- /src/libs/HuggingFace/Generated/HuggingFace.JsonSerializerContextTypes.g.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tryAGI/HuggingFace/HEAD/src/libs/HuggingFace/Generated/HuggingFace.JsonSerializerContextTypes.g.cs -------------------------------------------------------------------------------- /src/libs/HuggingFace/Generated/HuggingFace.Models.ErrorResponse.Json.g.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tryAGI/HuggingFace/HEAD/src/libs/HuggingFace/Generated/HuggingFace.Models.ErrorResponse.Json.g.cs -------------------------------------------------------------------------------- /src/libs/HuggingFace/Generated/HuggingFace.Models.ErrorResponse.g.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tryAGI/HuggingFace/HEAD/src/libs/HuggingFace/Generated/HuggingFace.Models.ErrorResponse.g.cs -------------------------------------------------------------------------------- /src/libs/HuggingFace/Generated/HuggingFace.Models.GenerateTextRequest.Json.g.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tryAGI/HuggingFace/HEAD/src/libs/HuggingFace/Generated/HuggingFace.Models.GenerateTextRequest.Json.g.cs -------------------------------------------------------------------------------- /src/libs/HuggingFace/Generated/HuggingFace.Models.GenerateTextRequest.g.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tryAGI/HuggingFace/HEAD/src/libs/HuggingFace/Generated/HuggingFace.Models.GenerateTextRequest.g.cs -------------------------------------------------------------------------------- /src/libs/HuggingFace/Generated/HuggingFace.Models.GenerateTextRequestOptions.Json.g.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tryAGI/HuggingFace/HEAD/src/libs/HuggingFace/Generated/HuggingFace.Models.GenerateTextRequestOptions.Json.g.cs -------------------------------------------------------------------------------- /src/libs/HuggingFace/Generated/HuggingFace.Models.GenerateTextRequestOptions.g.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tryAGI/HuggingFace/HEAD/src/libs/HuggingFace/Generated/HuggingFace.Models.GenerateTextRequestOptions.g.cs -------------------------------------------------------------------------------- /src/libs/HuggingFace/Generated/HuggingFace.Models.GenerateTextRequestParameters.Json.g.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tryAGI/HuggingFace/HEAD/src/libs/HuggingFace/Generated/HuggingFace.Models.GenerateTextRequestParameters.Json.g.cs -------------------------------------------------------------------------------- /src/libs/HuggingFace/Generated/HuggingFace.Models.GenerateTextRequestParameters.g.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tryAGI/HuggingFace/HEAD/src/libs/HuggingFace/Generated/HuggingFace.Models.GenerateTextRequestParameters.g.cs -------------------------------------------------------------------------------- /src/libs/HuggingFace/Generated/HuggingFace.Models.GenerateTextResponseValue.Json.g.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tryAGI/HuggingFace/HEAD/src/libs/HuggingFace/Generated/HuggingFace.Models.GenerateTextResponseValue.Json.g.cs -------------------------------------------------------------------------------- /src/libs/HuggingFace/Generated/HuggingFace.Models.GenerateTextResponseValue.g.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tryAGI/HuggingFace/HEAD/src/libs/HuggingFace/Generated/HuggingFace.Models.GenerateTextResponseValue.g.cs -------------------------------------------------------------------------------- /src/libs/HuggingFace/Generated/HuggingFace.PathBuilder.g.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tryAGI/HuggingFace/HEAD/src/libs/HuggingFace/Generated/HuggingFace.PathBuilder.g.cs -------------------------------------------------------------------------------- /src/libs/HuggingFace/Generated/HuggingFace.Polyfills.g.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tryAGI/HuggingFace/HEAD/src/libs/HuggingFace/Generated/HuggingFace.Polyfills.g.cs -------------------------------------------------------------------------------- /src/libs/HuggingFace/Generated/JsonConverters.UnixTimestamp.g.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tryAGI/HuggingFace/HEAD/src/libs/HuggingFace/Generated/JsonConverters.UnixTimestamp.g.cs -------------------------------------------------------------------------------- /src/libs/HuggingFace/HuggingFace.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tryAGI/HuggingFace/HEAD/src/libs/HuggingFace/HuggingFace.csproj -------------------------------------------------------------------------------- /src/libs/HuggingFace/generate.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tryAGI/HuggingFace/HEAD/src/libs/HuggingFace/generate.sh -------------------------------------------------------------------------------- /src/libs/HuggingFace/openapi.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tryAGI/HuggingFace/HEAD/src/libs/HuggingFace/openapi.yaml -------------------------------------------------------------------------------- /src/tests/HuggingFace.IntegrationTests/HuggingFace.IntegrationTests.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tryAGI/HuggingFace/HEAD/src/tests/HuggingFace.IntegrationTests/HuggingFace.IntegrationTests.csproj -------------------------------------------------------------------------------- /src/tests/HuggingFace.IntegrationTests/Tests.Gpt2.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tryAGI/HuggingFace/HEAD/src/tests/HuggingFace.IntegrationTests/Tests.Gpt2.cs -------------------------------------------------------------------------------- /src/tests/HuggingFace.IntegrationTests/Tests.Phi3.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tryAGI/HuggingFace/HEAD/src/tests/HuggingFace.IntegrationTests/Tests.Phi3.cs -------------------------------------------------------------------------------- /src/tests/HuggingFace.IntegrationTests/Tests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tryAGI/HuggingFace/HEAD/src/tests/HuggingFace.IntegrationTests/Tests.cs --------------------------------------------------------------------------------