forked from sinaptik-ai/pandas-ai
-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
🚀 The feature
Customer Open-AI alike API Support
Per anhp's request: sinaptik-ai#799 (comment)
Motivation, pitch
For example, LM-Studio's example:
curl http://localhost:1378/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{
"messages": [
{ "role": "system", "content": "Always answer in rhymes." },
{ "role": "user", "content": "Introduce yourself." }
],
"temperature": 0.7,
"max_tokens": -1,
"stream": false
}
Alternatives
No response
Additional context
I've added some examples with some screenshots of settings cust-openai. Please checkout the cust-openai
branch (my fork).
git clone https://github.com/yfyang86/pandas-ai
cd pandas-ai
git checkout cust-openai
git pull
python -m pip install .
Metadata
Metadata
Assignees
Labels
No labels