Tagged articles
OpenAI API
44 articles · Page 1 of 1
This tutorial explains how AI agents use tools via Function Calling, demystifies the @tool decorator by showing how Python introspection generates OpenAI JSON schemas, provides a complete 60-line hand-written agent implementation, and outlines five golden rules for tool design including detailed docstrings, semantic parameter names, limiting tools to 20, single responsibility, and recoverable errors.
AI AgentsAgent Design PatternsFunction Calling
0 likes · 18 min read

OlliteRT lets you run large language models on Android phones with 6GB+ RAM, exposing an OpenAI-compatible API for network clients, supporting model management, multimodal inference, and Home Assistant integration, though limited to .litertlm format and single-model loading.
AndroidEdge ComputingLLM
0 likes · 8 min read

This article traces OpenAI's API evolution across six generations from Completions to Responses API, explains why the open-source ecosystem remains anchored to Chat Completions despite official advances, compares architectural trade-offs between stateless and stateful paradigms, and provides a practical selection guide for engineers building heterogeneous model gateways or agent systems.
API EvolutionChat CompletionsFunction Calling
0 likes · 28 min read

OlliteRT is an open-source Android app that runs large language models locally via Google's LiteRT runtime, exposing an OpenAI-compatible API over LAN for lightweight always-on tasks like RSS summarization and smart home automation, with monitoring, logging, and security features.
AndroidGemmaLLM
0 likes · 11 min read

OlliteRT is an open-source Android app that transforms old phones into local LLM servers exposing OpenAI-compatible APIs, supporting models like Gemma 4 E2B and Qwen 2.5 1.5B with configurable hardware acceleration, monitoring, and Home Assistant integration, all running offline on 5-10W power.
AndroidGemmaHome Automation
0 likes · 10 min read

This guide walks through deploying vLLM on Linux with NVIDIA GPUs and Docker Compose, covering service boundaries, host and container checks, model directory validation, image and parameter verification, minimal startup, Compose configuration, API testing, concurrency tuning, multi‑GPU troubleshooting, Nginx exposure, upgrade/rollback procedures, and daily health checks.
Docker ComposeGPUKV Cache
0 likes · 18 min read

The article explains that GPT‑5.6 entered limited preview on June 26 and began a broader rollout on July 9, introduces the three model variants (Sol, Terra, Luna) with distinct capabilities and pricing, describes how to access the models via ChatGPT, Codex and the OpenAI API, and details why some users may not see the new models yet.
AI model rolloutChatGPTCodex
0 likes · 17 min read


XikeJun 10, 2026 · Artificial Intelligence
This tutorial launches the Agent series by showing how to create a minimal, CLI‑driven entry point that wraps the model API in a Brain.chat() method, configures credentials via a .env file, handles errors gracefully, maintains multi‑turn conversation state, and outlines the project structure and next development steps.
AI agentCLIOpenAI API
0 likes · 15 min read


SuanNiMay 26, 2026 · Artificial Intelligence
The SkyClaw‑v1.0 model from Skywork AI offers a free, soon‑to‑be open‑source large‑language model for agent applications that matches Claude Opus 4.6 in performance while cutting token costs dramatically, and the article details its benchmarks, training pipeline, and deployment recommendations.
AgentOpenAI APISkyClaw
0 likes · 7 min read

OpenAI introduced the open‑source openai‑cli, a native terminal tool that replaces cumbersome SDKs, offering Unix‑style structured output, image generation, speech transcription, project management, and seamless command‑line integration for AI workflows.
AICLIOpenAI
0 likes · 6 min read

DS2API is an open‑source Go‑based service that converts DeepSeek’s web interface into OpenAI, Claude, and Gemini compatible APIs, offering multi‑API support, account pool management, long‑history handling, PoW verification, and a React admin UI, with simple Docker deployment.
API compatibilityDS2APIDeepSeek
0 likes · 4 min read


CodeTrendApr 29, 2026 · Artificial Intelligence
The qwen2API project offers a FastAPI backend and React+Vite frontend that expose the Qwen web chat as OpenAI Chat Completions, Anthropic Messages, and Gemini GenerateContent interfaces, featuring tool calling, image generation, account pool management, multiple deployment options, and various execution engines.
AnthropicFastAPIGemini
0 likes · 6 min read


SuanNiApr 13, 2026 · Artificial Intelligence
This guide walks you through deploying Alibaba’s open‑source Qwen‑3 8B model on the SumW platform using vLLM, covering environment activation, server launch with OpenAI‑compatible parameters, SSH tunneling for remote access, and Python client calls, while highlighting key configuration tips and common pitfalls.
OpenAI APIPython SDKQwen3
0 likes · 6 min read

This article introduces LocalAI, an open‑source Go‑based self‑hosted LLM server that serves as a drop‑in OpenAI API replacement, outlines its key features, privacy and cost benefits, provides a Docker quick‑start guide, and explains its modular architecture for developers seeking private AI solutions.
AI assistantDockerGo
0 likes · 7 min read

This article explains the fundamentals of prompt engineering for large language models, covering LLM output configuration, length and sampling controls, various prompt types, chain‑of‑thought and tree‑of‑thought reasoning methods, and practical best‑practice guidelines for creating high‑quality prompts.
AI Prompt DesignFew-Shot LearningLLM
0 likes · 18 min read

This article walks through configuring OpenClaw as a personal AI infrastructure, covering session isolation, multi‑agent and Feishu bot setups, exposing a standard OpenAI‑compatible API, and automating tasks with custom skills and scheduled jobs.
AI assistantAgent WorkspaceFeishu integration
0 likes · 18 min read

This tutorial explains the OpenAI‑style request and response schema, demonstrates low‑level API calls with the requests library, compares them to the high‑level openai package, and walks through building a streaming multi‑turn chatbot that interacts with a locally hosted large language model.
OpenAI APIPythonchatbot
0 likes · 17 min read

This article walks through two mainstream local deployment solutions—high‑performance VLLM for production Linux servers and lightweight Ollama for personal Windows machines—covering environment setup, model download, server launch, API testing, key configuration parameters, and the quantization technique that makes Ollama models compact.
GPU optimizationOllamaOpenAI API
0 likes · 18 min read

This guide walks through the complete process of deploying a high‑throughput large language model inference service using vLLM, covering environment preparation, installation, configuration tuning, performance testing, real‑world case studies, monitoring, troubleshooting, and backup strategies for production‑grade deployments.
GPU optimizationLLM inferenceOpenAI API
0 likes · 44 min read

This article explains the origins of AI Agent Skills, walks through the standard tool‑use loop, provides step‑by‑step code for defining and invoking Skills with the OpenAI API, compares Skills with the emerging Model Context Protocol (MCP), and offers practical guidance for developers and architects building AI‑enabled systems.
AI agent skillsFunction CallingMCP
0 likes · 11 min read

Amazon Bedrock introduces three service tiers—Priority, Standard, and Flex—enabling developers to match AI workload requirements with the appropriate performance level and cost, supported by concrete usage examples, a selection framework, and monitoring guidance.
AI workloadAmazon BedrockCost Optimization
0 likes · 7 min read

This article explains the concept of Claude Skills, walks through a Go library that parses skill packages, demonstrates a CLI inspector, shows how to run skills with Deepseek‑v3 via an OpenAI‑compatible API, and outlines future security enhancements.
ClaudeDeepSeekGo
0 likes · 13 min read

Recent CMU and Salesforce studies reveal that top‑tier AI agents like Gemini 2.5 Pro, Claude 3.7 Sonnet and GPT‑4o fail in 69‑70% of multi‑step tasks, but MiniMax‑M2’s Interleaved Thinking reduces failure dramatically, highlighting that execution mechanisms, not model size, are key to reliable AI agents.
Agent ReliabilityOpenAI APIbenchmark
0 likes · 17 min read

This guide walks you through installing NVIDIA drivers and Docker, configuring the NVIDIA Container Toolkit, and deploying GPUStack in Docker to manage heterogeneous GPU resources, run large language, multimodal, diffusion, and embedding models, and scale from a single node to a multi‑node GPU cluster.
AI model deploymentDockerGPU cluster
0 likes · 15 min read

This article walks through installing and configuring vLLM for local large language model inference, compares it with Ollama and LM Studio, details environment setup, model download, testing scripts, and shows how to expose an OpenAI‑compatible API for production use.
Inference OptimizationModelScopeOpenAI API
0 likes · 11 min read

This article walks through deploying the high‑performance vLLM LLM inference framework, covering GPU and CPU backend installation, environment setup, offline and online serving, API usage, and a performance comparison that highlights the ten‑fold speed advantage of GPU over CPU.
CPU deploymentGPU deploymentLLM inference
0 likes · 38 min read

This guide walks you through installing NVIDIA drivers, Docker, and the NVIDIA Container Toolkit, then shows step‑by‑step how to run GPUStack in Docker, expand a GPU cluster, and serve large language, multimodal, diffusion, and embedding models with OpenAI‑compatible APIs.
AI model deploymentDockerGPU cluster
0 likes · 15 min read


21CTOMay 8, 2025 · Artificial Intelligence
This tutorial walks you through registering on OpenAI, installing required Python packages, setting up API keys, and writing a Jupyter Notebook that defines a chat function and an interactive loop to create a functional GPT‑3.5 chatbot.
ChatGPTGPT-3.5OpenAI API
0 likes · 7 min read

This tutorial walks through setting up a Node.js environment, creating a TypeScript project, writing a custom OpenAI client, and integrating either Zhipu AI or an Ollama‑deployed model to perform automated code reviews via GitLab CI, complete with build, run, and VS Code debugging steps.
AI code reviewGitLab CINode.js
0 likes · 21 min read


DevOpsJan 6, 2025 · Artificial Intelligence
This article reviews ten mainstream LLM deployment solutions—including WebLLM, LM Studio, Ollama, vLLM, LightLLM, OpenLLM, HuggingFace TGI, GPT4ALL, llama.cpp, and Triton Inference Server—detailing their technical characteristics, strengths, drawbacks, and example deployment workflows for both personal and enterprise environments.
AI inferenceGPU accelerationLLM
0 likes · 16 min read


CSS MagicNov 8, 2024 · Artificial Intelligence
This article explains how to configure key OpenAI chat completion parameters—such as temperature, top_p, streaming, response format, and tool selection—and walks through the structure of the API's JSON response, highlighting fields like id, model, choices, finish_reason, and usage for better control and cost estimation.
AI AgentsAPI parametersJSON response
0 likes · 8 min read


CSS MagicNov 1, 2024 · Artificial Intelligence
This article explains how to automate batch document processing with LLM APIs by mastering the messages parameter, defining system, user, and assistant roles, and iteratively polishing system prompts through scripts or OpenAI's GPTs editor and Playground interfaces.
ChatGPTLLMOpenAI API
0 likes · 7 min read

This article explains how to construct effective SQL prompts by combining personal SQL expertise with large language model capabilities, introduces the open‑source sql‑translator tool for bidirectional SQL‑natural language conversion, and discusses practical productization scenarios.
GPTNode.jsOpenAI API
0 likes · 11 min read

This tutorial walks through creating a Spring Boot application that integrates the OpenAI ChatGPT API, covering prompt concepts, API endpoint details, required request parameters, project setup, necessary dependencies, DTO definitions, RestTemplate configuration, and a REST controller to generate AI‑driven responses.
ChatGPTJavaOpenAI API
0 likes · 10 min read

Learn how to generate text embeddings with OpenAI's ChatGPT API, store them in Redis' vector database, and perform efficient similarity searches using PHP, covering installation, API calls, index creation, vector storage, KNN querying, and practical code examples.
ChatGPTOpenAI APIPHP
0 likes · 10 min read

This guide walks you through building a Spring Boot application that calls the OpenAI ChatGPT API, covering prompt concepts, API request details, required dependencies, configuration of RestTemplate with authentication, DTO definitions, controller implementation, and example use cases.
ChatGPTJavaOpenAI API
0 likes · 11 min read

This article explains step-by-step how to develop an intelligent ChatGPT-powered chatbot with PHP, covering environment setup, installing the PHP ChatGPT library, writing code to send messages and receive responses via the OpenAI API, and testing the bot with example scripts.
AI chatbotChatGPTOpenAI API
0 likes · 4 min read


21CTOAug 1, 2023 · Artificial Intelligence
This guide walks you through installing the CodeGPT extension in Visual Studio Code, configuring your OpenAI API key, and using its features—code generation, explanation, refactoring, and unit test creation—to boost productivity with AI-assisted programming.
AI codingCodeGPTOpenAI API
0 likes · 8 min read


21CTOJun 2, 2023 · Artificial Intelligence
This tutorial walks developers through setting up an OpenAI account, obtaining an API key, configuring the Python environment, and writing a complete Python script that uses the ChatGPT API to create an interactive chatbot, complete with code examples and execution tips.
ChatGPTOpenAI APIPython
0 likes · 11 min read

This article explains practical principles and techniques for crafting clear, specific prompts for ChatGPT, demonstrates how to structure prompts with separators and output formats, and provides a step‑by‑step guide—including code examples—for installing the OpenAI Python library, obtaining an API key, and writing a reusable get_completion function to interact with the model.
AIChatGPTCode Examples
0 likes · 9 min read

ChatGPT’s web interface has been increasingly showing “Something went wrong” errors after idle periods, and this guide explains two remedies: using an OpenAI API key for more stable access, and installing the KeepChatGPT Chrome/Tampermonkey extension, which suppresses the error and adds several usability enhancements.
ChatGPTChrome extensionError Fix
0 likes · 6 min read

This guide walks you through preparing an OpenAI account, obtaining an API key, using the Completion endpoint with example JSON, calling the API from plain JavaScript/HTML, and integrating the same service into a Spring Boot application with Maven dependencies and Java code.
AI IntegrationChatGPTJavaScript
0 likes · 9 min read

This guide walks you through creating a personal ChatGPT chatbot by first setting up an OpenAI account and API key, then demonstrating how to call the completions endpoint using plain JavaScript and HTML, followed by integrating the same API into a Spring Boot application with the official Java client library, including all necessary code snippets and configuration steps.
ChatGPTJavaScriptOpenAI API
0 likes · 9 min read

This guide walks you through registering an OpenAI account, obtaining an API key, understanding the completions endpoint parameters, and implementing a ChatGPT chatbot with both a plain JavaScript/HTML front‑end and a Spring Boot back‑end, including full code samples.
AI chatbotAPI IntegrationChatGPT
0 likes · 9 min read
