← all repositories

TheoKanning/openai-java

A Java SDK for accessing OpenAI's GPT models including GPT-3, ChatGPT, and GPT-4 through a Retrofit-based client.

openai-java
Velocity · 7d
+2.3
★ / day
Trend
steady
star history

This repository provides Java libraries for interacting with OpenAI’s language model APIs. It includes request/response POJOs, a Retrofit client for all GPT endpoints, and a simplified service class. The library supports core OpenAI APIs including completions, chat completions, embeddings, audio, files, fine-tuning, images, and assistants.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.