OpenAI-CoPilot-ChatGPT
Udaiappa Ramachandran ( Udai )
https://udai.io
About me
• Udaiappa Ramachandran ( Udai )
• CTO/CSO-Akumina, Inc.
• Microsoft Azure MVP
• Cloud Expert
• Microsoft Azure, Amazon Web Services, and Google
• New Hampshire Cloud User Group (http://www.meetup.com/nashuaug )
• https://udai.io
Agenda
• Explore ChatGPT and Generative AI
• OpenAI APIs
• Real-world applications
• CoPilot
• Demo…Demo…Demo…
ChatGPT
• Chat Generative Pre-trained Transformer
• GPT-3.5 , GPT 4
• GPT is an AI system but not AGI
• Reached 100M users in 2 months
• Trained on massive data set like news articles, scholarly articles, Wikipedia,
research papers, books, documentation, public code repository
• Doesn’t do an internet search for answers, instead predicts answers based on its
training data
• Reinforcement Learning from Human Feedback (RHLF)
• InstructGPT
GPT3 Vs GPT4 by ChatGPT
GPT3-released in 2020
GPT3.5 – released in 2022 (175 billion parameters,
largest neural network), optimized for speed
GPT4 – released on March 14, 2023 (process about
25000 words, images and much more nuance than
GPT3), it accepts image and text inputs and outputs as
text. Excels at tasks that require advanced reasoning,
complex instruction, understanding and more creativity
AI vs AGI
Feature Artificial Intelligence (AI) Artificial General Intelligence (AGI)
Definition
Specialized intelligence designed to perform
specific tasks
Human-like intelligence capable of understanding and
learning any intellectual task
Scope Narrow, focused on specific domains or tasks
Broad, encompasses a wide range of domains and
tasks
Learning Ability Limited to the specific tasks it was trained for
Capable of learning and adapting to new tasks and
situations
Generalization Struggles to generalize beyond its training data
Able to generalize and transfer knowledge across
domains
Creativity Limited creativity within its specialized domain
Possesses the ability to think creatively and solve
complex problems
Autonomy Requires human input and guidance for new tasks
Can operate autonomously and make decisions
independently
Context
Understanding
Limited understanding of context and common
sense
Can understand and apply context and common sense
Problem Solving Effective in solving specific, well-defined problems Capable of solving abstract and complex problems
Emotional Intelligence
Lacks the ability to understand and respond to
emotions
Can potentially understand and respond to human
emotions
Ethical Considerations
Primarily concerns misuse and unintended
consequences
Includes concerns about control, safety, and impact on
humanity
Getting Started
• Browser Vs Mobile App
• Signup ChatGPT Free or ChatGPT Plus (for more features and availability)
• Signup for API subscription
• Playgrounds
• https://chat.openai.com/chat
• https://labs.openai.com/
• https://platform.openai.com/playground
• https://ecrettmusic.com/play
OpenAI APIs
• Models (list, retrieve)
• Completion
• Chat
• Edit
• Image (create, edit, image variations)
• Embeddings
• Audio (create transcription, create translation)
• Files (list, upload, delete, retrieve, retrieve content)
• Fine-tunes (create, list, retrieve, cancel, list fine-tune events, delete fine-tune model)
• Moderations
• Engines (list, retrieve)
Base URL: https://api.openai.com/v1
Real world application ideas
• Chat and conversation interactions
• Chat and conversation creation
• Code generation or transformation
• Automation
• Journalistic content
• Question-answering
• Reason over structured and unstructured data
• Search
• Summarization
• Writing assistance on specific topics
• Daily workflows
• Language translation
• Customer service chatbots
Copilot
• GitHub Copilot uses the OpenAI Codex to suggest code and entire functions
in real-time, right from your editor.
• Trained on billions of lines of code, GitHub Copilot turns natural language
prompts into coding suggestions across dozens of languages.
• Extensions
• Visual Studio
• Visual Studio Code
• JetBrain
• Niovim
https://github.com/features/copilot/
Getting Started
• Signup Copilot for individual or Business
• Comes with 60 days free trial
• Install Copilot extension for the IDE
• Keyboard Shortcuts
• ESC – Dismiss Copilot
• TAB – Accept suggestion
• ALT+] – Next suggestion
• ALT+[ - Previous suggestion
• CTRL+ENTER – See 10 suggestions
Reference
• https://github.com/features/copilot
• https://docs.github.com/en/copilot/getting-started-with-github-
copilot/getting-started-with-github-copilot-in-visual-studio
• https://chat.openai.com/chat
• https://labs.openai.com/
• https://platform.openai.com/playground
• https://ecrettmusic.com/play
Thanks for your time and trust!
New Hampshire CLOUD .NET User Group

OpenAI-Copilot-ChatGPT.pptx

  • 1.
  • 2.
    About me • UdaiappaRamachandran ( Udai ) • CTO/CSO-Akumina, Inc. • Microsoft Azure MVP • Cloud Expert • Microsoft Azure, Amazon Web Services, and Google • New Hampshire Cloud User Group (http://www.meetup.com/nashuaug ) • https://udai.io
  • 3.
    Agenda • Explore ChatGPTand Generative AI • OpenAI APIs • Real-world applications • CoPilot • Demo…Demo…Demo…
  • 4.
    ChatGPT • Chat GenerativePre-trained Transformer • GPT-3.5 , GPT 4 • GPT is an AI system but not AGI • Reached 100M users in 2 months • Trained on massive data set like news articles, scholarly articles, Wikipedia, research papers, books, documentation, public code repository • Doesn’t do an internet search for answers, instead predicts answers based on its training data • Reinforcement Learning from Human Feedback (RHLF) • InstructGPT
  • 5.
    GPT3 Vs GPT4by ChatGPT GPT3-released in 2020 GPT3.5 – released in 2022 (175 billion parameters, largest neural network), optimized for speed GPT4 – released on March 14, 2023 (process about 25000 words, images and much more nuance than GPT3), it accepts image and text inputs and outputs as text. Excels at tasks that require advanced reasoning, complex instruction, understanding and more creativity
  • 6.
    AI vs AGI FeatureArtificial Intelligence (AI) Artificial General Intelligence (AGI) Definition Specialized intelligence designed to perform specific tasks Human-like intelligence capable of understanding and learning any intellectual task Scope Narrow, focused on specific domains or tasks Broad, encompasses a wide range of domains and tasks Learning Ability Limited to the specific tasks it was trained for Capable of learning and adapting to new tasks and situations Generalization Struggles to generalize beyond its training data Able to generalize and transfer knowledge across domains Creativity Limited creativity within its specialized domain Possesses the ability to think creatively and solve complex problems Autonomy Requires human input and guidance for new tasks Can operate autonomously and make decisions independently Context Understanding Limited understanding of context and common sense Can understand and apply context and common sense Problem Solving Effective in solving specific, well-defined problems Capable of solving abstract and complex problems Emotional Intelligence Lacks the ability to understand and respond to emotions Can potentially understand and respond to human emotions Ethical Considerations Primarily concerns misuse and unintended consequences Includes concerns about control, safety, and impact on humanity
  • 7.
    Getting Started • BrowserVs Mobile App • Signup ChatGPT Free or ChatGPT Plus (for more features and availability) • Signup for API subscription • Playgrounds • https://chat.openai.com/chat • https://labs.openai.com/ • https://platform.openai.com/playground • https://ecrettmusic.com/play
  • 8.
    OpenAI APIs • Models(list, retrieve) • Completion • Chat • Edit • Image (create, edit, image variations) • Embeddings • Audio (create transcription, create translation) • Files (list, upload, delete, retrieve, retrieve content) • Fine-tunes (create, list, retrieve, cancel, list fine-tune events, delete fine-tune model) • Moderations • Engines (list, retrieve) Base URL: https://api.openai.com/v1
  • 9.
    Real world applicationideas • Chat and conversation interactions • Chat and conversation creation • Code generation or transformation • Automation • Journalistic content • Question-answering • Reason over structured and unstructured data • Search • Summarization • Writing assistance on specific topics • Daily workflows • Language translation • Customer service chatbots
  • 10.
    Copilot • GitHub Copilotuses the OpenAI Codex to suggest code and entire functions in real-time, right from your editor. • Trained on billions of lines of code, GitHub Copilot turns natural language prompts into coding suggestions across dozens of languages. • Extensions • Visual Studio • Visual Studio Code • JetBrain • Niovim https://github.com/features/copilot/
  • 11.
    Getting Started • SignupCopilot for individual or Business • Comes with 60 days free trial • Install Copilot extension for the IDE • Keyboard Shortcuts • ESC – Dismiss Copilot • TAB – Accept suggestion • ALT+] – Next suggestion • ALT+[ - Previous suggestion • CTRL+ENTER – See 10 suggestions
  • 12.
    Reference • https://github.com/features/copilot • https://docs.github.com/en/copilot/getting-started-with-github- copilot/getting-started-with-github-copilot-in-visual-studio •https://chat.openai.com/chat • https://labs.openai.com/ • https://platform.openai.com/playground • https://ecrettmusic.com/play
  • 13.
    Thanks for yourtime and trust! New Hampshire CLOUD .NET User Group

Editor's Notes

  • #5 LLM – large language model GPT3-released in 2020 GPT3.5 – released in 2022 (175 billion parameters, largest neural network) GPT4 – released on March 14, 2023 (process about 25000 words, images and much more nuance than GPT3) Time to reach 100M active users Instagram -30 months TikTok-9 months ChatGPT – 2 months Chat Generative pre-defined transformer A generative AI language model that interacts in a conversational way -a type of generative AI that creates new content Massively popular in a short time, with the potential to disrupt how we work, learn and interact Generative AI any type of AI that can be used to create new text, images, video, audio, code or synthetic data ecrettmusic.com/play discriminative AI (ex., image recognition, is this transaction fraudulent) ChatGPT capabilities conversations and memory providing corrections and feedback ChatGPT limitations recency of data it give incorrect anwers; always verify trained to not answer biased or inappropriate questions
  • #6 LLM – large language model GPT3-released in 2020 GPT3.5 – released in 2022 (175 billion parameters, largest neural network) GPT4 – released on March 14, 2023 (process about 25000 words, images and much more nuance than GPT3), it accepts image and text inputs and outputs as text
  • #7 Keep in mind that AGI is still a theoretical concept and has not been achieved yet. The differences listed here are based on the current understanding of what AGI could be compared to existing AI technology. Intelligent system but different levels of capability and learning AI is based on human cognition (cognitive abilities using training data sets and supervised learning) but it can only perform specific tasks that are already programmed AGI is more of intellectual learning that can perform any task to the standard of a human or better, and adapt to new domains and circumstances. AGI is also known as true AI, strong AI or full AI
  • #9 https://openai.com/ https://platform.openai.com/docs/api-reference https://api.openai.com/v1/models/ https://api.openai.com/v1/models/gpt-3.5-turbo https://api.openai.com/v1/engines https://api.openai.com/v1/engines/{engine_id} https://api.openai.com/v1/completions { "model": "text-davinci-003", "prompt": "Say this is a test", "max_tokens": 7, "temperature": 0 } https://api.openai.com/v1/chat/completions { "model": "gpt-3.5-turbo", "messages": [{"role": "user", "content": "Hello!"}] } https://api.openai.com/v1/edits { "model": "text-davinci-edit-001", "input": "What day of the wek is it?", "instruction": "Fix the spelling mistakes" } https://api.openai.com/v1/images/generations { "prompt": "A cute baby sea otter", "n": 2, "size": "1024x1024" } https://api.openai.com/v1/images/edits { "prompt": "A cute baby sea otter", "n": 2, "size": "1024x1024", "image":"village.png" }
  • #10 Chat and conversation interaction: Users can interact with a conversational agent that responds with responses drawn from trusted documents such as internal company documentation or tech support documentation; conversations must be limited to answering scoped questions. Available to internal, authenticated external users, and unauthenticated external users. Chat and conversation creation: Users can create a conversational agent that responds with responses drawn from trusted documents such as internal company documentation or tech support documentation; conversations must be limited to answering scoped questions. Limited to internal users only. Code generation or transformation scenarios: For example, converting one programming language to another, generating docstrings for functions, converting natural language to SQL. Limited to internal and authenticated external users. Journalistic content: For use to create new journalistic content or to rewrite journalistic content submitted by the user as a writing aid for pre-defined topics. Users cannot use the application as a general content creation tool for all topics. May not be used to generate content for political campaigns. Limited to internal users. Question-answering: Users can ask questions and receive answers from trusted source documents such as internal company documentation. The application does not generate answers ungrounded in trusted source documentation. Available to internal, authenticated external users, and unauthenticated external users. Reason over structured and unstructured data: Users can analyze inputs using classification, sentiment analysis of text, or entity extraction. Examples include analyzing product feedback sentiment, analyzing support calls and transcripts, and refining text-based search with embeddings. Limited to internal and authenticated external users. Search: Users can search trusted source documents such as internal company documentation. The application does not generate results ungrounded in trusted source documentation. Available to internal, authenticated external users, and unauthenticated external users. Summarization: Users can submit content to be summarized for pre-defined topics built into the application and cannot use the application as an open-ended summarizer. Examples include summarization of internal company documentation, call center transcripts, technical reports, and product reviews. Limited to internal, authenticated external users, and unauthenticated external users. Writing assistance on specific topics: Users can create new content or rewrite content submitted by the user as a writing aid for business content or pre-defined topics. Users can only rewrite or create content for specific business purposes or pre-defined topics and cannot use the application as a general content creation tool for all topics. Examples of business content include proposals and reports. May not be selected to generate journalistic content (for journalistic use, select the above Journalistic content use case). Limited to internal users and authenticated external users. Data Practitioners Automation Content Creation Writing code Daily workflows
  • #11 https://docs.github.com/en/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-visual-studio