PolyhydraGames.Ollama
3.0.0.84
dotnet add package PolyhydraGames.Ollama --version 3.0.0.84
NuGet\Install-Package PolyhydraGames.Ollama -Version 3.0.0.84
<PackageReference Include="PolyhydraGames.Ollama" Version="3.0.0.84" />
<PackageVersion Include="PolyhydraGames.Ollama" Version="3.0.0.84" />
<PackageReference Include="PolyhydraGames.Ollama" />
paket add PolyhydraGames.Ollama --version 3.0.0.84
#r "nuget: PolyhydraGames.Ollama, 3.0.0.84"
#:package PolyhydraGames.Ollama@3.0.0.84
#addin nuget:?package=PolyhydraGames.Ollama&version=3.0.0.84
#tool nuget:?package=PolyhydraGames.Ollama&version=3.0.0.84
Api.AI
Api.AI is a modular .NET 10 solution for AI abstractions, provider
integrations, REST consumption, and API hosting.
Docs and Kanban
Hermes Kanban is the execution source of truth for active work. Repo-local
docs are tracking/context mirrors and should point back to a Hermes t_*
card.
Tags
- api
- dotnet
- api-ai
- docs
- chat
- ui
Packages
PolyhydraGames.AI.InterfacesPolyhydraGames.OllamaPolyhydraGames.AI.RestApi.ChatGPTPolyhydraGames.AI.WebApi
Quick Start
dotnet restore AI.sln
dotnet build AI.sln -c Release --no-restore
dotnet test AI.sln -c Release --no-build
Publishing
CI publishes PolyhydraGames.AI.Interfaces and PolyhydraGames.Ollama to nuget.org only through an explicit
dispatch of publish-packages.yml on main, with publish_nuget_org=true
and an explicit normalized package_version. The public publish job uses
the GitHub release environment, whose deployment branch policy allows
only the main branch. The existing NuGet trusted-publishing policy for
lancer1977/Api.AI, workflow publish-packages.yml, must also specify
environment release; a feature branch or tag cannot use this policy.
Both package IDs must be covered by the scoped trusted publisher before dispatch.
The public handoff rejects missing, additional, or mismatched-version packages.
Merging this workflow does not publish to nuget.org.
Use ./pub.sh to restore, test, pack, and publish the package libraries.
- GitHub Packages is the default publish target.
- Set
PUBLISH_NUGET_ORG=trueonly when the package should also go to nuget.org. - Set
DRY_RUN=trueto skip pushes. - Use
PACKAGE_API_KEY,GHCR_TOKEN,GITHUB_PACKAGES_TOKEN,GITHUB_TOKEN, orGH_TOKENfor GitHub Packages auth.
For private/internal consumption from GitHub Packages, add the GitHub NuGet source for this organization and authenticate with a GitHub token or PAT:
dotnet nuget add source https://nuget.pkg.github.com/lancer1977/index.json \
--name lancer1977 \
--username YOUR_GITHUB_USERNAME \
--password YOUR_GITHUB_TOKEN \
--store-password-in-clear-text
Test Modes
Default tests are smoke-level and should remain stable in CI.
dotnet test AI.sln -c Release --no-build
Integration tests for Ollama and REST are explicit or environment gated.
OLLAMA_INTEGRATION_TESTS=true dotnet test tests/Ollama.Test/PolyhydraGames.3rdParty.AI.Test.csproj -c Release
Documentation
License
This project is licensed under the MIT License.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Microsoft.Extensions.Http (>= 10.0.9)
- PolyhydraGames.AI (>= 2.0.0.84)
- PolyhydraGames.Core.Interfaces (>= 3.0.0.14)
- PolyhydraGames.Extensions (>= 2.1.1.78)
-
net8.0
- Microsoft.Extensions.Http (>= 10.0.9)
- PolyhydraGames.AI (>= 2.0.0.84)
- PolyhydraGames.Core.Interfaces (>= 3.0.0.14)
- PolyhydraGames.Extensions (>= 2.1.1.78)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.