KhueApps
Home/AI Engineering

AI Engineering

This category is for readers who are familiar with code. We will explore the design, development, and deployment of AI systems that can solve real-world problems.

Explaining Context Window When Using OpenAI API

Explaining Context Window When Using OpenAI API

Updated: Jan 31, 2025
When working with OpenAI’s API, one of the most critical aspects to understand is the context window. The context window determines how much text the model can process at a time, including both the input (prompt) and the output (generated......
Understanding OpenAI API Tokens

Understanding OpenAI API Tokens

Updated: Jan 31, 2025
OpenAI’s API tokens are fundamental to interacting with models such as GPT-4, GPT-4o, and GPT-3.5. Understanding how tokens work helps developers optimize costs, improve model efficiency, and ensure better response quality. This article......
OpenAI API: Comparing GPT-4o vs. GPT-4o-Mini in Cost & Performance

OpenAI API: Comparing GPT-4o vs. GPT-4o-Mini in Cost & Performance

Updated: Jan 31, 2025
OpenAI's GPT-4o and GPT-4o-Mini models offer distinct advantages in terms of performance and cost, catering to various application needs. This article provides an in-depth comparison between these two models, focusing on their......
How to Use OpenAI API for Text Embeddings

How to Use OpenAI API for Text Embeddings

Updated: Jan 30, 2025
Text embeddings are a powerful way to convert text into numerical representations that capture semantic meaning. OpenAI provides a robust API for generating embeddings, which can be used for various applications such as search, clustering,......
Making Async API Calls with OpenAI Chat Completion API (Python)

Making Async API Calls with OpenAI Chat Completion API (Python)

Updated: Jan 30, 2025
Asynchronous programming is essential when working with APIs that require network requests, as it prevents blocking your application while waiting for responses. The OpenAI Chat Completion API is widely used for chatbot applications,......
How to Set a Budget Limit When Using OpenAI API

How to Set a Budget Limit When Using OpenAI API

Updated: Jan 25, 2025
Using OpenAI’s API can be incredibly powerful, but without proper monitoring and budget control, costs can quickly escalate. To ensure that you stay within a comfortable spending range, OpenAI provides tools to help you set and manage......
How to create a new OpenAI API key

How to create a new OpenAI API key

Updated: Jan 25, 2025
OpenAI's API offers a powerful way to integrate advanced AI features into your applications. To start using the API, you’ll need an API key. This article provides a step-by-step guide to creating a new OpenAI API key.Step 1: Log in to......
How to Manage (Restrict, Delete) OpenAI API Keys

How to Manage (Restrict, Delete) OpenAI API Keys

Updated: Jan 25, 2025
Managing your OpenAI API keys effectively is crucial to ensure security and control over your API usage. This article will guide you through the steps to restrict and delete OpenAI API keys, helping you maintain a secure environment for......