Skip to content

Latest commit

Β 

History

History
72 lines (58 loc) Β· 3.27 KB

README.md

File metadata and controls

72 lines (58 loc) Β· 3.27 KB

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 πŸ˜›