Skip to content

walerick/SimplewordsBackend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ChatGPT API used with Java & Spring

How to get it running

Setup proxy

If you need a proxy to communicate with Internet (ChatGPT API is in Internet), adapt ChatGptController.java like this:

  • Replace: private HttpClient client = HttpClient.newHttpClient();
  • with: private HttpClient client = HttpClient.newBuilder().proxy(ProxySelector.of(InetSocketAddress.createUnresolved("proxy.host.com", 8080))).build();

More information

Releases

No releases published

Packages

No packages published