LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 03-25-2023, 08:40 PM   #1
BudiKusasi
Member
 
Registered: Apr 2017
Distribution: Artix
Posts: 345

Rep: Reputation: 15
Terminal's chatgpt was interrupted


As noob in using terminal's chatgpt, after obtain the key, quickly get interrupted:

Code:
$ chatgpt
Welcome to chatgpt. You can quit with 'exit' or 'q'.

Enter a prompt:
tesla


Your request to Open AI API failed: invalid_request_error
You didn't provide an API key. You need to provide your API key in an Authorization header using Bearer auth (i.e. Authorization: Bearer YOUR_KEY)
Nor work follow entry with the key. Please help show how to do it correctly
 
Old 03-25-2023, 08:42 PM   #2
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,225

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
Did you, like, maybe consider posting a link to the program's homepage? And maybe posting the steps you took to "obtain the key" and "entry with the key"?

Last edited by dugan; 03-25-2023 at 08:45 PM.
 
2 members found this post helpful.
Old 05-09-2023, 01:08 AM   #3
GentleThotSeaMonkey
Member
 
Registered: Dec 2016
Posts: 338
Blog Entries: 4

Rep: Reputation: 128Reputation: 128
Thumbs down Not chatGPT again

Edit: oops, sorry, I got sucked in by this now-banned spam_bot OP, so ignore this post. E. G. https://www.linuxquestions.org/quest...5/#post6225452




This?: https://beebom.com/how-use-chatgpt-linux-terminal/
Or: https://distroid.net/how-to-run-chat...inal-on-linux/

I asked chat.openai.com (in web browser): act like a Linux terminal

Related to another thread I had been posting in, I gave it: ip r
And it gave a nice sample output with a detailed explanation, which would be useful for that other OP!

Last edited by GentleThotSeaMonkey; 05-09-2023 at 02:07 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Interview with Gary Marcus about AI and ChatGPT frankbell General 15 02-17-2023 08:27 PM
LXer: Use ChatGPT From The Command Line With This Wrapper LXer Syndicated Linux News 0 02-01-2023 11:32 PM
LXer: 5 Ways a Linux User Can Make Use of ChatGPT LXer Syndicated Linux News 0 01-25-2023 12:41 PM
LXer: How ChatGPT can help Linux users on their Journey LXer Syndicated Linux News 0 01-25-2023 12:51 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration