ChatGPT API in Python Code, Example-based Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ก.ย. 2024
  • OpenAI has released its ChatGPT API. That means machine learning experts, data scientists, and application developers can use responses from the ChatGPT model in their software applications. In this video, I am showing a simple example of how you can use ChatGPT API in your Python program.
    Of course, to access the API, you will need an API key from OpenAI. I will first quickly show you how you can get that API key. Then I will demonstrate the Python code.
    The code can be a basis for a #chatbot
    #openai #pythonchatgpt
    Dr. Shahriar Hossain

ความคิดเห็น • 6

  • @CSE-LOGESHM
    @CSE-LOGESHM 7 หลายเดือนก่อน

    How much we have to pay to use gpt-3.5-turbo model?

    • @C4A
      @C4A  7 หลายเดือนก่อน +1

      It depends on the number of tokens. Here is OpenAI's pricing page: openai.com/pricing

  • @DaZR95
    @DaZR95 8 หลายเดือนก่อน

    ty bro

    • @C4A
      @C4A  8 หลายเดือนก่อน

      You are most welcome!

  • @madhukariroy
    @madhukariroy ปีที่แล้ว +1

    Wow, what a source of information

    • @C4A
      @C4A  ปีที่แล้ว

      Glad to hear that you liked it!