일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- convert to shp
- geopandas
- Chat-GPT
- Merge Repositories
- 웹페이지
- Selenium
- string to list
- NLP
- Crawling
- 셀레니움
- 알고리즘
- 괄호 문제
- 파이썬
- plotly dash
- to shp
- clustering
- 코랩 런타임
- flask
- python buildpacks
- colab runtime
- 2164 카드2
- 플라스크
- Python
- 크롤링
- geoDataFrame
- 백준
- 혁신성장부문
- 해시태그
- 인스타그램
- kmeans
Archives
- Today
- Total
목록파이썬/Chat-GPT (1)
코딩코딩코딩
Chat-GPT in Python (PyCharm)
import openai as oa t = "sk-~~~~~~J" oa.api_key = t def get_completion(prompt, model='gpt-3.5-turbo'): messages = [{"role": "user", "content": prompt}] response = oa.ChatCompletion.create( model=model, messages=messages, temperature=0, ) return response.choices[0].message["content"] # prompt = "Please tell me about what is difference between chat-gpt model 3.5 and 4 in korean." prompt = "'빨래'는 '..
파이썬/Chat-GPT
2023. 8. 7. 23:35