by CPI Staff | Jul 29, 2025 | AI, Blog, OpenAI
This post provides a comprehensive guide on counting tokens using the OpenAI Python SDK, covering Python virtual environments, managing your OpenAI API key securely, and the role of the requirements.txt file. In the world of Large Language Models (LLMs) and Artificial...
by CPI Staff | Jul 26, 2025 | AI, Blog, PyTorch
The softmax function is a cornerstone of machine learning, especially in tasks involving classification. It transforms raw prediction scores (logits) into probabilities, making them easy to interpret and use for decision-making. This blog post will dive deep into what...
by CPI Staff | Jul 25, 2025 | AI, Blog, PyTorch
In this blog post titled “Understanding Transformers: The Architecture Driving AI Innovation,” we’ll delve into what Transformer architecture is, how it works, the essential tools we use to build transformer-based models, some technical insights, and...
by CPI Staff | Jul 21, 2025 | AI, Blog, Machine Learning, PyTorch
This post will walk you through what PyTorch is, how it’s used in ML and LLM development, and how you can start running it in Azure ML using Jupyter notebooks. If you’re working on deep learning, computer vision, or building large language models (LLMs),...
by CPI Staff | May 1, 2025 | .NET, AI, Blazor, Blog, C#, OpenAI
In this blog post, we’ll show you how to Build a Blazor .NET App that Recognizes Images with OpenAI. You’ll see how we securely upload image files, send them to OpenAI’s API, and return a natural-language response—seamlessly integrated into a modern web interface....
by CPI Staff | Apr 29, 2025 | .NET, AI, Blog, OpenAI
In this OpenAI and Azure blog post, we will show you how to Protect Your OpenAI .NET Apps from Prompt Injection Attacks effectively. Table of contentsWhy Prompt Injection MattersSetting Up the ProtectionInstall Required PackagesThe Full Protection WorkflowExample C#...