Intentum.AI.OpenAI
0.0.1
See the version list below for details.
dotnet add package Intentum.AI.OpenAI --version 0.0.1
NuGet\Install-Package Intentum.AI.OpenAI -Version 0.0.1
<PackageReference Include="Intentum.AI.OpenAI" Version="0.0.1" />
<PackageVersion Include="Intentum.AI.OpenAI" Version="0.0.1" />
<PackageReference Include="Intentum.AI.OpenAI" />
paket add Intentum.AI.OpenAI --version 0.0.1
#r "nuget: Intentum.AI.OpenAI, 0.0.1"
#:package Intentum.AI.OpenAI@0.0.1
#addin nuget:?package=Intentum.AI.OpenAI&version=0.0.1
#tool nuget:?package=Intentum.AI.OpenAI&version=0.0.1
Intentum - Intent-Driven Development for the AI Era
Intentum replaces scenario-based BDD with behavior space inference. It focuses on what the user was trying to do, not just what they did.
English | Türkçe
Why Intentum?
- Non-deterministic flows are now common.
- AI-driven systems adapt and drift.
- Assertions are too rigid; intent is more realistic.
When not to use
- Fully deterministic, low-variance systems with stable requirements.
- Small scripts or one-off utilities where behavior drift is irrelevant.
BDD vs Intentum
- BDD: Scenario-driven, deterministic, pass/fail
- Intentum: Behavior-driven, probabilistic, policy decisions
Documentation
- GitHub Pages (EN/TR): https://keremvaris.github.io/Intentum/
- English docs: docs/en/index.md
- Turkish docs: docs/tr/index.md
- Enable in GitHub: Settings → Pages → Source: GitHub Actions
- API reference (auto): https://keremvaris.github.io/Intentum/api/
Core Concepts Behavior Space Observe behavior instead of writing scenarios.
Intent Inference Infer intent from the behavior space and compute confidence.
Policy Decisions Replace pass/fail with policy-driven decisions.
Quick Example
using Intentum.AI.Mock;
using Intentum.AI.Models;
using Intentum.AI.Similarity;
using Intentum.Core;
using Intentum.Core.Behavior;
using Intentum.Runtime.Policy;
var space = new BehaviorSpace()
.Observe("user", "login")
.Observe("user", "retry")
.Observe("user", "submit");
var intentModel = new LlmIntentModel(
new MockEmbeddingProvider(),
new SimpleAverageSimilarityEngine());
var intent = intentModel.Infer(space);
var policy = new IntentPolicy()
.AddRule(new PolicyRule(
"HighConfidenceAllow",
i => i.Confidence.Level is "High" or "Certain",
PolicyDecision.Allow));
var decision = intent.Decide(policy);
Run the sample
dotnet run --project samples/Intentum.Sample
Showcase output (trimmed)
=== INTENTUM SCENARIO: PaymentHappyPath ===
Events : 2
Intent Confidence : High
Decision : Allow
Behavior Vector:
- user:login = 1
- user:submit = 1
=== INTENTUM SCENARIO: PaymentWithRetries ===
Events : 4
Intent Confidence : Medium
Decision : Observe
Behavior Vector:
- user:login = 1
- user:retry = 2
- user:submit = 1
=== INTENTUM SCENARIO: SuspiciousRetries ===
Events : 4
Intent Confidence : Medium
Decision : Block
Behavior Vector:
- user:login = 1
- user:retry = 3
Packages
- Intentum.Core
- Intentum.Runtime
- Intentum.AI
- Intentum.AI.OpenAI
- Intentum.AI.Gemini
- Intentum.AI.Claude
- Intentum.AI.Mistral
- Intentum.AI.AzureOpenAI
Configuration (env vars)
- OPENAI_API_KEY, OPENAI_EMBEDDING_MODEL, OPENAI_BASE_URL
- GEMINI_API_KEY, GEMINI_EMBEDDING_MODEL, GEMINI_BASE_URL
- MISTRAL_API_KEY, MISTRAL_EMBEDDING_MODEL, MISTRAL_BASE_URL
- AZURE_OPENAI_ENDPOINT, AZURE_OPENAI_API_KEY, AZURE_OPENAI_EMBEDDING_DEPLOYMENT, AZURE_OPENAI_API_VERSION
Security
- Never commit API keys. Use environment variables or secret managers.
- Avoid logging raw requests/responses from providers in production.
Note AI adapters are deterministic stubs in v1.0. Real HTTP calls are planned for v1.1.
Releasing and versioning
- Versioning is automatic from git tags via MinVer (
src/Directory.Build.props). No manual version bump in code: tagv1.0.1and build → package version is1.0.1. Tag prefix isv; minimum major.minor is1.0. - Pushing a tag like
v1.0.1triggers GitHub Release and NuGet publish (see.github/workflows/). - Release notes are generated from conventional commits via git-cliff (
cliff.toml). Use prefixes:feat:,fix:,docs:,chore:,ci:, etc. If none are found,CHANGELOG.mdis used as fallback. - On every push to
master, the changelog workflow updatesCHANGELOG.mdfrom conventional commits and commits it (with[skip ci]).
License MIT
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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
- Intentum.AI (>= 0.0.1)
- Intentum.Core (>= 0.0.1)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.2)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Intentum.AI.OpenAI:
| Package | Downloads |
|---|---|
|
Intentum.Providers
Meta-package that references Intentum Core, Runtime, AI, and all AI providers (OpenAI, Gemini, Mistral, Azure OpenAI, Claude). Add this package to get the full set of provider adapters. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.3.2 | 146 | 10/2/2026 |
| 1.3.1 | 103 | 10/2/2026 |
| 1.3.0 | 103 | 10/2/2026 |
| 1.2.5 | 139 | 8/27/2026 |
| 1.2.4 | 118 | 8/26/2026 |
| 1.2.3 | 167 | 6/18/2026 |
| 1.2.2 | 138 | 6/18/2026 |
| 1.2.1 | 142 | 6/18/2026 |
| 1.2.0 | 144 | 6/18/2026 |
| 1.1.10 | 142 | 6/18/2026 |
| 1.1.9 | 156 | 2/22/2026 |
| 1.1.8 | 149 | 2/22/2026 |
| 1.1.7 | 148 | 2/22/2026 |
| 1.1.6 | 148 | 2/2/2026 |
| 1.1.5 | 155 | 2/2/2026 |
| 1.1.4 | 147 | 2/1/2026 |
| 1.1.3 | 145 | 2/1/2026 |
| 1.1.2 | 155 | 2/1/2026 |
| 1.1.1 | 153 | 2/1/2026 |
| 0.0.1 | 134 | 6/18/2026 |