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
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
Could you please elaborate more about your problem?
@@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.
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
Can we use Chat.Completion instead of OpenAi.completion ?
If you can define roles, i.e. system, user, etc then indeed you can 😊
@@shweta-lodha got it. thank you
Nice find!🦾😎
Thanks!