| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | |
| 7 | 8 | 9 | 10 | 11 | 12 | 13 |
| 14 | 15 | 16 | 17 | 18 | 19 | 20 |
| 21 | 22 | 23 | 24 | 25 | 26 | 27 |
| 28 | 29 | 30 | 31 |
- 새마을금고
- arm-linux-androideabi
- Mac
- CHAT GPT
- RETROFIT
- kotlin
- Android
- MG더뱅킹정기예금
- Android Studio
- JetPack
- ios
- BindingAdapter
- 예금
- Swift
- KB
- EditText
- 달러예금
- ndk r24
- ndkVersion
- 청약
- 용산 호반써밋 에이디션
- 사전청약
- ChatGPT
- Data Binding
- 3rd framework
- Andorid
- java
- gradle
- 고금리
- audio record
- Today
- Total
목록ChatGPT (2)
pear
Call Retrofit API GPTRetrofitInterface mRetrofitInterface = RetrofitGPT .getClient(domain).create(GPTRetrofitInterface.class); try { gptBody body = new gptBody(); body.model = "gpt-3.5-turbo"; body.messages[0].role = "user"; body.messages[0].content = "contents"; Gson gson = new Gson(); String json = gson.toJson(body); JsonObject jsonObject = JsonParser.parseString(json).getAsJsonObject(); Call ..
[Prepare the environment] start openai home page [Move to Developers Overview] https://platform.openai.com/ Select Personal(my info) in Site Move to View API Key Create new secret key copy my "SECRET KEY" [Move to API reference tap] http request(post) url : https://api.openai.com/v1/chat/completions need Http Header @content-type : application/json @Authorization : Bearer "SECRET KEY" @Json Body..