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

26 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Release Java CI CodeQL Java

vavi-speech-sandbox

ollamaย ย ย ย ย ย ย  โœ– ใšใ‚“ใ ใ‚‚ใ‚“ ยฉ ๅ‚ๆœฌใ‚ขใƒ’ใƒซ

Status

  • ollama ... works
  • obsoleted
    • chatgpt: official api ... works
    • reverse engineering api ... wip (cloudflare api has been changed???)

Install

maven

  • maven

local.properties

voicebox

voicevox.voice=ใšใ‚“ใ ใ‚‚ใ‚“(ใƒŽใƒผใƒžใƒซ)
voicevox.volume=10
voicevox.speed=115

ollama

ollama.model=llama3.1:latest
ollama.timeout=3000
ollama.initial=ไปŠใ‹ใ‚‰่ชžๅฐพใซใ€Œใชใฎใ ใ€ใ‚’ไฝฟ็”จใ—ใฆๅ–‹ใฃใฆใใ ใ•ใ„ใ€‚

chatgpt

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.2-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 ๐Ÿ˜›

About

๐Ÿ—ฃ ใšใ‚“ใ ใ‚‚ใ‚“ powered by ChatGPT, Ollama

Topics

Resources

Stars

Watchers

Forks

Languages