Create Get List of Duplicate Script Include Names#63
Create Get List of Duplicate Script Include Names#63niamccash merged 2 commits intoServiceNowDevProgram:mainfrom
Conversation
|
Did you mean to submit this to the code-snippets repository? This repo is for generative AI prompts. |
|
I included the code with now assist prompt that I used to generate a
script.
…On Wed, Oct 2, 2024 at 9:07 AM niamccash ***@***.***> wrote:
Did you mean to submit this to the code-snippets repository
<https://github.com/ServiceNowDevProgram/code-snippets>?
This repo is for generative AI prompts.
—
Reply to this email directly, view it on GitHub
<#63 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BLVYZD2VVMOUJ4TSVH6HXWDZZPVZDAVCNFSM6AAAAABPHROVROVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOBYGYYDAOJZGI>
.
You are receiving this because you authored the thread.Message ID:
<ServiceNowDevProgram/ServiceNow-GenAi-Prompt-Library/pull/63/c2388600992@
github.com>
|
|
Was the prompt you used print a list of Script Include Names that are duplicated? |
|
Yes, I thought I put that at the beginning of the submitted file named Get
List of Duplicate Script Include Names, then I showed the result which I
thought is what was done in the example I looked at, but total newbie here.
…On Wed, Oct 2, 2024 at 9:16 AM niamccash ***@***.***> wrote:
Was the prompt you used *print a list of Script Include Names that are
duplicated*?
The prompt should be included in your submitted file.
—
Reply to this email directly, view it on GitHub
<#63 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BLVYZDYQRJOSDWLE6OSL4A3ZZPW3VAVCNFSM6AAAAABPHROVROVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOBYGYZDANZVGA>
.
You are receiving this because you authored the thread.Message ID:
<ServiceNowDevProgram/ServiceNow-GenAi-Prompt-Library/pull/63/c2388620750@
github.com>
|
|
Yes, that prompt is there. I just wasn't sure about it because it wasn't ServiceNow specific and when I ran it through Copilot, it didn't give the code you provided/didn't give ServiceNow specific code. But when put through Now Assist code generation, it does produce the right output. Would it be ok if I updated the file you submitted a little and labeled the prompt with the word "prompt" and the code with the label "Example output"? |
|
Sounds like a good improvement.
…On Wed, Oct 2, 2024 at 9:28 AM niamccash ***@***.***> wrote:
Yes, that prompt is there. I just wasn't sure about it because it wasn't
ServiceNow specific and when I ran it through Copilot, it didn't give the
code you provided/didn't give ServiceNow specific code. But when put
through Now Assist code generation, it does produce the right output.
Would it be ok if I updated the file you submitted a little and labeled
the prompt with the word "prompt" and the code with the label "Example
output"?
—
Reply to this email directly, view it on GitHub
<#63 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BLVYZD37PBATMM6GR7KYB3TZZPYHXAVCNFSM6AAAAABPHROVROVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOBYGY2DMNBUG4>
.
You are receiving this because you authored the thread.Message ID:
<ServiceNowDevProgram/ServiceNow-GenAi-Prompt-Library/pull/63/c2388646447@
github.com>
|
|
Thanks! And thank you for the contribution! |
|
Hello! This comment is to inform you that unfortunately, this repository, on October 3, was excluded from participation in the official Hacktoberfest event. As I investigate into why it was excluded, I would like to encourage you to participate in our other Hacktoberfest projects so that you still get completion progress for the official Hacktoberfest event. We will count this contribution for progress made for ServiceNow rewards (make sure to check out the other eligibility requirements in the blog post), but if you want the rewards from the official event, you will need to make sure you have at least 4 Pull Requests merged into other projects by the end of October. We apologize for the inconvenience and appreciate your participation regardless! Earl |
Creates a script that checks Script Include API Names for duplicates, which is technically possible and maddening to troubleshoot when you can't figure out why your script is not running.