import os import openai openai.api_key = os.getenv("OPENAI_API_KEY") response = openai.Completion.create( engine="davinci", prompt="The following is a conversation with an AI assistant. The assistant is helpful, creative, clever, and very friendly.\n\nHuman: Hello, who are you?\nAI: I am an AI created by OpenAI. How can I help you today?\nHuman: I'd like to cancel my subscription.\nAI:", temperature=0.9, max_tokens=150, top_p=1, frequency_penalty=0.0, presence_penalty=0.6, stop=["\n", " Human:", " AI:"] )
JT Blog - logged and managed by Janpha Thadphoothon, a lecturer at the Faculty of Arts, Dhurakij Pundit University (DPU), Bangkok, Thailand
Tuesday, July 20, 2021
Subscribe to:
Post Comments (Atom)
Laws Related to AI Use or Applications in Thai Advertising
DRAFT ONLY If businesses use AI to create images or content to advertise their products or services in a way that misleads consumers about t...
-
ชื่อเรียกตำแหน่งและวิทยฐานะของข้าราชการครูไทย ( Position Names and Academic Status of Thai Government Teachers) เรียบเรียงและแปลโดย ผศ.ดร. จ...
-
การใช้ Where is...? กับ Where are...? โดย Janpha Thadphoothon **วัตถุประสงค์ในการเรียนรู้** - ผู้เรียนสามารถแยกแยะและใช้ "Where is......
-
เทคนิคการอ่านภาษาอังกฤษเพื่อความเข้าใจ: สกิม (Skimming) และ สแกน (Scanning) Janpha Thadphoothon การอ่านภาษาอังกฤษอย่างมีประสิทธิภาพนั้นจำ...
No comments:
Post a Comment