-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[Feature]: Add Premp AI provider #3722
Comments
doesn't this already work? @tuanlv14 |
Yes. I had tried but current method was not working. Based on Premp API document, it required payload with project_user_ID. I did not know how I can custom project_ID with liteLLM parameters. Pls help me.
|
The Feature
I suggest to add Premp provider under OpenAI compatibility:
curl --request POST
--url https://app.premai.io/v1/chat/completions
--header 'Authorization: API_KEY'
--header 'Content-Type: application/json'
--data '{
"project_id": PRO_ID,
"messages": [
{
"role": "user",
"content": "Who are you ?"
}
],
"model": "gpt-4-eu"
}'
Motivation, pitch
Add more a good provider with gpt4 free trial.
Twitter / LinkedIn details
No response
The text was updated successfully, but these errors were encountered: