Quick Tip To Reduce Your Prompt Size For Text Summarization | OpenAI

Поделиться
HTML-код
  • Опубликовано: 6 сен 2024
  • Do you want to summarize your huge text but worried about prompt size? Check this video to understand how can you reduce the size of your prompt by few words.
    Blog: www.shwetalodha...
    Medium: / shweta-lodha
    * REFERRAL LINK ************
    Medium referral link: / membership
    * REFERRAL LINK ************
    ###### MORE PLAYLISTS ######
    ⭐Python for beginners: • #1 Python for Beginner...
    ⭐Python Pandas: • #1 Python Pandas: Intr...
    ⭐Python tips and tricks: • Python Tip: Take Multi...
    ⭐Jupyter tips & tricks: • Jupyter Tip: Run Termi...
    ⭐Microsoft Azure: • Know Response Time Of ...
    ⭐Azure ML and AI: • Getting Started with I...
    ⭐Visual Studio Code a.k.a. VS Code: • How to get started wit...
    #openai #chatbot #chatgpt

Комментарии • 9

  • @Unknown-du4vl
    @Unknown-du4vl 6 месяцев назад +1

    Hello ma'am
    Thank you so much for this
    But I'm having a problem for summarization of text
    Wondering if you could help me out
    It would be really grateful

    • @shweta-lodha
      @shweta-lodha  6 месяцев назад

      Could you please elaborate more about your problem?

    • @Unknown-du4vl
      @Unknown-du4vl 6 месяцев назад +1

      @@shweta-lodha
      Thank you so much for responding
      For my project I'm using the GPT 3.5 turbo model where I pass the transcript.
      The transcript is stored as a string in my code and directly passed to the API call.
      I use the chat completion API.
      Whenever I go with large videos like 10 minutes or above it gives me the token exceeded limit error. Can you please help me properly tokenize this string. Because when I tokenized it, it returned out of context and a highly inaccurate summary.

    • @shweta-lodha
      @shweta-lodha  6 месяцев назад

      Plain summarization will not work for long text. I would suggest you to try semantic search. You can refer my most latest video - online store one

  • @aakashbhaikatti2823
    @aakashbhaikatti2823 10 месяцев назад

    Can we use Chat.Completion instead of OpenAi.completion ?

    • @shweta-lodha
      @shweta-lodha  10 месяцев назад

      If you can define roles, i.e. system, user, etc then indeed you can 😊

    • @aakashbhaikatti2823
      @aakashbhaikatti2823 10 месяцев назад

      @@shweta-lodha got it. thank you

  • @klammer75
    @klammer75 11 месяцев назад

    Nice find!🦾😎