- cd AI-stylist
- touch .env
- fill .env with your credentials like in .env.example
- sudo docker-compose up --build -d
/docs
- Fast API swagger/conversation
- main endpoint to invoke the GPT API
conversation_id
- Key to get conversation history
Inside it:
[ # Usual Open AI scheme
"content": '{ # But the content is stored as a string
"role": "system" / "user" / "assistant",
"content": [
{
"type": "text" / "image_url",
"text" / "image_url": "example text" / "example image url"
},
...
]
}',
...
]