API reference
Every public type of the five IntentSharp packages, with its members. The pages are written from the packages on every site build, so the names and signatures are the ones you compile against. The menu on the left lists the types by namespace. For how the types work together, start with the quick start and the guides in Docs & Support.
IntentSharp
The client, its options, typed and collection calls, results, providers, documents, targets and licensing.
- IntentSharp: the client (IntentClientBuilder, IntentClient), its options and per-call options, and the base exception of the library.
- IntentSharp.Extensions: the call methods on values and collections.
- IntentSharp.Results: the result of a call, its attempts and its issues.
- IntentSharp.Providers: the provider interface, the provider file's entries and roles, secret references, requests, replies and exceptions.
- IntentSharp.Verification: the judge.
- IntentSharp.Attributes: an intent declared on a method, its constraints, and validators for your result types.
- IntentSharp.Documents: the document stores that keep versioned files, such as the provider file, with their history.
- IntentSharp.Edits: proposing an edit to a document and the writer that applies it.
- IntentSharp.Guardrails: rule sets, the checkpoints they apply at, and the settings.
- IntentSharp.Targets: a technology connected as a target, and the runtime that plans, checks and runs its commands.
- IntentSharp.ChangeDetection: changes to the documents, the providers and the targets a client works with.
- IntentSharp.Mapping: mappings between shapes, compiled once and reused.
- IntentSharp.Trials: runs of two versions side by side.
- IntentSharp.Memory: memory.
- IntentSharp.Resilience: the request cache and rate limiting.
- IntentSharp.Prompting: what one call holds before it goes to a provider.
- IntentSharp.DependencyInjection: registering IntentSharp with dependency injection.
- IntentSharp.Licensing: the license state and license errors.
- IntentSharp.Testing: a provider with scripted replies, and a contract check for a target, for tests.
IntentSharp.Catalog
- IntentSharp.Catalog: intent files, the catalog that loads them, and running an intent by name.
IntentSharp.Guardrails
- IntentSharp.Guardrails: rule sets kept as rule files in a document store, the validator that checks a new version of one, and YAML documents. The namespace is shared with the core's rule set types.
IntentSharp.Extensions.AI
- IntentSharp.Extensions.AI: IntentSharp on any
IChatClient, and intents as tools for an agent.
IntentSharp.Specialist
- IntentSharp.Specialist: models defined per intent: the runtime, the specialist service seam, offers, fit checks, the stores and the held specialists.
- IntentSharp.Specialist.Testing: a specialist service with scripted offers, and a contract check for a service adapter, for tests.