Lecture 8 | AI Free Basic Course

Поделиться
HTML-код
  • Опубликовано: 25 окт 2024

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

  • @maryam62790
    @maryam62790 4 месяца назад +4

    "Wow, I'm absolutely blown away by the quality of this course! Each teacher has been incredible, explaining complex concepts in a clear and concise way. The entire Xeven team has done an amazing job putting this together. Thank you all so much for sharing your expertise and making AI accessible to everyone.

  • @hiragul3825
    @hiragul3825 Год назад +12

    It will save mechanic time and he will perform his work efficiently.
    APIs are very important because
    1) no one can get our data directly.
    2) It will provide only specific information to user which we want to give him/her ( Not more/less than that information solution)
    3) It will help all users to interact with machine very easily in a simple way
    4) If we will provide/give all information or APIs are not involved then user will be confused to see. It will be complicated for him to understand

  • @ali_hasan_official8715
    @ali_hasan_official8715 7 дней назад

    Mahsahallah ❤ Finally Lecture 8th Video Successfully completed 🎉 Alhamdullha ✨

  • @ainexus4
    @ainexus4 Год назад +4

    السلام عليكم
    sir please don't give up kindly complete this course

  • @hackingtricksforgamelovers2190
    @hackingtricksforgamelovers2190 5 месяцев назад

    No words to explain the how much valuable this course is

  • @Asadneon
    @Asadneon 7 месяцев назад

    Thank you so much Sir for this Amazing lectures

  • @islamforeveryone3146
    @islamforeveryone3146 27 дней назад +1

    Bhai ye program toh ab chalte he nhi hn plz Inka new video dal dain ki kese run honge.

  • @gulnaazkanwaal
    @gulnaazkanwaal 4 месяца назад

    God bless you more and more.

  • @CricketKahanibyAyan7934
    @CricketKahanibyAyan7934 Месяц назад

    It was great, it was a bit difficult but I understood, many prayers for you all

  • @ali_hasan_official8715
    @ali_hasan_official8715 7 дней назад

    Notes of lecture 8th 👇 :
    **Study Guide**
    **1. Introduction to Python Programming**
    - The course began with an introduction to Python packages necessary for upcoming topics .
    - Key concepts covered include variables, collections (lists, sets, tuples, dictionaries), and string manipulation .
    **2. Control Structures**
    - **Conditionals**: Understanding if-else statements to control the flow of the program.
    - **Loops**: Introduction to loops for repetitive tasks, including `for` and `while` loops .
    **3. Functions**
    - Functions were introduced as a way to encapsulate reusable code. Students learned how to define and call functions .
    - Importance of functions in organizing code and improving readability was emphasized .
    **4. Practical Programming Concepts**
    - The course included practical programming exercises to reinforce learning. Concepts like sentiment analysis and API integration were introduced .
    - **Sentiment Analysis**: Understanding how to classify data and analyze sentiments using machine learning techniques .
    **5. Data Classification**
    - **Classification**: A machine learning technique used to categorize data into different classes. Examples include classifying emails as spam or not .
    - The importance of labeled data in supervised learning was discussed .
    **6. Application Programming Interfaces (APIs)**
    - Introduction to APIs as a set of rules and protocols for building and interacting with software applications .
    - Understanding the role of APIs in facilitating communication between different software components .
    **7. Security and Communication in APIs**
    - Discussed the importance of security in API interactions and how protocols help maintain data integrity .
    - Communication between applications and the role of protocols in ensuring compatibility .
    **8. Frameworks and Libraries**
    - The use of frameworks and libraries to enhance Python programming capabilities was highlighted. Libraries like Pandas for data processing and image processing libraries were mentioned .
    - Students were guided on how to install and integrate these libraries into their projects .
    **9. Conclusion and Next Steps**
    - The course concluded with an emphasis on continuous learning and exploring advanced topics in Python and machine learning .
    - Students were encouraged to practice coding and apply the concepts learned in real-world scenarios .
    This study guide provides a comprehensive overview of the key concepts covered in the course, along with relevant citations for further reference.
    **Study Guide: OpenAI API and Sentiment Analysis**
    **Key Concepts**
    - **API Basics**: An API (Application Programming Interface) allows different software applications to communicate with each other. In this context, OpenAI provides an API to interact with its models, such as ChatGPT.
    - **Token and Security**: When using APIs, you often need a token for authentication. This token acts like a key that grants access to the API. It's crucial to keep this token secure to prevent unauthorized use .
    - **Creating a Secret Key**: To use the OpenAI API, you need to create a secret key. This involves logging into your Google account and generating a new secret key through the API interface .
    **Important Steps for Using OpenAI API**
    1. **Generate API Key**: After logging in, click on "Create New Secret Key" and name your key appropriately. Copy this key for future use .
    2. **Keep Your Key Private**: Never share your secret key publicly, as it can lead to unauthorized access and potential costs .
    3. **Handling Expired Keys**: Free API keys have usage limits. If you exceed these limits, you'll need to generate a new key .
    **Sentiment Analysis with OpenAI**
    - **Function Definition**: To perform sentiment analysis, define a function that takes a text input and returns whether the sentiment is positive, negative, or neutral .
    - **Example Function**:
    ```python
    def sentiment_analysis(text):
    # Call OpenAI API with the text
    response = openai.ChatCompletion.create(
    model="gpt-3.5-turbo",
    messages=[{"role": "user", "content": text}]
    )
    return response['choices'][0]['message']['content']
    ```
    This function sends the text to the OpenAI API and retrieves the sentiment analysis result .
    **Using JSON Format**:
    - The data sent to the API often follows a JSON format, which is structured like a dictionary. This format includes keys and values that define the parameters of the request .
    **Practical Example**:
    - To analyze the sentiment of the phrase "I love Pakistan", you would call the `sentiment_analysis` function with this input. The expected output would indicate a positive sentiment .
    **Best Practices**
    - **Avoid Copy-Pasting Code**: When learning programming, it's essential to type out code rather than copy-pasting. This helps reinforce understanding and skill development .
    - **Experiment with Different Inputs**: Test the sentiment analysis function with various phrases to see how it responds. This will help you understand the nuances of sentiment detection .
    - **Monitor API Usage**: Keep track of how many requests you make to avoid exceeding your limits, especially if using a free account .
    This study guide provides a structured overview of using the OpenAI API for sentiment analysis, highlighting essential concepts, steps, and best practices for effective learning and application.
    📌You Can Check The Following Link For These notes:
    unstuckstudy.com/share/e8bc0885-d808-401c-9d6a-662ab58c961b

  • @hotforex4435
    @hotforex4435 28 дней назад

    Very nice video

  • @kfa1015
    @kfa1015 7 месяцев назад +1

    Good work

  • @MukeshShah-io5fp
    @MukeshShah-io5fp 6 месяцев назад

    From Nepal.good work.i wanted to study but didn't had money.studying now.Thank you sir.

    • @FactFinder984
      @FactFinder984 5 месяцев назад

      Bro kya nepal my bhi urdu ya hindi bolta ha

  • @mubinakhtar803
    @mubinakhtar803 7 месяцев назад +6

    where we can find quiz and links?

  • @abdurrehman-bx1yo
    @abdurrehman-bx1yo 6 месяцев назад

    Very Good. Needed to update code a bit as I am following after months 👏

  • @kashifbacha4679
    @kashifbacha4679 3 месяца назад

    Sir, thank you for this informative ai course. Could you please share all the sources and references mentioned in the video here as well? It would be really helpful for our learning.

  • @TalhaAhmed..
    @TalhaAhmed.. 8 месяцев назад

    Sir, I think API ki zrurat is liye hia k just demanded information hi pass ki jaye agy aur data control me rahy. And the sentiment_analysis (TEXT) is parameter.

  • @benzosky7706
    @benzosky7706 3 месяца назад

    sir very informative

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

    Well done keep it up 👍

  • @superman3id
    @superman3id Год назад

    Lecture 8 completed self reminder

  • @kncproductionteve
    @kncproductionteve Год назад

    good sir i am no 8 lecture teaching method is very good

  • @Muhammaddawood121
    @Muhammaddawood121 3 месяца назад

    Great Sir🥰🥰😇

  • @tayyabbhatti6781
    @tayyabbhatti6781 Месяц назад

    Assalamu Alaikum,
    First of all, I want to commend you on the fantastic initiative you've started. Your videos are very informative and helpful for users at all levels.
    However, I noticed that in many of your videos, you mention that the practice notebook used in the demo is available via a link in the description. Unfortunately, I haven't been able to find these notebooks in the descriptions provided. Could you please ensure that the Python notebooks are included in future video uploads?
    Thank you for your attention to this matter. Your efforts are greatly appreciated!

    • @maanimalhouse
      @maanimalhouse 14 дней назад

      drive.google.com/drive/u/0/mobile/folders/16ePoT1BdXTwTdWMzWeeIRkJD48mNVFK-

  • @ABDULALI-d8d
    @ABDULALI-d8d 2 месяца назад

    DEAR Sir, how can I get the link of your notes and quiz? please guide me sir .🙏🙏🙏🙏🙏🙏

  • @Rahman00724
    @Rahman00724 10 дней назад

    Aoa sir! sir mara pass apka notes nahe ha our whatsapp comunity be full ha

  • @MuhammadAbdullah-ov4ov
    @MuhammadAbdullah-ov4ov 10 месяцев назад +2

    Can you please share the assignments and notebooks or inform me where to access them?
    THANKS🙃

  • @softwareartfkda3712
    @softwareartfkda3712 8 месяцев назад

    MA sha Allah

  • @shahzebtanwari
    @shahzebtanwari Год назад

    Sir theory ke sath practical bhi hota jaye to samjhne seekhne me asani hojayegi

  • @tayyabakashif1924
    @tayyabakashif1924 4 месяца назад

    good job

  • @muhammadbadarsheikh1804
    @muhammadbadarsheikh1804 7 месяцев назад

    Assalam o Alikum
    How can I get access to all the notes and assignments?

  • @muhammadwaseem9601
    @muhammadwaseem9601 8 месяцев назад +1

    Kindly mention Notebook link for each lecture in video description.

  • @maryamiqbal598
    @maryamiqbal598 11 дней назад

    Where from i can get these colab notebook?

  • @MuhammadNaveed-xt9gu
    @MuhammadNaveed-xt9gu Год назад

    Weldon sir

  • @nabilparakatta2182
    @nabilparakatta2182 4 месяца назад

    Can we implement the same sentimental analysis using any development editor like pycharm or eclipse?

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

    SIR I am following your tutorial but I am getting error while function calling it says you exceeded your current quota. Kindly guide me

  • @malik_786k
    @malik_786k 7 месяцев назад

    sir yeh jo google colab pr ap slids lekhty han in ko hum kasy hasil kr sakty hain

  • @rehabrafiq4373
    @rehabrafiq4373 9 месяцев назад

    I am facing some difficulty in installing the openai ApI , where to take help from?

  • @afshan2438
    @afshan2438 5 месяцев назад

    Sir please agr ap is notebook ka link de tay description main to humay asani hoti smjhnay main please 🥺😊

  • @HamzaMirza-le5bx
    @HamzaMirza-le5bx 4 месяца назад

    apis play imp role for our information to store information in our prograam which content to person

  • @sarimshahzad9831
    @sarimshahzad9831 14 дней назад

    where from we can get notes??

  • @muhammadimtiazanwar
    @muhammadimtiazanwar Год назад

    thank you

  • @TayyabaSajjad-j3f
    @TayyabaSajjad-j3f 7 месяцев назад

    Sir i am getting error in generating image in the sense that openai recent key has eliminated image generation... Now

  • @learntoearnsmartly-tr5lz
    @learntoearnsmartly-tr5lz Год назад +1

    Is there any other series of lectures going on parallel

  • @bluezone7866
    @bluezone7866 2 месяца назад

    where we get the colab note book

  • @alihusnain3555
    @alihusnain3555 7 месяцев назад

    How to access notebook, lecture slides and assignments.

  • @AasmaniKhazana
    @AasmaniKhazana 8 месяцев назад

    we use API to easy our task and speed up our task

  • @Surkhabcoding4432
    @Surkhabcoding4432 Год назад

    Pip install openai execute nhi horaha i am using google colab on mobile phone.

  • @innocentboy2423
    @innocentboy2423 Год назад +1

    sir kindly agr possible ho to lecture mn jo ap quiz ka khty than us ka link comment mn agr ap pin kr dein to hum jo youtube video sy sekh rhy than unhein concept bhi sath clear hojaye gy.
    Aur sir agr yei text file kisi terha comment mn pin hoskti ha to isy bhi kr dein
    If Possible Please
    Tanks a lot
    Usman Shahid

  • @Wall_of_gratitude
    @Wall_of_gratitude Год назад +1

    is sub ka humain kia faida hoga yay sub toh paid h. hum practice kesy krain gy iski. kindly guide us that how can we practice.

  • @Anonymous-r4j
    @Anonymous-r4j 9 месяцев назад

    Function are all about specific task with set of instructions

  • @BAshortz
    @BAshortz 2 месяца назад

    I am watching in August 2024 where to find these question and link of api key

  • @ImtiazQureshi-d5n
    @ImtiazQureshi-d5n Год назад +2

    ASSALAM U ALIKUM
    Sir I don't have your notebook beacause i just joining your course since few days so can you please share me your complete "Notebook"

    • @Artgaming.007
      @Artgaming.007 8 месяцев назад

      agar app ko mill gaye note book to muja be provide kar do pleasee

  • @aoo246
    @aoo246 Год назад +1

    Sir i like your every vedio and when you say subscribe then i subcribe from my both accounts Sir this is very helpful for us dont be get frustate we are getting it very serious

  • @muhammadsiddiquewaqar9571
    @muhammadsiddiquewaqar9571 Год назад +1

    AOA,
    Sir Haris,
    This is not executing.
    input = 'I Love Pakistan'
    response = sentiment_analysis(input)
    print(input,': The Statement is', response)

  • @FARAZHere
    @FARAZHere Месяц назад

    Sir how to get access notebook

  • @starzomeeofficial
    @starzomeeofficial Год назад

    Sir kindly upload rest of lectures according to course outline

  • @bluezone7866
    @bluezone7866 2 месяца назад

    Sir Could you please share the Colab notebook

  • @abubakarsupple
    @abubakarsupple Год назад

    1.Sentiment analysis ma string 'i love pakistan' ka sentiment positive or negative ki bajye 'none' show ho rha ha apni secret api key use krny k bawajood . Why?
    2. Blog generating ma rate limit error(You exceeded your current quota) show ho rha ha. Why?

  • @Muhammadsaqib-w9u
    @Muhammadsaqib-w9u 2 месяца назад

    From Where I get the notebook?
    Please anyone tell me

  • @muhammadarhamshahbaz4805
    @muhammadarhamshahbaz4805 8 месяцев назад

    Dear Sir/XEVEN,
    We hope this message finds you well. We'd like to express our interest in obtaining the AI Quiz Assessment that was conducted during our online classes approximately 7 months ago. The insights gleaned from that assessment are invaluable for our ongoing learning and development initiatives. Having access to the quiz results will allow us to track progress, identify areas for improvement, and tailor future lessons accordingly. Your prompt assistance in providing us with this essential data would be greatly appreciated. Thank you for your attention to this matter.
    Best regards,
    Arham Shahbaz

  • @sehrailoog5289
    @sehrailoog5289 Год назад

    Irfan sir, WhatsApp community ka jo link description me hai wo full show ho raha. plz update the new link so that new members can join

  • @AbdulMalik-xd4vy
    @AbdulMalik-xd4vy Год назад

    assalam u aliakum sir g ma Amazon pay kam kr raha hon lekin mera dil hain k AI bhi seekh loun to konsy topic say start kro plz kindly inform me sir thanks you

  • @KrishRaj-c1f
    @KrishRaj-c1f 8 месяцев назад

    sir how can we access the notebooks??

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

    please share link of Openai Examples

  • @ZuhaibUlhassan-t7z
    @ZuhaibUlhassan-t7z Год назад

    Nice

  • @nayelbaig
    @nayelbaig Год назад

    Where I could get access to the lectures??

  • @awaiszain8502
    @awaiszain8502 6 месяцев назад

    sir plz tell how to download this

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

    yeh documents ke link kaha diye hue abhi tak samajh nahi aya

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

    text is parameter when defining function

  • @FasihSatti
    @FasihSatti Год назад

    AttributeError: partially initialized module 'openai' has no attribute 'ChatCompletion' (most likely due to a circular import)
    Sir ya error a reha

  • @learntoearnsmartly-tr5lz
    @learntoearnsmartly-tr5lz Год назад

    From where to get NOTEBOOK lectures

  • @handbook1
    @handbook1 6 месяцев назад

    Migrate openai ka issue aa ra ha...code run ni ho ra ?

  • @alizia7398
    @alizia7398 Год назад

    Love from Kashmir University of Azad jammu and Kashmir Students Specifically for Sir Irfan Sir Sheraz and Sir Haris ❤

  • @ainexus4
    @ainexus4 Год назад +1

    API used for secure client data

  • @raweelhyder2467
    @raweelhyder2467 8 месяцев назад

    this link not taking us to the requird site

  • @wasimiqbal9653
    @wasimiqbal9653 Год назад

    In def sentiment (text)
    Here text is parameter.

  • @Beatitudowithkzh
    @Beatitudowithkzh 9 месяцев назад

    Sir hm log kysy access krn notebook ko jo aab recorded lectures ly ry hn
    Plz help us

    • @imransdatalab
      @imransdatalab 9 месяцев назад

      jo wo prah rhay hain sath sath note krtay jao

    • @imransdatalab
      @imransdatalab 9 месяцев назад

      You can get All Lecture Slides and google Collab notebook from this Links: drive.google.com/drive/folders/16ePoT1BdXTwTdWMzWeeIRkJD48mNVFK-

  • @joyland77
    @joyland77 Год назад

    in sentiment analysis role of system and role of user will be written by us or is it given in library ???

  • @imtiazali_66
    @imtiazali_66 Год назад

    sir data ya web scrapping nh padhege is me??

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

    Sir jo log baad main recorded lecture ly rahy hain kya unn ky liey aisa possible nahi hy Ky notebook ki jo baat Sir Haris bar bar kr rhay hain ussy aap description main daal den...

    • @imransdatalab
      @imransdatalab 9 месяцев назад

      live lectures k comment section sa mil jain gai

    • @imransdatalab
      @imransdatalab 9 месяцев назад

      You can get All Lecture Slides and google Collab notebook from this Links: drive.google.com/drive/folders/16ePoT1BdXTwTdWMzWeeIRkJD48mNVFK-

  • @officialaddress4498
    @officialaddress4498 Год назад

    From where i can access Notebook

  • @learntoearnsmartly-tr5lz
    @learntoearnsmartly-tr5lz Год назад

    What is LAST LECTURE of this series uptill now 10 July

  • @danishmuhammad4424
    @danishmuhammad4424 7 месяцев назад

    Done ✔

  • @wasimiqbal9653
    @wasimiqbal9653 Год назад

    my code is not giving any answer, it stucks at messages=message instruction. as i tried to write ditto code that of sir shehriyar.

  • @joyland77
    @joyland77 Год назад

    plzzz anyone can guide me how to import api key in pip library. i generated api key but dont know how i will shift it in pip library to run.

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

    Notebook ka link mil skta ?

  • @mrmanto12
    @mrmanto12 2 месяца назад

    where are the resourses and code files of the lecture

    • @maanimalhouse
      @maanimalhouse 14 дней назад +1

      drive.google.com/drive/u/0/mobile/folders/16ePoT1BdXTwTdWMzWeeIRkJD48mNVFK-

  • @tanzilkhokhar
    @tanzilkhokhar Год назад

    ye sary links kahan sy milay gy sir i have started learning your course kindly koi guide kr dy collab py b jo kam kra rhy hain uska link kahan sy milay ga or open api ki keys wala .

    • @shazilwaqar
      @shazilwaqar Год назад +1

      You can get All Lecture Slides and google Collab notebook from this Links: drive.google.com/drive/folders/16ePoT1BdXTwTdWMzWeeIRkJD48mNVFK-

    • @tanzilkhokhar
      @tanzilkhokhar Год назад

      @@shazilwaqar jazakAllah thanks for helping

  • @deekaybot5247
    @deekaybot5247 7 месяцев назад

    ipip install openai mera naii chal raaha

  • @HafsaSaad-wz7ps
    @HafsaSaad-wz7ps 5 месяцев назад

    It's a very big problem that the screen you share is blur and concepts are not clear because of it

    • @PriorityIsJannah
      @PriorityIsJannah 2 месяца назад

      increase the video quality from the settings.set it to 1080p.and it will be clearer

  • @Drsehrishkhan
    @Drsehrishkhan Год назад

    Stack over flow ara , key paste kr k 😔...if anybody know the solution then please guide me

  • @sabayaseen7916
    @sabayaseen7916 Год назад

    Asslam O alaikum sir! Do we need to buy a key for practice purposes now?

    • @Shahzaib_wp
      @Shahzaib_wp Год назад +1

      I am also having the same issue. "You exceeded your current quota" Even I didn't get a single response.

    • @Asadneon
      @Asadneon 7 месяцев назад

      no you do not need

  • @sajjadtariqtv109
    @sajjadtariqtv109 Год назад

    Sir plz create another community b/c this community has already completed

  • @mychoice1832
    @mychoice1832 Год назад

    Story yad hai achi trha

  • @khushbakhtsyeda9933
    @khushbakhtsyeda9933 8 месяцев назад

    smjh hi nahi ari mjhy yh phython and api

  • @AbdulMajeed-lp1fk
    @AbdulMajeed-lp1fk Год назад +1

    sir please upload all the lectures till today !

    • @muhammadirfanmalik
      @muhammadirfanmalik  Год назад +3

      All the Lectures are already available in Live section!

    • @asharmurtaza3058
      @asharmurtaza3058 Год назад

      @@muhammadirfanmalik Aslamoalikum Sir,
      Sir men openAI API key use karaha tha
      Tu last step men ja k jab hum function ko call karahy hoty hen
      Tab error a Raha hy Sir
      "RatelimitError"
      " You exceeded your current quota, please check your plan and billing details"
      Sir Mera tu first time hy aab
      Use hi nai kiya itna

    • @faizymughalmusic5496
      @faizymughalmusic5496 Год назад

      @@muhammadirfanmalik same error response error araha jab hum variable call kerwarhy hain Sentiment_analysis function me

    • @HAMZABUTT-um1wc
      @HAMZABUTT-um1wc Год назад

      @@asharmurtaza3058 Same error

  • @smmubashir3078
    @smmubashir3078 Год назад

    Any body can upload assignments till this lecture ?

  • @learntoearnsmartly-tr5lz
    @learntoearnsmartly-tr5lz Год назад

    I hv gone through uptill lect 8.... only.... what next?

    • @imtiazali_66
      @imtiazali_66 Год назад

      go live section all videos are there

  • @Shahzaib_wp
    @Shahzaib_wp Год назад +1

    "You exceeded your current quota" Even I didn't get a single response

    • @uniquefindshub
      @uniquefindshub Год назад

      make new gmail id and new no bcz quota is very linited on number not email.. plus u have already used chatgpt wth ths acct thats y this error is occuring

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

      ​@@uniquefindshubany other option

  • @Ershaktiraj
    @Ershaktiraj Год назад

    9 episode kaha hi