Git Product home page Git Product logo

dotnetprompt's Introduction

Hi there 👋, Pavel here

About Me

Senior Software Engineer with 13+ years of experience in .NET development.

Tech Stack

I worked professionally with these technologies during my career journey:

  • Desktop: WinForms, WPF, WinRT
  • Mobile: Mono, Xamarin
  • Web: ASP.NET WebAPI, ASP.NET MVC, Blazor, Razor Pages
  • Cloud: Azure (Functions, Storage, SQL, API Management), AWS

Experience Highlights

  • Enterprise-level development
  • Hackathon enthusiast: Won a dozen, including PayPal BattleHack and HackJunction
  • Startup founder: Launched a couple with varying degrees of success
  • Wannabe indie-hacker: Building stuff for fun and profit in my spare time

What am I doing these days:

  • 👀 Exploring htmx🤝dotnet combo
  • 🏗️Building https://openpost.email
  • 🧰Designing a self-hosted dotnet toolbox for SAAS apps
  • 🌄Writing a comprehensive REST API guide
  • 🚶‍♂️Hiking through the entire National Blue Trail in Hungary
  • 🚋Nomading in Balkans

dotnetprompt's People

Contributors

xakpc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

dotnetprompt's Issues

[Question] How to configure the OpenAI API key?

Hi,
I am new to .NET Core 6 and working on a MVC project. Do you know how to set up the API key while using DI?

I've been followed your suggestion put the following code inside Program.cs:

`builder.Configuration.AddJsonFile("appsettings.json");
// Read the key via
// builder.Configuration["OpenAI:ApiKey"]

builder.Services.AddOpenAIModel();`

And inject it into my controller:

private readonly ILargeLanguageModel _llm;

I am wondering how I can set up the API key from appsettings.json into ILargeLanguageModel. In addition, how can I use these models inside my controller? Could you please elaborate more details?

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.