- apikey.properties.local을
apikey.properties로 수정 openai.api-key에 OPENAI API KEY를 작성gradle build실행gpt4j-0.0.1-SANPSHOT.jar실행http://localhost:8080/math-teacher에 Post 요청
이미지는 png, jpeg 모두 가능합니다.
{
"contents":[
{
"type":"text",
"text" : "Analyze the student’s solution and compare it with the correct solution. The solution that includes the ‘출제의도’ is the formal solution."
},
{
"type":"image_url",
"image_url" : {
"url" : "https://~~{온라인으로 접근 가능한 이미지}"
}
},
{
"type":"image_url",
"image_url" : {
"url" : "https://~~{온라인으로 접근 가능한 이미지}"
}
},
{
"type":"image_url",
"image_url" : {
"url" : "https://~~{온라인으로 접근 가능한 이미지}"
}
}
]
}