by CPI Staff | Aug 24, 2025 | AI, Blog, OpenAI
In this article, we’ll explore How to Use the tiktoken Tokenizer, why it matters, and practical ways you can apply it in your projects to better control prompts, estimate API costs, and optimize large text inputs. Table of contentsWhy Tokenization MattersInstalling...
by CPI Staff | Aug 21, 2025 | AI, AI Agents, Blog, OpenAI, Python
This OpenAI post “Build Git MCP Server with the OpenAI Agents SDK” shows how to implement an MCP Server into an agent. Table of contentsWhat’s the Git MCP server?Why MCP with the Agents SDK?Packages you needComponents in the codeTypes of MCP servers...
by CPI Staff | Aug 20, 2025 | AI, AI Agents, Blog, OpenAI, Python
This OpenAI Agent post “Building Guardrails in the OpenAI Agent SDK” will explain how to implement a gurdrail system that protact the Agent from misuse. Table of contentsWhat Are Guardrails?Example: A Python-Only GuardrailIntegrating Guardrails Into the...
by CPI Staff | Aug 18, 2025 | AI Agents, Blog, OpenAI, Python
This post “Build a Multi-Agent Assistant in Python with the OpenAI Agents SDK” shows how to build an AI agent that can (a) generate secure passwords, (b) tell the current time, and (c) hand off coding questions to a Python-tutor sub-agent. Along the way,...
by CPI Staff | Aug 14, 2025 | AI, Blog, OpenAI, Python, WordPress
This blog post, “Turn WordPress Posts into “Voice Blogs” with Python + OpenAI TTS” will show you how to pull posts from a WordPress site via the REST API, converts the article content to speech using OpenAI’s Text-to-Speech (TTS), saves an MP3, and...
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...