├── .github └── workflows │ └── nuget-publish.yml ├── .gitignore ├── LICENSE ├── OllamaApiFacade.DemoWebApi ├── AzureKeyVaultHelper.cs ├── OllamaApiFacade.DemoWebApi.csproj ├── Plugins │ └── TimeInformationPlugin.cs ├── Program.cs ├── Properties │ └── launchSettings.json ├── appsettings.Development.json └── appsettings.json ├── OllamaApiFacade.sln ├── OllamaApiFacade ├── Assets │ ├── PackageIcon.png │ └── demo.gif ├── DTOs │ ├── ChatRequest.cs │ ├── ChatResponse.cs │ ├── Choice.cs │ ├── CompletionRequest.cs │ ├── CompletionResponse.cs │ ├── Message.cs │ └── Usage.cs ├── Diagnostics │ ├── DebugProxyNotRunningException.cs │ └── ProxyHttp2IncompatibilityException.cs ├── Extensions │ ├── ChatEndpointExtensions.cs │ ├── ChatMessageExtensions.cs │ ├── HttpContextExtensions.cs │ ├── KernelBuilderExtensions.cs │ ├── OllamaBackendFacadeExtensions.cs │ ├── ProxyConfigurationExtensions.cs │ ├── SemanticKernelMapperExtensions.cs │ ├── ServiceBuilderExtensions.cs │ ├── WebApplicationExtensions.cs │ └── WebHostBuilderExtensions.cs ├── Middlewares │ └── JsonRequestLoggerMiddleware.cs ├── OllamaApiFacade.csproj └── Services │ ├── LmStudioEmbeddingGenerationService.cs │ └── LmStudioEmbeddingGenerator.cs └── README.md /.github/workflows/nuget-publish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregorBiswanger/OllamaApiFacade/HEAD/.github/workflows/nuget-publish.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregorBiswanger/OllamaApiFacade/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregorBiswanger/OllamaApiFacade/HEAD/LICENSE -------------------------------------------------------------------------------- /OllamaApiFacade.DemoWebApi/AzureKeyVaultHelper.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregorBiswanger/OllamaApiFacade/HEAD/OllamaApiFacade.DemoWebApi/AzureKeyVaultHelper.cs -------------------------------------------------------------------------------- /OllamaApiFacade.DemoWebApi/OllamaApiFacade.DemoWebApi.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregorBiswanger/OllamaApiFacade/HEAD/OllamaApiFacade.DemoWebApi/OllamaApiFacade.DemoWebApi.csproj -------------------------------------------------------------------------------- /OllamaApiFacade.DemoWebApi/Plugins/TimeInformationPlugin.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregorBiswanger/OllamaApiFacade/HEAD/OllamaApiFacade.DemoWebApi/Plugins/TimeInformationPlugin.cs -------------------------------------------------------------------------------- /OllamaApiFacade.DemoWebApi/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregorBiswanger/OllamaApiFacade/HEAD/OllamaApiFacade.DemoWebApi/Program.cs -------------------------------------------------------------------------------- /OllamaApiFacade.DemoWebApi/Properties/launchSettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregorBiswanger/OllamaApiFacade/HEAD/OllamaApiFacade.DemoWebApi/Properties/launchSettings.json -------------------------------------------------------------------------------- /OllamaApiFacade.DemoWebApi/appsettings.Development.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregorBiswanger/OllamaApiFacade/HEAD/OllamaApiFacade.DemoWebApi/appsettings.Development.json -------------------------------------------------------------------------------- /OllamaApiFacade.DemoWebApi/appsettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregorBiswanger/OllamaApiFacade/HEAD/OllamaApiFacade.DemoWebApi/appsettings.json -------------------------------------------------------------------------------- /OllamaApiFacade.sln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregorBiswanger/OllamaApiFacade/HEAD/OllamaApiFacade.sln -------------------------------------------------------------------------------- /OllamaApiFacade/Assets/PackageIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregorBiswanger/OllamaApiFacade/HEAD/OllamaApiFacade/Assets/PackageIcon.png -------------------------------------------------------------------------------- /OllamaApiFacade/Assets/demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregorBiswanger/OllamaApiFacade/HEAD/OllamaApiFacade/Assets/demo.gif -------------------------------------------------------------------------------- /OllamaApiFacade/DTOs/ChatRequest.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregorBiswanger/OllamaApiFacade/HEAD/OllamaApiFacade/DTOs/ChatRequest.cs -------------------------------------------------------------------------------- /OllamaApiFacade/DTOs/ChatResponse.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregorBiswanger/OllamaApiFacade/HEAD/OllamaApiFacade/DTOs/ChatResponse.cs -------------------------------------------------------------------------------- /OllamaApiFacade/DTOs/Choice.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregorBiswanger/OllamaApiFacade/HEAD/OllamaApiFacade/DTOs/Choice.cs -------------------------------------------------------------------------------- /OllamaApiFacade/DTOs/CompletionRequest.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregorBiswanger/OllamaApiFacade/HEAD/OllamaApiFacade/DTOs/CompletionRequest.cs -------------------------------------------------------------------------------- /OllamaApiFacade/DTOs/CompletionResponse.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregorBiswanger/OllamaApiFacade/HEAD/OllamaApiFacade/DTOs/CompletionResponse.cs -------------------------------------------------------------------------------- /OllamaApiFacade/DTOs/Message.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregorBiswanger/OllamaApiFacade/HEAD/OllamaApiFacade/DTOs/Message.cs -------------------------------------------------------------------------------- /OllamaApiFacade/DTOs/Usage.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregorBiswanger/OllamaApiFacade/HEAD/OllamaApiFacade/DTOs/Usage.cs -------------------------------------------------------------------------------- /OllamaApiFacade/Diagnostics/DebugProxyNotRunningException.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregorBiswanger/OllamaApiFacade/HEAD/OllamaApiFacade/Diagnostics/DebugProxyNotRunningException.cs -------------------------------------------------------------------------------- /OllamaApiFacade/Diagnostics/ProxyHttp2IncompatibilityException.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregorBiswanger/OllamaApiFacade/HEAD/OllamaApiFacade/Diagnostics/ProxyHttp2IncompatibilityException.cs -------------------------------------------------------------------------------- /OllamaApiFacade/Extensions/ChatEndpointExtensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregorBiswanger/OllamaApiFacade/HEAD/OllamaApiFacade/Extensions/ChatEndpointExtensions.cs -------------------------------------------------------------------------------- /OllamaApiFacade/Extensions/ChatMessageExtensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregorBiswanger/OllamaApiFacade/HEAD/OllamaApiFacade/Extensions/ChatMessageExtensions.cs -------------------------------------------------------------------------------- /OllamaApiFacade/Extensions/HttpContextExtensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregorBiswanger/OllamaApiFacade/HEAD/OllamaApiFacade/Extensions/HttpContextExtensions.cs -------------------------------------------------------------------------------- /OllamaApiFacade/Extensions/KernelBuilderExtensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregorBiswanger/OllamaApiFacade/HEAD/OllamaApiFacade/Extensions/KernelBuilderExtensions.cs -------------------------------------------------------------------------------- /OllamaApiFacade/Extensions/OllamaBackendFacadeExtensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregorBiswanger/OllamaApiFacade/HEAD/OllamaApiFacade/Extensions/OllamaBackendFacadeExtensions.cs -------------------------------------------------------------------------------- /OllamaApiFacade/Extensions/ProxyConfigurationExtensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregorBiswanger/OllamaApiFacade/HEAD/OllamaApiFacade/Extensions/ProxyConfigurationExtensions.cs -------------------------------------------------------------------------------- /OllamaApiFacade/Extensions/SemanticKernelMapperExtensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregorBiswanger/OllamaApiFacade/HEAD/OllamaApiFacade/Extensions/SemanticKernelMapperExtensions.cs -------------------------------------------------------------------------------- /OllamaApiFacade/Extensions/ServiceBuilderExtensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregorBiswanger/OllamaApiFacade/HEAD/OllamaApiFacade/Extensions/ServiceBuilderExtensions.cs -------------------------------------------------------------------------------- /OllamaApiFacade/Extensions/WebApplicationExtensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregorBiswanger/OllamaApiFacade/HEAD/OllamaApiFacade/Extensions/WebApplicationExtensions.cs -------------------------------------------------------------------------------- /OllamaApiFacade/Extensions/WebHostBuilderExtensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregorBiswanger/OllamaApiFacade/HEAD/OllamaApiFacade/Extensions/WebHostBuilderExtensions.cs -------------------------------------------------------------------------------- /OllamaApiFacade/Middlewares/JsonRequestLoggerMiddleware.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregorBiswanger/OllamaApiFacade/HEAD/OllamaApiFacade/Middlewares/JsonRequestLoggerMiddleware.cs -------------------------------------------------------------------------------- /OllamaApiFacade/OllamaApiFacade.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregorBiswanger/OllamaApiFacade/HEAD/OllamaApiFacade/OllamaApiFacade.csproj -------------------------------------------------------------------------------- /OllamaApiFacade/Services/LmStudioEmbeddingGenerationService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregorBiswanger/OllamaApiFacade/HEAD/OllamaApiFacade/Services/LmStudioEmbeddingGenerationService.cs -------------------------------------------------------------------------------- /OllamaApiFacade/Services/LmStudioEmbeddingGenerator.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregorBiswanger/OllamaApiFacade/HEAD/OllamaApiFacade/Services/LmStudioEmbeddingGenerator.cs -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregorBiswanger/OllamaApiFacade/HEAD/README.md --------------------------------------------------------------------------------