josephrocca / OpenCharacters

Simple little web interface for creating characters and chatting with them. It's basically a single HTML file - no server. Share characters using a link (character data is stored within the URL itself). All chat data is stored in your browser using IndexedDB. Currently supports OpenAI APIs and ~any Hugging Face model.
https://josephrocca.github.io/OpenCharacters
MIT License
376 stars 66 forks source link

Feature Request: GPT-4 Turbo #68

Closed tangodown18 closed 1 year ago

tangodown18 commented 1 year ago

Are you planning on adding GPT-4 Turbo (GPT-4-1106-preview) support on this or are you waiting for it to come out of preview?

josephrocca commented 1 year ago

Yep once it's stable and broadly available I will add (ping me). In the meantime you can add it manually in user settings by adding this line:

{name:'gpt-4-1106-preview',shortLabel:'gpt-4-1106-preview',endpointUrl:'https://api.openai.com/v1/chat/completions',modelUrl:'https://huggingface.co/gpt-4-1106-preview',apiKey:'<OPENAI>',maxSequenceLength:16384,type:'chat-completion',tokenPricing:{prompt:0.01,completion:0.03}}
tangodown18 commented 1 year ago

Cool thank you for the help!