ServiceNow Integration with ChatGPT | ServiceNow Integration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2023 06:21 AM
Integrating Service Now with Chat-GPT Open AI
Step1: Accessing Open AI platform, follow the below
1. Register with Open AI platform for accessing the API of new AI models developed by OpenAI. https://platform.openai.com/account/api-keys
2. After successfully creating your account in OpenAI, simply log in with your credentials and generate an API key.
Step2:
Create Rest Message in ServiceNow to integrate with Open AI platform, follow the below steps
Navigate to "Rest Message" under "System Web Services", create a new Rest message with following endpoint.
Endpoint: https://api.openai.com/v1/completions
Create a new "POST" HTTP method under Rest message and update the following.
HTTP Headers:
Authorization : Bearer "Api-key" (Generated in Open AI platform)
Content-Type : application/json
{
"model":"${model}",
"prompt":"${prompt}",
"temperature":${temp},
"max_tokens":${max_token}
}
YouTube Link :- https://youtu.be/b1d1jwcEkGI
If my answer solved your issue, please mark my answer as ✅ Correct & 👍Helpful based on the Impact.
- 6,924 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2023 07:53 PM