Skip to content

πŸ—£ γšγ‚“γ γ‚‚γ‚“ powered by ChatGPT, Ollama

Notifications You must be signed in to change notification settings

umjammer/vavi-speech-sandbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

21 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Release Java CI CodeQL Java

vavi-speech-sandbox

OpenAI Β© OpenAI 🀝🏻 γšγ‚“γ γ‚‚γ‚“ Β© ε‚ζœ¬γ‚’γƒ’γƒ«

Status

  • official api ... works
  • reverse engineering api ... wip (cloudflare api has been changed???)

Install

  • maven
  • vi local.properties
$ cat local.properties
openai.key=XXXXXYYYYYZZZZZZ
chatgpt.model=text-davinci-003
user.agent=Mozilla/5.0 ...

Usage

  • run voicevox.app before running this program
  • run java w/ jvmargs below
--add-opens java.base/java.lang=ALL-UNNAMED
-Dsen.home=/Users/nsano/src/java/sen/src/main/home
-Djna.library.path=target/test-classes
-Djava.util.logging.config.file=src/test/resources/logging.properties

ollama

$ java -Djava.util.logging.config.file=src/test/resources/logging.properties -cp target/vavi-speech-sandbox-0.0.1-SNAPSHOT.jar:$(jpomclasspath) vavi.speech.sandbox.ollama.Ollama

jpomclasspath ... a shell script creates the classpath includes all dependency jars in the pom.xml

References

TODO

  • yakuwarigo converter rule is too poor, help it!
    • it's easier to order a chat ai to use a yakuwarigo at beginning πŸ˜›