Docchemy 1.0.0

dotnet add package Docchemy --version 1.0.0
                    
NuGet\Install-Package Docchemy -Version 1.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Docchemy" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Docchemy" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Docchemy" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Docchemy --version 1.0.0
                    
#r "nuget: Docchemy, 1.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Docchemy@1.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Docchemy&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=Docchemy&version=1.0.0
                    
Install as a Cake Tool

Docchemy

Türkçe

Docchemy bir .NET kütüphanesidir ve yazılım projelerinde otomatik dokümantasyon üretimi sağlamak için geliştirilmiştir. Bu kütüphane, proje analizleri yaparak sınıflar, metodlar ve yorum satırlarından faydalanır ve bu verileri kullanarak OpenAI API ile semantik bir dokümantasyon oluşturur.

Özellikler

  • Proje içindeki sınıfları ve metodları analiz eder.
  • Otomatik olarak OpenAI API kullanarak açıklamalar oluşturur.
  • PDF olarak dökümantasyon oluşturma imkanı sunar.

Kullanılan Model

  • Varsayılan model: qwen/qwq-32b:free

  • Bu model, OpenAI API üzerinden kullanılır.

  • Kullanıcılar modeli değiştirebilir. Aşağıda örnek bir yapılandırma gösterilmektedir:

    builder.Services.AddDocchemyOpenAIBinding(options => {
        options.ApiKey = "YOUR_API_KEY";
        options.ModelId = "NEW_MODEL_ID";  // Burada modeli değiştirebilirsiniz
    });
    

Enable Etme

Docchemy'yi etkinleştirmek için EnableDocumentation özelliğini kullanarak dökümantasyon üretimi için yapılandırma yapabilirsiniz. Bu özellik, kullanıcının dökümantasyon üretim işlemini aktif hale getirmesini sağlar.

  • Varsayılan olarak, dökümantasyon üretimi aktif değildir. Aşağıda örnek bir şekilde nasıl etkinleştirileceği gösterilmektedir:

    builder.Services.AddDocchemyOpenAIBinding(options => {
        options.ApiKey = "YOUR_API_KEY";
        options.EnableDocumentation = true;  // Burada dökümantasyon oluşturma özelliğini etkinleştiriyoruz
    });
    

Kurulum

  1. NuGet üzerinden yükleme:

    dotnet add package Docchemy
    
  2. Yükleme Sonrası Yapılandırma: Projeye AddDocchemyOpenAIBinding methodunu ekleyerek OpenAI API anahtarını ve isteğe bağlı ayarları yapılandırabilirsiniz.

    builder.Services.AddDocchemyOpenAIBinding(options => options.ApiKey = "YOUR_API_KEY");
    

Kullanım

Dokümantasyon üretmek için aşağıdaki gibi yapılandırmanızı yapabilirsiniz:

// Belge oluşturulması işlemi başlatılır
await builder.Services.AddDocchemyOpenAIBinding(options => options.ApiKey = "YOUR_API_KEY");

English

Docchemy is a .NET library designed to generate automatic documentation for software projects. This library analyzes your project and uses class, method, and comment data to create semantic documentation through the OpenAI API.

Features

  • Analyzes classes and methods within your project.
  • Automatically generates explanations using the OpenAI API.
  • Allows generating documentation in PDF format.

Default Model

  • The default model is: qwen/qwq-32b:free

  • This model is used via the OpenAI API.

  • Users can change the model. Here's an example of how to configure it:

    builder.Services.AddDocchemyOpenAIBinding(options => {
        options.ApiKey = "YOUR_API_KEY";
        options.ModelId = "NEW_MODEL_ID";  // You can change the model here
    });
    

Enabling Documentation

By default, documentation generation is disabled. To enable it, you need to configure the EnableDocumentation option as shown below. This allows users to activate the documentation generation process.

  • By setting EnableDocumentation to true, you enable the documentation creation process:

    builder.Services.AddDocchemyOpenAIBinding(options => {
        options.ApiKey = "YOUR_API_KEY";
        options.EnableDocumentation = true;  // Enable documentation generation
    });
    

Installation

  1. Install via NuGet:

    dotnet add package Docchemy
    
  2. Configuration After Installation: You can configure the OpenAI API key and other optional settings by adding the AddDocchemyOpenAIBinding method to your project.

    builder.Services.AddDocchemyOpenAIBinding(options => options.ApiKey = "YOUR_API_KEY");
    

Usage

To start generating documentation, you can configure it like this:

// Documentation generation process starts
await builder.Services.AddDocchemyOpenAIBinding(options => options.ApiKey = "YOUR_API_KEY");

Diğer Notlar:

  • OpenAI API anahtarınız gereklidir. API anahtarınızı OpenAI üzerinden alabilirsiniz. Ücretsiz modelleri OpenRouter, HuggingFace üzerinden bulup entegre edebilirsiniz.
  • Bu kütüphane, proje derlenirken otomatik olarak çalışarak dokümantasyon üretir.
  • PDF dökümantasyonu oluşturma özelliği, projede DinkToPdf gibi bir kütüphane ile entegre edilmiştir.
Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  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 was computed.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0 122 4/12/2025