Skip to content

revsmoke/openai-java-cfscript

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenAI Java CFScript Wrapper

Goal of the Project

The goal of this project is to provide an unofficial CFScript wrapper for the official OpenAI Java library. This library bridges the gap for CFScript developers by enabling seamless integration with the OpenAI API using a familiar syntax and framework. By leveraging the robustness of the Java library, this wrapper ensures reliability while making it accessible for CFScript-based applications.


OpenAI Java API Library

Maven Central javadoc

The OpenAI Java SDK provides convenient access to the OpenAI REST API from applications written in Java.

The REST API documentation can be found on platform.openai.com. Javadocs are available on javadoc.io.

Installation

Gradle

implementation("com.openai:openai-java:1.6.1")

Maven

<dependency>
  <groupId>com.openai</groupId>
  <artifactId>openai-java</artifactId>
  <version>1.6.1</version>
</dependency>

Requirements

This library requires Java 8 or later.

Usage

See the openai-java-example directory for complete and runnable examples.

ColdFusion Installation

See INSTALL.md for step-by-step instructions. After installation you can run the samples in the examples/ directory.

About

The Unofficial CFScript Wrapper for The official Java library for the OpenAI API

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Kotlin 99.3%
  • Other 0.7%