simple-openai icon indicating copy to clipboard operation
simple-openai copied to clipboard

A Java library to use the OpenAI Api in the simplest possible way.

Results 20 simple-openai issues
Sort by recently updated
recently updated
newest added

This is an extra feature whose benefit was identified in: https://github.com/openai/openai-openapi/issues/259#issuecomment-2112034723

enhancement

I get the following errors running mvn clean build after cloning. The <username > has a space in it, but index 2 seems to be a complaint about /C:/... ,...

I want to use 'io.github.sashirestela:simple-openai:3.2.0' on 'Android Studio Jellyfish | 2023.3.1'. only add Project Structure / Dependencies 'io.github.sashirestela:simple-openai:3.2.0' build error ~~~ FAILURE: Build failed with an exception. * What went...

When combining the Chat streaming API with functions, the incoming deltas need to be merged into a single message in order to call one or more functions. Currently the classes...

enhancement

Run Conversation2Demo on windows (I've cloned the repo into G:\Code) Observe the error: > Exception in thread "main" java.nio.file.InvalidPathException: Illegal char at index 2: /G:/Code/simple-openai/src/demo/resources/mistral-ai.txt The error happens in CleverClient...

bug

Hi, I want to cache OpenAI request/response pairs, and being able to serialize/deserialize these object natively using Jackson would be very helpful. Ideally, we should be able to do ```...

research

### Discussed in https://github.com/sashirestela/simple-openai/discussions/131 Originally posted by **sashirestela** May 15, 2024 @the-gigi I've copied your comment to this new discussion thread: One more issue came up as a result of...

bug

The current support for additional OpenAI providers has the problem that they are throwing exceptions for unsupported features which is a poor design. This feature needs to be improved and...

enhancement

Support for retries and timeout is required to be more fault tolerant. The official OpenAI's Nodejs library has support for both [retries](https://github.com/openai/openai-node?tab=readme-ov-file#retries) and [timeouts](https://github.com/openai/openai-node?tab=readme-ov-file#timeouts).

enhancement

It'd be nice if the reflection stuff were somehow included with the simple-openai library so that it's no longer necessary to use the native-image agent to dynamically collect reflection and...