빠른 시작
몇 줄로 gpt-4-0125-preview 호출하기
OpenAI SDK나 일반 HTTP 요청을 그대로 사용하세요. Base URL을 Yeap Cloud로 지정하고 모델 이름만 입력하면 됩니다.
curl https://llm.yeap.cloud/v1/chat/completions \
-H "Authorization: Bearer $YEAP_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-4-0125-preview",
"messages": [{"role": "user", "content": "Hello"}]
}'