chatgpt-spring-boot-starter

a chatgpt starter based on Openai Official Apis.

MIT License

Stars
222

Bot releases are hidden (Show)

chatgpt-spring-boot-starter - v1.0.5 Latest Release

Published by flashvayne 8 months ago

The model "text-davinci-003" has been deprecated. so updated the default model to gpt-3.5-turbo-instruct.
https://github.com/flashvayne/chatgpt-spring-boot-starter/issues/18

The lastest version is 1.0.5 now.

<dependency>
    <groupId>io.github.flashvayne</groupId>
    <artifactId>chatgpt-spring-boot-starter</artifactId>
    <version>1.0.5</version>
</dependency>
chatgpt-spring-boot-starter - v1.0.4

Published by flashvayne over 1 year ago

🐞 Bug Fixes

  • Fix the issue occurs when using SpringBoot3: java.lang.NoSuchMethodError: 'org.springframework.http.HttpStatusCode org.springframework.http.ResponseEntity.getStatusCode()'
chatgpt-spring-boot-starter - v1.0.3

Published by flashvayne over 1 year ago

⭐ New Features

  • Image generation: give a prompt and get generated image(s) using the new method chatgptService.imageGenerate();
  • Update some default values in request
<dependency>
    <groupId>io.github.flashvayne</groupId>
    <artifactId>chatgpt-spring-boot-starter</artifactId>
    <version>1.0.3</version>
</dependency>
chatgpt-spring-boot-starter - v1.0.2

Published by flashvayne over 1 year ago

⭐ New Features

  • Multi message: take a series of messages (including the conversation history) as input, and return a response message as output.
  • Request DTO covers all params in the request to OpenAi, so you can customize any params in your request.
  • Api url can be configured in chatgpt properties if you need change it when using a proxy.
<dependency>
    <groupId>io.github.flashvayne</groupId>
    <artifactId>chatgpt-spring-boot-starter</artifactId>
    <version>1.0.2</version>
</dependency>
chatgpt-spring-boot-starter - v1.0.1

Published by flashvayne over 1 year ago

  • adapt to SpringBoot3
  • enhance performance
<dependency>
    <groupId>io.github.flashvayne</groupId>
    <artifactId>chatgpt-spring-boot-starter</artifactId>
    <version>1.0.1</version>
</dependency>