GenCode

The GenCode library is a first-of-its-kind powerful ORM for LLM like GPT4 for incorporating advanced artificial intelligence capabilities, particularly in natural language processing, into your .NET applications. With a seamless integration process, this package empowers developers to harness the full potential of AI within their projects, much like how a traditional ORM simplifies database interactions. With its easy-to-use API and seamless integration process, this package empowers developers to harness the full potential of natural language processing within their projects. The library supports various language tasks, including text generation, sentiment analysis, and more, and is continuously updated with new features and improvements. Comprehensive documentation and examples are available to facilitate rapid integration and adoption.


Keywords
AI-adaptability, AI-benefits, AI-effectiveness, AI-efficiency, AI-flexibility, AI-implementation, AI-innovation, AI-integration, AI-response-management, AI-scalability-management, AI-transformation, AI-value, C#, CSharp, Deepinfra, GPT4, LLM, NLP, ORM, ai, artificial-intelligence, automation, cross-platform, data, developer-tools, dotnet, framework, improvement, innovation, library, natural-language-processing, open-source, productivity, programming, sentiment-analysis, technology, text-analytics, text-generation, utility, developer-tool, llm-inference
License
MIT
Install
Install-Package GenCode -Version 1.0.2

Documentation

GenCode

GenCode

AppVeyor GitHub release NuGet package NuGet contributions welcome

License

Description

Note: Not usable at the moment, Avoid usage

The GenCode library is a powerful tool for incorporating advanced language modeling capabilities into your .NET applications. With its easy-to-use API and seamless integration process, this package empowers developers to harness the full potential of natural language processing within their projects. The library supports various language tasks, including text generation, sentiment analysis, and more, and is continuously updated with new features and improvements. Comprehensive documentation and examples are available to facilitate rapid integration and adoption.

Features

  • Easy-to-use API for interacting with advanced language models.
  • Seamless integration into your .NET Standard 2.1 projects.
  • Support for various language tasks, including text generation, sentiment analysis, and more.
  • Comprehensive documentation and examples to facilitate rapid integration and adoption.
  • Support for .NET 6 and above.
  • New features and improvements added regularly.
  • Ability to update object properties using natural language descriptions.
  • images/vision not supported at this time

Installation

You can install GenCode via NuGet Package Manager:

nuget install GenCode

Getting started

Explain how to use your package, provide clear and concise getting started instructions, including any necessary steps.

Prerequisites

.NET Standard 2.1 or above

Usage

Here's an example of how to use GenCode to update an object's properties using a natural language description:

        using GenCode;

        // Story 1
        var story1 = new Story
        {
            Id = 1,
            Title = "The Lost Treasure",
            Description = "A group of adventurers embarks on a journey to find a lost treasure hidden deep within a mysterious jungle.",
            CreatedAt = DateTime.Now.AddDays(-30),
            UpdatedAt = DateTime.Now.AddDays(-15)
        };
        var gencode = new GenCode.GenCode(Environment.GetEnvironmentVariable("DefaultLLM_API_KEY"));
        Story result = gencode.FillObject<Story>("Update Description to be more datailed", story1).Result;
        Console.WriteLine(result.Description);
        using GenCode;

        var story1 = new Story
 {
     Id = 1,
     Title = "The Lost Treasure",
     Description = "A group of adventurers embarks on a journey to find a lost treasure hidden deep within a mysterious jungle.",
     CreatedAt = DateTime.Now.AddDays(-30),
     UpdatedAt = DateTime.Now.AddDays(-15)
 };
 var story2 = new Story
 {
     Id = 2,
     Title = "The Treasure planet",
     Description = "A futuristic reimagining of Robert Louis Stevenson's classic 'Treasure Island' set in space.",
     CreatedAt = DateTime.Now.AddDays(-70),
     UpdatedAt = DateTime.Now.AddDays(-13)
 };
 var stories = new List<Story>() { story1 , story2 };
 var gencode = new GenCode.GenCode(Environment.GetEnvironmentVariable("DefaultLLM_API_KEY"));
 List<Story> result = gencode.FillCollection<Story>("Update Description to be more datailed", stories.AsEnumerable()).Result.ToList();
 foreach (var resultItem in result)
 {
     Console.WriteLine(resultItem.Description);
 }

For more examples and detailed documentation, please visit our GitHub repository.

Additional documentation

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Feedback

We welcome feedback from our users! If you have any questions, suggestions, or issues, please open an issue on our GitHub repository or join our Discord channel. You can also follow us on Twitter for updates and announcements.

Changelog

v 0.0.0 - Initial Architechture