LINUX &&|| PROGRAMMING
138 subscribers
965 photos
54 videos
17 files
1.11K links
Linux jest systemem wymarzonym dla programistów. W końcu sami dla siebie go stworzyli 😃 Łatwo się w nim programuje...
Ale wśród użytkowników telegrama jest chyba mniej popularny niż ogólnie na świecie, więc na razie na tym kanale głównie są memy 😃
Download Telegram
A tour of C# - Overview - C# | #Microsoft
https://learn.microsoft.com/en-us/dotnet/csharp/tour-of-csharp/

#Csharp to ładny język, ale całkowicie we władzy korporacji #M$ który robi jemu oraz używającym go programistom straszne rzeczy 😛
(głównie brak kompatybilności wstecznej)

#kompilowany do kodu pośredniego przed wykonaniem ostatecznie dopasowywanego do platformy.
Forwarded from Programming Tips 💡 (Moien Tajik)
OpenAI .NET 👾

The OpenAI .NET library provides convenient access to the OpenAI REST API from .NET applications. ✔️

The full API of this library can be found in the api.md file, and there are many code examples to help. For instance, the following snippet illustrates the basic use of the chat completions API:

ChatClient client = new(model: "gpt-4o", "OPENAI_API_KEY");

ChatCompletion completion = client.CompleteChat("Say 'this is a test.'");

Console.WriteLine($"[ASSISTANT]: {completion}");


The library is organized into several namespaces corresponding to OpenAI feature areas. Each namespace contains a corresponding client class:

AssistantClient
AudioClient
BatchClient
ChatClient
EmbeddingClient
FineTuningClient
FileClient
ImageClient
ModelClient
ModerationClient
VectorStoreClient


[ GitHub ] : https://github.com/openai/openai-dotnet

〰️〰️〰️〰️〰️〰️
#AI #OpenAI #DotNet #CSharp
@ProgrammingTip
Please open Telegram to view this post
VIEW IN TELEGRAM