일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- BindingAdapter
- 새마을금고
- 사전청약
- Android Studio
- MG더뱅킹정기예금
- 달러예금
- ChatGPT
- audio record
- gradle
- Data Binding
- JetPack
- Swift
- java
- ndkVersion
- arm-linux-androideabi
- 고금리
- 청약
- KB
- RETROFIT
- Mac
- ndk r24
- EditText
- ios
- 예금
- 3rd framework
- kotlin
- 용산 호반써밋 에이디션
- Android
- CHAT GPT
- Andorid
- 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..