{"repo":"sashirestela/simple-openai","free":true,"listed":false,"github":"https://github.com/sashirestela/simple-openai","clone":"git clone https://github.com/sashirestela/simple-openai.git","description":"A Java library to use the OpenAI Api in the simplest possible way.","language":"Java","stars":381,"topics":["httpclient","java","openai","simple","chatgpt","api","ai","gpt","gen-ai","generative-ai"],"license":"MIT","category":"ai-agents","readme_excerpt":"Simple-OpenAI A Java library to use the OpenAI Api in the simplest possible way. Table of Contents - Description - Supported Services - Installation - How to Use - Creating a SimpleOpenAI Object - Using HttpClient or OkHttp - Using Realtime Feature - Audio Example - Image Example - Chat Completion Example - Chat Completion with Streaming Example - Chat Completion with Functions Example - Chat Completion with Vision Example - Chat Completion with Audio Example - Chat Completion with Structured Outputs - Chat Completion Conversation Example - Assistant v2 Conversation Example - Response Conversation Example - Realtime Conversation Example - Exception Handling - Retrying Requests - Instructions for Android - Support for OpenAI-compatible API Providers - Gemini Vertex API - Gemini Google API - Deepseek API - Mistral API - Azure OpenAI - Anyscale - Run Examples - Contributing - License - Who is Using Simple-OpenAI? - Show Us Your Love 💡 Description Simple-OpenAI is a Java http client library for sending requests to and receiving responses from the OpenAI API. It exposes a consistent interface across all the services, yet as simple as you can find in other languages like Python or NodeJs. It's an unofficial library. Simple-OpenAI uses the CleverClient library for http communication, Jackson for Json parsing, and Lombok to minimize boilerplate code, among others libraries. ✅ Supported Services Simple-OpenAI seeks to stay up to date with the most recent changes in OpenAI. Currently,","default_branch":null,"files":null,"tree":[],"storefront":"/r/sashirestela","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/sashirestela/simple-openai/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}