Integrating ChatGPT into your Django project - A step-by-step guide for developers

แชร์
ฝัง
  • เผยแพร่เมื่อ 23 ธ.ค. 2024

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

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

    do we need models and fields to do this..
    if i try to do without index files..
    for api backend

  • @JeffTSanders
    @JeffTSanders ปีที่แล้ว +2

    Cool stuff. I may be wrong, but I think the reason your code's super-pet example names came out weird (i.e. not related to the breed entered) was because you appear to be returning a static text prompt from "generate_prompt" that does not have the breed variable injected into it. Maybe add in "breed" to the prompt text and ChatGPT will do a better job on the responses. Thanks for the example!

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

      You’re write 😂. I plan to do much more in-depth tutorial soon that will utilise more of the API. The code I’ve use in this almost identical to the QuickStart tutorial on ChatGPT.
      Thanks for the feedback

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

    This is great. Thanks.

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

      You're welcome!

  • @a-educate5136
    @a-educate5136 ปีที่แล้ว +1

    is there plugin for Pycharm ?

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

      Possibly. I don’t use Pycharm as I’m a VSCode fan boy 😀

  • @gareth251
    @gareth251 ปีที่แล้ว +2

    Great stuff, love to see you do a whole series on this and maybe the BARD api. This stuff is not going anywhere and it kind of feels like being comfortable with using and integrating it is going to become a prerequisite. Why the davinci model and not GPT 3.5 or 4?

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

      Yeah I just need to find the time.
      Re davinci model:
      I simply expanded their own tutorial. There are a bunch things I’ll change in the next series

  • @loicnembot5927
    @loicnembot5927 5 หลายเดือนก่อน +1

    thks

    • @DidCoding
      @DidCoding  5 หลายเดือนก่อน

      🙌

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

    Need to test

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

      Yeah, I didn't want to spend too long on the app but I'll probably write some unit tests this week. Thanks for the message.

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

    When I use chatgpt to help me build a social media platform using django, can I use another API from outside platform.openai? chatgpt is banned in my country 😭

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

      Ahh that sucks. I don’t know to be honest. This is pretty new to me as well 😂