Coder Social home page Coder Social logo

Comments (9)

jackschedel avatar jackschedel commented on July 1, 2024 2

I'll leave the issue open, since I think it is a good change. (I have alot of issues open that I'll never spend the time to implement but maybe someone else will take pity on me and help xD)

Please let me know if you need any help navigating the codebase, I know learning React can be pretty daunting for beginners.

from koalaclient.

jackschedel avatar jackschedel commented on July 1, 2024 1

btw, i'm working on this myself now, so no need to try. development is occurring on the 2.0.9 branch

from koalaclient.

jackschedel avatar jackschedel commented on July 1, 2024 1

Thanks for your input. Btw, 2.1.0 is still in development, not in a working state yet.

from koalaclient.

jackschedel avatar jackschedel commented on July 1, 2024

@imesha10
Hi, I don't ever use custom proxies, but I'd be willing to accept a PR for this implemented as a settings menu for it like there is with Prompt Library (ideally with the ability to hide certain default ones in the dropdown.) with the ability to specify token pricing and max tokens.

From a code standpoint, this will require refactoring away from the custom ModelChoice type, probably just to a standard string.

from koalaclient.

imesha10 avatar imesha10 commented on July 1, 2024

@imesha10 Hi, I don't ever use custom proxies, but I'd be willing to accept a PR for this implemented as a settings menu for it like there is with Prompt Library (ideally with the ability to hide certain default ones in the dropdown.)

From a code standpoint, this will require refactoring away from the custom ModelChoice type, probably just to a standard string.

Alright, I'll try to do a pr in the comming weeks. I have very little experiece with node and related but I will be able to figure it out.

Please close this issue when you see it and I will reopen a pull request once I'm done.

If I don't then assume that I failed.

(oh and when I meant proxies, what I meant was custom openai endpoints.)

Thanks!

from koalaclient.

imesha10 avatar imesha10 commented on July 1, 2024

btw, i'm working on this myself now, so no need to try. development is occurring on the 2.0.9 branch

Ok that's good. Thank you.

from koalaclient.

imesha10 avatar imesha10 commented on July 1, 2024

@jackschedel
Oh ya by the way if you didn't know. OpenAI default endpoint and most openai proxies gives a list of all the available models via the /v1/models endpoint.
So all you have to do is send a call to that and it will return a json object that you can then parse into the application.
This is how applications like SillyTavern and other ones work.

image
You can find more info in here https://platform.openai.com/docs/api-reference/models

If you want to see examples in a different language then press this drop box and choose:
image

from koalaclient.

jackschedel avatar jackschedel commented on July 1, 2024

I'm instead implementing the ability to do fully custom model names, so KoalaClient can be used with any endpoint.

from koalaclient.

imesha10 avatar imesha10 commented on July 1, 2024

I'm instead implementing the ability to do fully custom model names, so KoalaClient can be used with any endpoint.

Ya it's definitely a very useful feature to be able to enter custom model names so it can be used with any endpoint type and it basically will fix my problem of being unable to use certain models.

However I should mention that after looking at this project (KoalaClient) and using it for a while I have some thoughts.
I think you should definitely after this feature or some features down the line consider making it so that it auto populates the model list for the ones that has that feature.

I'm taking a blind guess but I'm guessing most of your users will be openai (85%) anthropic/claude(10%), and other(5%).

So if you implement this later you would be able to get most of your users all the models they have access to (all openai models from /v1/models). This makes it so that most of your users will not have to go into the api connection menu and manually input their specific models which will make the app feel simple and very easy to use.

Currently KoalaClient can't seem to fetch other openai models and it's limited to:
image
image

Here is a similar one where it auto fetches in SillyTavern via a proxy:
image

I just complied the latest version 3.0.9 and it does not seem to have the model "gpt-4-0125-preivew". So if you were to auto populate the list you would not have to constantly update it with the latest and the best models at least for openai.

Anyways these are just thoughts and I might be wrong or thinking in the wrong direction. Thanks for you time.

from koalaclient.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.