PRTS
1.0.0
Vector database of Arknights Stories 明日方舟剧情库,可加入任何Langchain AI系统
Ready to use in the language models via LangChain & Chroma
To write fan fictions and answer story questions.
Built by summarizing the story diaglogues on arknights.fandom.com and PRTS.wiki
Including all stories to the current CN event. ChromaDB folders. HTML story snippets with CG.
03/07/24: Add translation function in AI-voiced audiobook
02/25/24: New function: compile AI-voiced audiobook via GPT-SoVITS
Change Log
link = "https://PRTS.wiki/index.php?title=RO3-END-3/NBT&action=edit"
link2video(link, stage = "RO3-END-3", lang = "zh", writeclip = True);
compile EN audio from CN script, using translation
link2video(link, stage = "RO3-END-3", lang = "zh", writeclip = True, lang_to = "en", translate = True);
Sample: Lucent Arrowhead AI Voice
Use cases in video/PRTS2video.ipynb
VA list
from langchain.embeddings import OpenAIEmbeddings
from langchain.vectorstores import Chroma
db = Chroma(persist_directory="./db/arkdb", embedding_function=OpenAIEmbeddings())
Use cases in PRTS-main.ipynb
agent_chain("why was Maria kidnapped?")
agent_chain.run("write a fan fiction of Nearl passionately kissing Vivana after their match")