Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lepton search client config gpt-4 #75

Open
mqd273 opened this issue Apr 27, 2024 · 2 comments
Open

lepton search client config gpt-4 #75

mqd273 opened this issue Apr 27, 2024 · 2 comments

Comments

@mqd273
Copy link

mqd273 commented Apr 27, 2024

how we can config the gpt-4 model. using leaton search client

@ng-fukgin
Copy link

First apply the gpt api, and then modify it
base_url=f"https://{self.model}.lepton.run/api/v1/", to base_url=f""https://api.openai.com/v1"
and change "LLM_MODEL": "mixtral-8x7b", the model name here

@ng-fukgin
Copy link

啊,我英语不太好,就是你先申请gpt4 的api,然后修改这里的,改为base_url=f""https://api.openai.com/v1"
以及 这里的的 ""LLM_MODEL":mixtral-8x7b"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants