Тёмный

ServiceNow Integration with ChatGPT | ServiceNow Integration 

Learn ServiceNow with Ravi
Подписаться 13 тыс.
Просмотров 18 тыс.
50% 1

Опубликовано:

 

21 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 131   
@learnservicenowwithravi
@learnservicenowwithravi Год назад
Hi @all If you are having issue with the UI action then please use the below code --------------------------------------------------------------------------------------------------------------------------------- function runClientCode() { gsftSubmit(null, g_form.getFormElement(), "run_server"); } if (typeof window == 'undefined') { runServerCode(); } function runServerCode() { var r1 = new sn_ws.RESTMessageV2('Chat GPT', 'askChatGPT'); r1.setStringParameterNoEscape('prompt', current.u_question); r1.setStringParameterNoEscape('max_token', '1024'); r1.setStringParameterNoEscape('temp', '0.5'); r1.setStringParameterNoEscape('model', 'text-davinci-003'); var response1 = r1.execute(); var responseBody1 = response1.getBody(); var httpStatus1 = response1.getStatusCode(); gs.info("Test "+responseBody1); var responseObject1 = JSON.parse(responseBody1); var test1 = responseObject1.choices[0].text; current.u_answer = test1.trim(); current.update(); action.setRedirectURL(current);
@shreenut3447
@shreenut3447 Год назад
now working fine
@shravaninaini6070
@shravaninaini6070 Год назад
Thank you Ravi it's working fine now
@richardadetimehin1459
@richardadetimehin1459 Год назад
Hi Ravi. Thanks for this great video. Please I need help. After copying and pasting the above scripts, am getting this error message - "Could not save record because of a compile error: JavaScript parse error at line (27) column (35) problem = missing } after function body (; line 27)"
@learnservicenowwithravi
@learnservicenowwithravi Год назад
@@richardadetimehin1459 please paste your code check whether the parenthesis is missing
@Baburao_Aapte
@Baburao_Aapte Год назад
{ "error": { "message": "You exceeded your current quota, please check your plan and billing details.", "type": "insufficient_quota", "param": null, "code": "insufficient_quota" } }
@glpnanjaneyakumar1061
@glpnanjaneyakumar1061 3 месяца назад
Very Useful vedio
@bp7827
@bp7827 Год назад
Kudos for such a clean explanation and your efforts for us. Thanks Brother. Please bring a series on integration videos .
@learnservicenowwithravi
@learnservicenowwithravi Год назад
As soon as possible I will bring integration content
@SantoshKamble-zk3fn
@SantoshKamble-zk3fn Год назад
Yes please I'm also waiting ❤ please make fast
@NotSure-i5n
@NotSure-i5n Год назад
You are legend!! Plus, you're doing this in 2 languages! So cool 😎 Thank you so much for the guidance!!!
@learnservicenowwithravi
@learnservicenowwithravi Год назад
Thanks a lot
@bhagirathasatti7308
@bhagirathasatti7308 4 месяца назад
great explaination Sir
@randyskiles7229
@randyskiles7229 Год назад
Hi Ravi, Thanks for the video. I really enjoy your way of presenting the material. I'm a ServiceNow Admin in League City, Texas. I'm can't wait to see how ChatGPT and other AI's will integrate and improve ServiceNow. One thing that really impresses me are your thumbnails. Do you mind sharing how you come up with such striking thumbnails?
@learnservicenowwithravi
@learnservicenowwithravi Год назад
Thanks for finding this video very useful.. Its just an Image I create with AI itself and edited that picture with the content title
@moumitabhakat2949
@moumitabhakat2949 Год назад
Very helpful thank you so much
@learnservicenowwithravi
@learnservicenowwithravi Год назад
Thanks for your feedback
@JitendraKumar-cl9kd
@JitendraKumar-cl9kd Год назад
wow mathe pe tilak . I like it.
@JitendraKumar-cl9kd
@JitendraKumar-cl9kd Год назад
Thank you❤❤❤❤
@simba7076
@simba7076 Год назад
Great! Thank you sir for sharing your knowledge with us.
@learnservicenowwithravi
@learnservicenowwithravi Год назад
Thanks 🙏
@swetakanguri
@swetakanguri 5 месяцев назад
Very helpful, please make a video with REST API for the healthcare custom app from ServiceNow to any Healthcare system
@learnservicenowwithravi
@learnservicenowwithravi 4 месяца назад
As soon as possible
@2PaweL
@2PaweL Год назад
This is great video. I learned a lot :P
@learnservicenowwithravi
@learnservicenowwithravi Год назад
Thanks 😊
@MegaSergio39
@MegaSergio39 Год назад
Nice Tuto ! Great Job !
@learnservicenowwithravi
@learnservicenowwithravi Год назад
Thanks ❤️
@bulataobren
@bulataobren 11 месяцев назад
great tutorial video 👏👏👏
@learnservicenowwithravi
@learnservicenowwithravi 11 месяцев назад
Thanks 🤩
@dhruv606012
@dhruv606012 Год назад
gsftSubmit is used to execute the Server-side section of the script after the client-side portion has been completed successfully. validation is not successful at the Client side, Server-side function would not be initiated. This can be achieved without using client and action name Passing Action name as parameter in gsftSubmit ensures the Client side validation to move ahead. Although Great Work!!
@learnservicenowwithravi
@learnservicenowwithravi Год назад
Thanks for the input man
@SantoshKamble-zk3fn
@SantoshKamble-zk3fn Год назад
Helpful ❤
@learnservicenowwithravi
@learnservicenowwithravi Год назад
I'm glad!
@yasaswi1
@yasaswi1 Год назад
Hi Ravi, This is great video. I learned a lot. Is it possible to open a ticket in serviceNow using ChatGPT or OpenAI after we search for something in chatGPT?
@learnservicenowwithravi
@learnservicenowwithravi Год назад
Yes, you can through Virtual agent
@priyankashinde9544
@priyankashinde9544 11 месяцев назад
Integration is not my cup of tea but ur integration videoes are so easy to understand. in the rest message content on what basis u have given json as model prompt temp etc is this static and mentioned in the document to use this? or how?? this might be very basic question but would like to know
@learnservicenowwithravi
@learnservicenowwithravi 11 месяцев назад
Priyanka to understand this check other videos on Integration.. there every doubt will be clear
@yomikmc
@yomikmc Год назад
Hi Ravi wonderful video. What if i want to publish this on a portal so that end-user can enter a form and use this?
@learnservicenowwithravi
@learnservicenowwithravi Год назад
We can use this in record producer or service catalog
@learnservicenowwithravi
@learnservicenowwithravi Год назад
I will soon create the video on this
@sumols8293
@sumols8293 7 месяцев назад
Hi Sir, Thank you so much for your video, it is very informative and clear. Will this setup only work for paid accounts?
@learnservicenowwithravi
@learnservicenowwithravi 7 месяцев назад
No it will work for free account also
@sumols8293
@sumols8293 7 месяцев назад
@@learnservicenowwithravi I tried the same, looks like model davinci is deprecated and a new one has come instead and the new one throws 429 error code and I was wondering if it's because of free account. Could you please help?
@kumudsingh5784
@kumudsingh5784 Год назад
❤😅 excellent video
@learnservicenowwithravi
@learnservicenowwithravi Год назад
Glad you enjoyed it
@mhkrishnan
@mhkrishnan Год назад
Hi, Could you please integrate Chat GPT with SNOW Chat BOT !! Please create one video on this. Great. Than you
@learnservicenowwithravi
@learnservicenowwithravi Год назад
Yes, soon
@PrakashChauhan-wb7gx
@PrakashChauhan-wb7gx Год назад
Very informative..where can I download the docx
@learnservicenowwithravi
@learnservicenowwithravi Год назад
I will create a link and share with you.. you will not find the doc anywhere. I have created the document
@balajiiprusty
@balajiiprusty Год назад
Hi Ravi, Thanks for the Video. When I click on Test Run, I get the message "You exceeded your current quota, please check your plan and billing details."". Is there any paid subscription needed for chatGpt?
@learnservicenowwithravi
@learnservicenowwithravi Год назад
Hi .. you don’t need any paid subscription.. create new account with different email on chat gpt and try again .. it will work.. The same happened to me for the first time..I did the same.
@balajiiprusty
@balajiiprusty Год назад
@@learnservicenowwithravi Thanks Ravi, It works after creating a new account with diff email.
@narurehavenvillage
@narurehavenvillage Год назад
@balajiiprusty - i am also facing same issue , i have followed ravi's comments also not working
@Baburao_Aapte
@Baburao_Aapte Год назад
same
@adarshverma6832
@adarshverma6832 8 месяцев назад
Hi @learnservicnowwithravi Please make video on Gemini AI integration with Servicenow..
@learnservicenowwithravi
@learnservicenowwithravi 8 месяцев назад
Very soon
@bojegowdaboja4631
@bojegowdaboja4631 Год назад
Hi Ravi, could you please share that word document you prepared for initial configuration
@learnservicenowwithravi
@learnservicenowwithravi Год назад
chat.whatsapp.com/DzTFY2NBIyh2RitK1MCVKm
@learnservicenowwithravi
@learnservicenowwithravi Год назад
Join this group link.. And ping there
@justtryit....
@justtryit.... Год назад
Helpful video , I got an error 429
@learnservicenowwithravi
@learnservicenowwithravi Год назад
Login with new email id on chat gpt api page and then you can use it
@ashmiyastephen108
@ashmiyastephen108 8 месяцев назад
Hi Ravi, we have a use case where boomi uses their real time inbuilt connector to connect with servicenow to read and pick an HR case record report from ServiceNow. We have shared the end point(from rest api explorer) and authentication details with Boomi.. how can we faciliate for boomi to pick up the report? do we need to do any steps in order to automatically generate and export reports in servicenow for boomi to pick up? how can we do this
@learnservicenowwithravi
@learnservicenowwithravi 8 месяцев назад
Will bring video soon
@ashmiyastephen108
@ashmiyastephen108 8 месяцев назад
@@learnservicenowwithravi thank you so much
@Carpie-si4sh
@Carpie-si4sh Год назад
Sir your videos are too Helpful.I want to know I am fresher 2023 passout Can I get a Job as a fresher ServiceNow Developer As I can't see much jobs for fresher.Almpst every company is demanding 3-4 years of Company .Can you guide me how to start a job or internship as a fresher .
@learnservicenowwithravi
@learnservicenowwithravi Год назад
Join my whatsapp group. Link is in video discription.
@AkankshReddyTelkala
@AkankshReddyTelkala 8 месяцев назад
Hi Ravi, I followed the same steps that you mentioned...also tried the updated script from comments but I'm not getting the correct response. HTTP Method gives the response but the UI Action doesn't. Here is what I see in the response: " || typeof window === "undefined") { global.window = {} } const { JSDOM } = require("jsdom") const { document } = (new JSDOM(`...`)).window global.document = document Can you please help me solve this?
@learnservicenowwithravi
@learnservicenowwithravi 7 месяцев назад
Can you ping me on my WhatsApp community
@charansai-xx1po
@charansai-xx1po 7 месяцев назад
Can you please let me know "why did we take POST method instead of GET method to get Response? Please let me know.....
@learnservicenowwithravi
@learnservicenowwithravi 7 месяцев назад
Post is to create a record and get is to retrieved
@GillerlaRajesh
@GillerlaRajesh Год назад
Hlo Ravi can u guide me i got error like this"error": { "message": "You exceeded your current quota, please check your plan and billing details.", "type": "insufficient_quota",
@learnservicenowwithravi
@learnservicenowwithravi Год назад
Change the mail id.. inorder to achieve it
@learnservicenowwithravi
@learnservicenowwithravi Год назад
Change the mail id on the chatgpt side
@battinirajesh5661
@battinirajesh5661 8 месяцев назад
hai iam facing the same problem
@dennymadhav7669
@dennymadhav7669 Год назад
Hey thanks for the video, my rest message is working but Ui action is not working when I click on the created button the form is reloading while clearing the values.
@learnservicenowwithravi
@learnservicenowwithravi Год назад
chat.whatsapp.com/DzTFY2NBIyh2RitK1MCVKm
@learnservicenowwithravi
@learnservicenowwithravi Год назад
Please join here
@learnservicenowwithravi
@learnservicenowwithravi Год назад
And share your code.. I will have a look
@narurehavenvillage
@narurehavenvillage Год назад
hi Ravi as per ur old comments i have created new account in Chat GPT and follwed the same steps , still same error i am facing
@learnservicenowwithravi
@learnservicenowwithravi Год назад
Thanks for reaching out to me on whatsapp
@narurehavenvillage
@narurehavenvillage Год назад
Hi , While doing Test , in HTTP status [ 429 ] , Response is { "error": { "message": "You exceeded your current quota, please check your plan and billing details.", "type": "insufficient_quota", "param": null, "code": null } } I have followed as per your video , where i have made mistake .
@learnservicenowwithravi
@learnservicenowwithravi Год назад
Try creating new account with new token and rest messages
@souravkumar6269
@souravkumar6269 Год назад
hi ravi, i mailed you regarding the image integration and currently also unable to fetch data from this chatgpt integration altough i follow every steps you did but on clicking give me answer button its not giving the result...kindly help regarding also plz reply on the mail....have a good day : )
@learnservicenowwithravi
@learnservicenowwithravi Год назад
Sure
@Kannavolgs37
@Kannavolgs37 4 месяца назад
The error message and status code you're encountering indicate that you have exceeded your current quota for API usage with OpenAI's services.
@learnservicenowwithravi
@learnservicenowwithravi 4 месяца назад
Use new number and email
@wahid4440
@wahid4440 Год назад
I get this Error - Pls help { "error": { "message": "The model `text-davinic-003` does not exist", "type": "invalid_request_error", "param": null, "code": "model_not_found" } }
@learnservicenowwithravi
@learnservicenowwithravi Год назад
Can you check the api document
@deepakbisht5908
@deepakbisht5908 Год назад
I am greeting error like " You exceeded your current quota, please check your plan and billing details" ,created another accounts but still same error any idea how to resolved it .watch video on you tube but not looking promising asking me to connect to some France server
@learnservicenowwithravi
@learnservicenowwithravi Год назад
Whatsapp Group Link :- chat.whatsapp.com/EeYpJt9hZfB0PauzYF5KL3
@learnservicenowwithravi
@learnservicenowwithravi Год назад
Join here please and ask me any question
@learnservicenowwithravi
@learnservicenowwithravi Год назад
So in this case create a new account with chatgpt
@satyamsingh2828
@satyamsingh2828 Год назад
There are three reasons you might receive the "You've reached your usage limit" error: If you're using a free trial account, remember that the tokens granted in this trial expire three months after account creation. To continue using the API after that point, you'll need to enter billing information and upgrade to a paid plan. Another potential explanation is that you may have created multiple accounts using a single phone number. We only grant free tokens to the first account created with a given phone number. In this situation, the solution is to log into the account you originally created to access those initial free tokens. If you're already on a paid plan, you may need to either increase your monthly usage hard limit. To set your limit over the approved usage limit (normally, $120.00/month) please submit a quota increase request. Why did I get charged if I'm supposed to have free credits? Only the first API account verified with a given phone number is granted free trial tokens. A phone number can be used up to 2 times to verify sign ups. We only provide the free trial tokens to the first sign up, not more.
@learnservicenowwithravi
@learnservicenowwithravi Год назад
Chatgpt is free till some account.. you can try with new phone no and email id
@shirazbhojani5698
@shirazbhojani5698 Год назад
Great video. Thank you for doing this. After some troubleshooting, I was finally able to complete this. My problem was that I was able to get the response from ChatGPT within the REST API testing, but the UI Action did not work. I had to add the following code after the gsftSubmit function. if (typeof window == 'undefined') runRestAPICode(); function runRestAPICode() { var r = new sn_ws.RESTMessageV2('Chat GPT', 'GetGPTResponse'); .......
@learnservicenowwithravi
@learnservicenowwithravi Год назад
Awesome brother… its great that you are able to integrate with chat gpt… I am happy that my video is helpful for everyone
@domis72
@domis72 Год назад
Hello, shriaz... could you share your whole script? I have the same problem, but I don't know how to fix it. Thanks, in advance.
@krishnanarayanan7307
@krishnanarayanan7307 Год назад
Kindly help me with the complete Script as I'm also facing the same error like you while testing in the UI Action
@viswasivakumarvalluri_fvnk9886
@viswasivakumarvalluri_fvnk9886 2 месяца назад
It’s shows insufficient quota whether I changed my friends account also anyone can help me with this
@learnservicenowwithravi
@learnservicenowwithravi 2 месяца назад
Create with other email and phone
@dhruvyadav2814
@dhruvyadav2814 Месяц назад
@@learnservicenowwithravi which model to use now since davinci one is deprecated now?
@Joycecreations
@Joycecreations 6 месяцев назад
hi after testing the variables i am getting the error
@learnservicenowwithravi
@learnservicenowwithravi 6 месяцев назад
What error??
@rayuduthota2769
@rayuduthota2769 10 месяцев назад
It's not showing the output in the form
@learnservicenowwithravi
@learnservicenowwithravi 10 месяцев назад
Share your code
@SHUBHAMSharma-gc1di
@SHUBHAMSharma-gc1di 8 месяцев назад
Hi Ravi It's not working, and i checked many videos of all the videos. is the same as like your video, but now this method is not help full Can you please help me
@samuelcarvalho7804
@samuelcarvalho7804 Год назад
Does anyone have this error ? { "error": { "message": "You exceeded your current quota, please check your plan and billing details.", "type": "insufficient_quota", "param": null, "code": null } }
@learnservicenowwithravi
@learnservicenowwithravi Год назад
Its common.. try with new email-id
@TejaswiniYaramala-e7u
@TejaswiniYaramala-e7u Год назад
hi ravi, please provide videos required for the servicenow javascript from scratch.
@learnservicenowwithravi
@learnservicenowwithravi Год назад
Its there in development series you can check the video
@naveen_tewatia
@naveen_tewatia 11 месяцев назад
I'm getting Error 429
@learnservicenowwithravi
@learnservicenowwithravi 11 месяцев назад
Ping the error details
@SHUBHAMSharma-gc1di
@SHUBHAMSharma-gc1di 8 месяцев назад
Same error I get
@sanigaramsrikanth1681
@sanigaramsrikanth1681 8 месяцев назад
Hi @Ravi Gourav Can We integrate SonarQube with Service Now
@learnservicenowwithravi
@learnservicenowwithravi 8 месяцев назад
Sure
@ajeetkumar-kn2of
@ajeetkumar-kn2of Год назад
Hi Ravi, thank you for the information and useful vedio. I have configured everything as you did. When I am testing my method then I am getting response, however when I click on the UI action then I do not get logs, I guess script does not run. my script : function runClientCode() { gsftSubmit(null, g_form.getElement(), "run_server"); } gs.info("IAMIN"); var r = new sn_ws.RESTMessageV2('ChatGPT', 'ChatGPTResponse'); r.setStringParameterNoEscape("temp", '0.5'); r.setStringParameterNoEscape("prompt", current.u_ask_any_question); r.setStringParameterNoEscape("max_tokens", '1024'); r.setStringParameterNoEscape("model", 'text-davinci-003'); var response = r.execute(); gs.info("IAMIN1"); var responseBody = response.getBody(); var httpStatus = response.getStatusCode(); gs.info("IAMIN2 Response " + responseBody); var jsonObj = JSON.parse(responseBody); var reply = jsonObj.choices[0].text; current.u_your_answer = reply; current.update(); action.setRedirectURL(current);
@learnservicenowwithravi
@learnservicenowwithravi Год назад
The the comments where I have changed the script… do check that and change the script accordingly
@learnservicenowwithravi
@learnservicenowwithravi Год назад
I have pin the comment also doncheck
@learnservicenowwithravi
@learnservicenowwithravi Год назад
Do*
@ajeetkumar-kn2of
@ajeetkumar-kn2of Год назад
Now it is working, thanks a lot for quick response.
@wykoff101
@wykoff101 Год назад
i get "Basic authentication failed for user: mid_server_atr" when running from the UI Action, From the Rest Message setup the test works no problem. Below is my script. function runClientCode() { gsftSubmit(null, g_form.getElement(), "run_server"); if (typeof window == 'undefined') runRestAPICode(); } function runRestAPICode() { var r = new sn_ws.RESTMessageV2('Chat GPT', 'GetGPTResponse'); r.setStringParameterNoEscape('model', 'text-davinci-003'); r.setStringParameterNoEscape('prompt', current.u_ask_any_question); r.setStringParameterNoEscape('max_token', '1024'); r.setStringParameterNoEscape('temp', '0.5'); var response = r.execute(); var responseBody = response.getBody(); var httpStatus = response.getStatusCode(); gs.log("The response body== " + responseBody); }
@learnservicenowwithravi
@learnservicenowwithravi Год назад
Did you generated the bearer token from chat gpt
@krishnanarayanan7307
@krishnanarayanan7307 Год назад
I'm getting the below 429 error in the REST Message { "error": { "message": "You exceeded your current quota, please check your plan and billing details.", "type": "insufficient_quota", "param": null, "code": "insufficient_quota" } }
@learnservicenowwithravi
@learnservicenowwithravi Год назад
Use different email ids
@SHUBHAMSharma-gc1di
@SHUBHAMSharma-gc1di 8 месяцев назад
I use different email id, but the issue is not solved
@aleksandarmilosevic9508
@aleksandarmilosevic9508 Год назад
Hi am getting the following error in .log The response body== {"id":"cmpl-78ppn9kqT1K9rZhpPi9OrXtLsqdBS","object":"text_completion","created":1682340231,"model":"text-davinci-003","choices":[{"text":", I am using the \"Get Current User\" action in my Flow. The action is returning the user's display name, but I need to get the user's email address. Is there any way to get the user's email address from this action? Thanks!","index":0,"logprobs":null,"finish_reason":"stop"}],"usage":{"prompt_tokens":1,"completion_tokens":61,"total_tokens":62}}
@learnservicenowwithravi
@learnservicenowwithravi Год назад
Can you tell me what is the request body?
Далее
07 django part - 2
38:18
Просмотров 20
These Are Too Smooth 😮‍💨
00:57
Просмотров 4,9 млн
Fake Referee Whistle Moments 😅
00:38
Просмотров 6 млн
OpenAI Assistants API - Course for Beginners
3:32:55
Просмотров 443 тыс.
Build Anything with OpenAI o1, Here’s How
1:00:37
Просмотров 170 тыс.
These Are Too Smooth 😮‍💨
00:57
Просмотров 4,9 млн