semperai / amica

Amica is an open source interface for interactive communication with 3D characters with voice synthesis and speech recognition.
https://heyamica.com
MIT License
591 stars 92 forks source link

Customization options #20

Closed morphles closed 7 months ago

morphles commented 7 months ago

I like some things about this interface [mainly ease of voice stuff, esp VAD] (though after some digging seems it heavily related to some Japanese stuff, whatever though...)., but customization options are, limited.

There seems to be system prompt, not changeable in interface, it seems like it should be changeable via .env.local var NEXT_PUBLIC_SYSTEM_PROMPT , but somehow it seems to not have effect. Though even if it did there is a problem that in code there is some prompt crafting, which has 'Amica' hard-coded, so name change would likely be funky anyway. I'm not sure what is preventing variable loading from .env.local or maybe I'm doing something wrong... will keep working on it, but hard-coded name is not good.

kasumi-1 commented 7 months ago

Hi!

The system prompt can be changed by going to:

Settings -> ChatBot -> System Prompt

The environment variable option is overridden by saved option in settings, maybe this is why you did not see it changed.

I agree with you on name being easily changed. I'll try to add that soon.

morphles commented 7 months ago

Hm, something weird was happening still. I know about ui but i was testing it emty, and expeted one from var to be used, but it seems it "knew how to tow the line" :) anyway after more testing seems ui one has decent enough effect. Would be nice to be able to quickly switch between peronas/prompts though.

kasumi-1 commented 7 months ago

I just pushed up change that allows you to change name :)

Yes I agree. I started on a share / import pane but its still pretty minimal. I hope to make it so that you can design character and send someone a link and they can import it.

morphles commented 7 months ago

You mean sorta have all char info in base64 url pram or how?

kasumi-1 commented 7 months ago

I tried doing base64 originally but found it to be well, too long. I guess I should have seen that coming :D

Now, I have this connected to db via supabase- It's publicly accessible, but still require internet.

I think exporting and importing with some file format make a lot of sense, but I think maybe that best for new issues and I'll close this.

morphles commented 7 months ago

Well you can create file for download, or just copy/paste structured with some bind. I have db endpoints and dummy db with char now. Lookingint into base character page, which would allow to choose from db, and just load name+promp into config. Not sure if I'll have something to show today. As for this issue, yeah totally right to close it :)