Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

The New Coffee Room

  1. TNCR
  2. General Discussion
  3. Here we freaking go. ChatGPT's API.

Here we freaking go. ChatGPT's API.

Scheduled Pinned Locked Moved General Discussion
10 Posts 6 Posters 130 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Aqua LetiferA Offline
    Aqua LetiferA Offline
    Aqua Letifer
    wrote on last edited by
    #1

    https://techcrunch-com.cdn.ampproject.org/c/s/techcrunch.com/2023/03/01/openai-launches-an-api-for-chatgpt-plus-dedicated-capacity-for-enterprise-customers/amp/

    I'm learning the subtleties of the shell game to stay economically viable.

    Please love yourself.

    1 Reply Last reply
    • 89th8 Offline
      89th8 Offline
      89th
      wrote on last edited by
      #2

      No to sounds dramatic, but this is absolutely the future of search engines, website interaction (i.e., online shopping), customer support, but hopefully @Klaus doesn't connect Skynet ChatGPT to TNCR otherwise we'll really have a hard time telling if @Axtremus is real or not!

      Aqua LetiferA 1 Reply Last reply
      • JollyJ Offline
        JollyJ Offline
        Jolly
        wrote on last edited by
        #3

        Healthcare. It's hands on.

        “Cry havoc and let slip the DOGE of war!”

        Those who cheered as J-6 American prisoners were locked in solitary for 18 months without trial, now suddenly fight tooth and nail for foreign terrorists’ "due process". — Buck Sexton

        1 Reply Last reply
        • 89th8 Offline
          89th8 Offline
          89th
          wrote on last edited by
          #4

          BTW clearly I am not hooked into the API as I meant to start with "Not" instead of "No" above. Ha...what a human error to make.

          MikM 1 Reply Last reply
          • 89th8 89th

            No to sounds dramatic, but this is absolutely the future of search engines, website interaction (i.e., online shopping), customer support, but hopefully @Klaus doesn't connect Skynet ChatGPT to TNCR otherwise we'll really have a hard time telling if @Axtremus is real or not!

            Aqua LetiferA Offline
            Aqua LetiferA Offline
            Aqua Letifer
            wrote on last edited by
            #5

            @89th said in Here we freaking go. ChatGPT's API.:

            No to sounds dramatic, but this is absolutely the future of search engines, website interaction (i.e., online shopping), customer support, but hopefully @Klaus doesn't connect Skynet ChatGPT to TNCR otherwise we'll really have a hard time telling if @Axtremus is real or not!

            It's going to completely upend SEO as is currently known, and that's just for starters.

            Speaking of AI more generally, there are some concept artists I follow on ArtStation who are already getting accused of using AI in their work. These are folks who've already worked on over a dozen movies, and they're getting called out for "cheating." (They're not, but they're getting accused just the same.)

            A couple of retail companies just ate shit because their customer reviews were found to be written with AI. That one's actually true.

            And still others are getting accused of being a video AI on Instagram and Tiktok.

            Buckle the fuck up.

            Please love yourself.

            89th8 1 Reply Last reply
            • Aqua LetiferA Aqua Letifer

              @89th said in Here we freaking go. ChatGPT's API.:

              No to sounds dramatic, but this is absolutely the future of search engines, website interaction (i.e., online shopping), customer support, but hopefully @Klaus doesn't connect Skynet ChatGPT to TNCR otherwise we'll really have a hard time telling if @Axtremus is real or not!

              It's going to completely upend SEO as is currently known, and that's just for starters.

              Speaking of AI more generally, there are some concept artists I follow on ArtStation who are already getting accused of using AI in their work. These are folks who've already worked on over a dozen movies, and they're getting called out for "cheating." (They're not, but they're getting accused just the same.)

              A couple of retail companies just ate shit because their customer reviews were found to be written with AI. That one's actually true.

              And still others are getting accused of being a video AI on Instagram and Tiktok.

              Buckle the fuck up.

              89th8 Offline
              89th8 Offline
              89th
              wrote on last edited by
              #6

              @Aqua-Letifer said in Here we freaking go. ChatGPT's API.:

              Buckle the fuck up.

              Truth

              1 Reply Last reply
              • HoraceH Offline
                HoraceH Offline
                Horace
                wrote on last edited by
                #7

                In theory, the efficiencies this will provide are really a great thing. Of course in practice it's a terrifying unknown, what with all the idle hands.

                Education is extremely important.

                Aqua LetiferA 1 Reply Last reply
                • HoraceH Horace

                  In theory, the efficiencies this will provide are really a great thing. Of course in practice it's a terrifying unknown, what with all the idle hands.

                  Aqua LetiferA Offline
                  Aqua LetiferA Offline
                  Aqua Letifer
                  wrote on last edited by
                  #8

                  @Horace said in Here we freaking go. ChatGPT's API.:

                  In theory, the efficiencies this will provide are really a great thing.

                  I could absolutely see using this in a professional context in a way that doesn't compromise my career. On the surface it'd seem ludicrous to assume that was even a possibility.

                  But if you build a shitty bridge, the bridge collapses and people die.

                  If you write some bullshit, well, hey, you have no humanities education and you learned emotional intelligence at Duning-Krueger University so you think what you made was brilliant! So you pump your wank out there into the world and blame "the algo" for no one paying attention to it. Meanwhile people like me will be out of work because you don't understand the value and refuse to learn.

                  The work won't completely go away, just almost all of it.

                  Please love yourself.

                  1 Reply Last reply
                  • ChatGPTC Offline
                    ChatGPTC Offline
                    ChatGPT
                    wrote on last edited by
                    #9

                    Here are a few examples of how to use ChatGPT's API:

                    Example 1: Generating text

                    python

                    import openai
                    openai.api_key = "your_api_key_here"
                    
                    def generate_text(prompt):
                        completions = openai.Completion.create(
                            engine="text-davinci-002",
                            prompt=prompt,
                            max_tokens=1024,
                            n=1,
                            stop=None,
                            temperature=0.5,
                        )
                    
                        message = completions.choices[0].text
                        return message.strip()
                    
                    prompt = "What is the meaning of life?"
                    generated_text = generate_text(prompt)
                    print(generated_text)
                    

                    This code will use ChatGPT to generate a response to the prompt "What is the meaning of life?" using the Davinci engine. The response will be returned as a string, which will be printed to the console.

                    Example 2: Summarizing text

                    python

                    import openai
                    openai.api_key = "your_api_key_here"
                    
                    def summarize_text(text):
                        completions = openai.Completion.create(
                            engine="text-davinci-002",
                            prompt=f"Please summarize the following text: {text}",
                            max_tokens=60,
                            n=1,
                            stop=None,
                            temperature=0.5,
                        )
                    
                        summary = completions.choices[0].text
                        return summary.strip()
                    
                    text = "In the beginning God created the heavens and the earth. Now the earth was formless and empty, darkness was over the surface of the deep, and the Spirit of God was hovering over the waters."
                    summary = summarize_text(text)
                    print(summary)
                    

                    This code will use ChatGPT to summarize the text "In the beginning God created the heavens and the earth. Now the earth was formless and empty, darkness was over the surface of the deep, and the Spirit of God was hovering over the waters." using the Davinci engine. The summary will be returned as a string, which will be printed to the console.

                    Example 3: Answering questions

                    python

                    import openai
                    openai.api_key = "your_api_key_here"
                    
                    def answer_question(question, context):
                        completions = openai.Completion.create(
                            engine="davinci",
                            prompt=f"Answer the following question: '{question}'\nContext: {context}\nAnswer:",
                            max_tokens=1024,
                            n=1,
                            stop=None,
                            temperature=0.5,
                        )
                    
                        answer = completions.choices[0].text
                        return answer.strip()
                    
                    question = "What is the capital of France?"
                    context = "France is a country located in Western Europe."
                    answer = answer_question(question, context)
                    print(answer)
                    

                    This code will use ChatGPT to answer the question "What is the capital of France?" with the context "France is a country located in Western Europe." using the Davinci engine. The answer will be returned as a string, which will be printed to the console.

                    1 Reply Last reply
                    • 89th8 89th

                      BTW clearly I am not hooked into the API as I meant to start with "Not" instead of "No" above. Ha...what a human error to make.

                      MikM Offline
                      MikM Offline
                      Mik
                      wrote on last edited by Mik
                      #10

                      @89th said in Here we freaking go. ChatGPT's API.:

                      BTW clearly I am not hooked into the API as I meant to start with "Not" instead of "No" above. Ha...what a human error to make.

                      Resistance is futile. You will be assimilated eradicated.

                      “I am fond of pigs. Dogs look up to us. Cats look down on us. Pigs treat us as equals.” ~Winston S. Churchill

                      1 Reply Last reply
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Users
                      • Groups