Skip to content

BinkyLabs/openai-analyzers

Repository files navigation

OpenAI Analyzers

Build, test and publish dotnet NuGet

A collection of Roslyn analyzers for detecting security and best practice issues when using the OpenAI .NET SDK.

Analyzers

Code Title Severity Status
BOA001 Avoid inputs in SystemChatMessage ⚠️ ✔️
BOA002 A SystemChatMessage should be last ⚠️ ✔️

Installation

Via the command line

dotnet add package BinkyLabs.OpenAI.Analyzers --prerelease

In CSProj file

<!-- x-release-please-start-version -->
<PackageReference Include="BinkyLabs.OpenAI.Analyzers" Version="1.0.0-preview.4" PrivateAssets="all" />
<!-- x-release-please-end -->

Building

dotnet build

Testing

dotnet test

Contributing

See CONTRIBUTING.md for contribution guidelines.

License

See LICENSE for license information.

About

Analyzers for the dotnet OpenAI SDK to help you implement better practices with AI

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Contributors 5

Languages