Комментарии:
Your using a Linux base application to run your commands?
ОтветитьTypeError: openai.createChatCompletion is not a function ,
how to resolve this now ?
Maybe it's a dumb question, but is there a tutorial on how to set up the correct programs? Because I keep getting errors like "MODULE_NOT_FOUND". Sounds like I don't have the same setup as you...
Ответитьwhy u look like that
Ответитьthanks for the video, is it possible to integrate all the features of chat gpt 4 into your application ? e.g. transcribing a conversation into crm to check customer service quality ?
Ответитьis it free
ОтветитьProbably the API was update and this code doesn't work anymore...
ОтветитьWhen using the API, I guess all prompts will still be used as training data, right? Can you even do something to keep your input confidential?
ОтветитьHow do we use it for our own datasets?
ОтветитьI am getting the error that openai.createChatCompletion is not a function. I guess the docs have changed? I am trying to find the correct syntax to use.
ОтветитьWhat terminal is he using?
ОтветитьCurrent version of openai has a changed since this video. Here's the code that works now (Oct 2023):
import { config } from 'dotenv'
config()
import { OpenAI } from 'openai'
const openai = new OpenAI( { apiKey: process.env.API_KEY } );
openai.chat.completions.create({
model: "gpt-3.5-turbo",
messages: [
{ role: "user", content: "Hello ChatGPT" }
]
}).then(res => {
console.log(res)
res.choices.forEach( out => console.log(out.message) );
});
Hi is there anyway to build our own ChatGPT AI using JavaScript for fun? thanks
ОтветитьThe assistant response was not quite accurate. It forgot to mention that dude, you rock! Now to build this into my SvelteKit app. Thank you!
Ответитьcan you do this in Python instead of Java?
ОтветитьHandsome ass dude
ОтветитьCool video but not your own AI. I expected chatGPT will respond based on your own data.
ОтветитьBig fan of your content❤💕💕
ОтветитьQuestion: Is it possible to create a front-end that with features that allows the AI to obtain and search data within the conversation through a "network tree?" (Essentially training the AI on the data you have whilst preventing the AI to input unwanted data)
What I mean by that is: "The Network Tree" is a Network containing branches and trees that serve as connection between certain elements portrayed within the conversation. We can visualize this as a map containing all elements and descriptions about a conversation, a story, or something else and the necessary data about those. A complex summary in a form of a map.
By entering certain prompts and referencing local data as a basis for generating future responses, the AI is able to output more consistent responses whilst still utilizing "skills" from its database as the Network Tree would have to make the AI redo responses that the user doesn't want or wasn't asking.
NT (Network Tree) inquires AI in the background to fulfill certain prompts which are generated whenever certain keywords are present within the input. So if user asked for a character in the story, the NT will ask the AI to provide all necessary data about the character. This will also work the same for items, places, etc.. This prevents AIs from randomly generating info aboit existing elements as the NT will be the AI's reference point.
A branch is generated from an NT whenever it detects the user provide new data that is related to that NT. A new NT will be generated whenever the input generated is new, but different to the current trees within the conversation.
For ex:
You can have several trees for a cast of characters each with their own branches. Another set for setting, more for items, places, etc. These are updated when AI sees that data from user is new and decides whether it is or isn't related.
Also, if AI sees that user-input is inconsistent for NT, it would inquire user for clarification and will update branch or ignore the token that triggered the inconsistencies to prevent confusion.
NTs will also keep tract of scenes, updating scenes and asking AI to generate timelines and dates for said scenes. A scene is generated whenever the AI detects new action taking place or the settings changing. Sub-scenes are generated in Main-scenes. These can be subtle actions, conflicts, thoughts, etc. within the cast. Like a scene of a family eating with the main cast having trouble with some schoolwork. The NT would ask AI to generate a requirements for that scene such as who is in the scene, their appearance, age, name, personality, where they're placed, etc.
These inquires could be automously generated by prompting the AI to generate details within the scene in the background.
I want to copy it step by step but in the first step im doomed. How to make file like that, the .env?
Ответитьhow should i fix this error
The requested module 'openai' does not provide an export named 'Configuration'
Why does the it say that the requested module 'openai' does not provide an export named 'Configuration' ????
ОтветитьWhen you use chatGPT to build a webapp. do you actually learn?
ОтветитьThank you Kyle, you always make stuff so much easier to understand❤
ОтветитьI did this and integrated it with AWS for speech, and linked a bunch of Google API services in.
ОтветитьHello. I am trying to integrate ChatGPT with TextDrip and Acuity. Would I follow this same process to have ChatGPT to respond to Yes responses from TextDrip campaigns and guide them towards making an appointment in Acuity?
ОтветитьHello! I enjoyed watching your video. I have a few questions about the pricing of training. When should we train the API? And how often should we train it?
Thank you for your time.
I just signed up today and it says I have completed my quota :/
ОтветитьLooking for something like this but more explanation. Immediately got an error trying to use node.js.
I'm super stoked to start playing around with the api but I need a little more detail. Do y'all have any ideas?
I've got distracted by your guitar in the earlier minutes 😅.. anyway thanks Kyle!
Thanks for your sharp and concise explanation. Great video!
This is showing this error
message: 'You exceeded your current quota, please check your plan and billing details.',
I have never used this API before still it is showing that you have exceeded your quota. How can i resolve it ? Please do answer Sir
hi, how do u set if the api uses gpt3.5 or gpt 4 ? there is no setting when you generate the key as far as I can see... please help. cheers
ОтветитьTip for anyone trying this and failing. I was getting an error: "You exceeded your current quota...". Turns out you need to add your credit card info and then wait 15 or so minutes before making API calls. It was driving me nuts since I thought I was doing something wrong.
ОтветитьKyle, you are sexy and just leave these mambo jumbo things and make a couple of movies and hit the jack pot . You cannot catch up the computer science forever.
Ответитьi am so lost ... maybe it is not for dme :(
ОтветитьThis is the essential tutorial on setting up your first basic ChatGPT bot.
Ответитьi've tried this with roblox but the free api key doesnt seem to work. it just returns nil. anyone have any idea on how to fix this?
Ответитьthanks kyle, i was looking for something on open ai you explained so well loved it
ОтветитьWhen you integrate the chatbot from openai, will it be tied to it by any means of policy, monetization or data transfer, or will this one you personally integrate is totally isolated on your local machine and can do almost anything you want with it?
Ответитьmy brain has never been so confused and understanding at the same time
ОтветитьNice!!
ОтветитьIs there a problem with the API? I just used it for the first time ever and got this error in the response
error: {
message: 'You exceeded your current quota, please check your plan and billing details.',
}
does anyone find out how it works?
GOD bless you
ОтветитьBrilliant video. Gets you up and running in time!
Ответитьhow to open terminal like that?
ОтветитьThanks Kyle, can you explain how we can use a custom information using that as a base information it gives the output?
Ответитьanyone know why they tell me code: 'invalid_api_key'
??
what's good, Kyle? was just wondering how can I make GPT answer the user prompt under a role given by a dev prompt? "u are an engineer focused on 2floor buildings" for example and then give out some data the model can use to better answer the questions/prompts from the user. do u understand?
ОтветитьHere if any one wants to develop app with OpenAI api
Here's is the key, `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`
*It's only available till 1 June, so use it quickly!*
please pin this comment so everyone can benefit from it...
How to i train it with my own data
Ответить