Prompt Title: GPT-3은 텍스트를 생성합니다.

Created 1 year ago
Votes 0
Views 252 times
Art
0

Prompt Detail:

121import openai openai.api_key = "YOUR_API_KEY" def generate_prompt(prompt_text): # OpenAI GPT-3 API 호출 response = openai.Completion.create( engine="davinci", # 사용할 GPT-3 엔진 지정 prompt=prompt_text, max_tokens=1024, n=1, stop=None, temperature=0.7, ) # GPT-3 모델에서 생성된 답변 반환 return response.choices[0].text.strip()
avatar
yoonchan
Shared 3 prompts
Created 1 year ago

Leave a Comment

Related Tag Prompts

0
0
Adobe Document Review.
1 year ago 2023-03-17 13:29:10 yoonchan
0
0
어도비 문서 검토.
1 year ago 2023-03-18 06:30:16 yoonchan