-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
44fab07
commit 21a3abc
Showing
6 changed files
with
116 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
openai-connector-test/src/com/axonivy/connector/openai/mock/json/completions-response.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"id": "chatcmpl-772HYqavHUb3RclST47IzpTO9uDhQ", | ||
"object": "chat.completion", | ||
"created": 1681911424, | ||
"model": "gpt-3.5-turbo-0301", | ||
"usage": { | ||
"prompt_tokens": 11, | ||
"completion_tokens": 123, | ||
"total_tokens": 134 | ||
}, | ||
"choices": [ | ||
{ | ||
"message": { | ||
"role": "assistant", | ||
"content": "As an AI language model, I cannot have a personal experience and thoughts, but the meaning of life is a philosophical and existential question that has puzzled humans since the beginning of time. It refers to the purpose, significance, or reason for existence, and it's a question that has generated many different answers and perspectives from different cultures, religions, and belief systems. While some people believe that the meaning of life is to fulfill a divine or spiritual purpose, others see it as a pursuit of happiness or personal fulfillment. Ultimately, the meaning of life is a deeply personal and subjective matter that each individual must find for themselves." | ||
}, | ||
"finish_reason": "stop", | ||
"index": 0 | ||
} | ||
] | ||
} |
41 changes: 21 additions & 20 deletions
41
openai-connector-test/src/com/axonivy/connector/openai/mock/json/completions.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,22 @@ | ||
{ | ||
"id": "chatcmpl-772HYqavHUb3RclST47IzpTO9uDhQ", | ||
"object": "chat.completion", | ||
"created": 1681911424, | ||
"model": "gpt-3.5-turbo-0301", | ||
"usage": { | ||
"prompt_tokens": 11, | ||
"completion_tokens": 123, | ||
"total_tokens": 134 | ||
}, | ||
"choices": [ | ||
{ | ||
"message": { | ||
"role": "assistant", | ||
"content": "As an AI language model, I cannot have a personal experience and thoughts, but the meaning of life is a philosophical and existential question that has puzzled humans since the beginning of time. It refers to the purpose, significance, or reason for existence, and it's a question that has generated many different answers and perspectives from different cultures, religions, and belief systems. While some people believe that the meaning of life is to fulfill a divine or spiritual purpose, others see it as a pursuit of happiness or personal fulfillment. Ultimately, the meaning of life is a deeply personal and subjective matter that each individual must find for themselves." | ||
}, | ||
"finish_reason": "stop", | ||
"index": 0 | ||
} | ||
] | ||
} | ||
"model": "gpt-3.5-turbo", | ||
"messages": [ | ||
{ | ||
"role": "user", | ||
"content": "the meaning of life", | ||
"name": "Unknown User (Session 2)" | ||
} | ||
], | ||
"temperature": 1, | ||
"top_p": 1, | ||
"n": 1, | ||
"stream": false, | ||
"stop": null, | ||
"max_tokens": null, | ||
"presence_penalty": 0, | ||
"frequency_penalty": 0, | ||
"logit_bias": { | ||
"50256": -100 | ||
}, | ||
"user": "Unknown User (Session 2)" | ||
} |
21 changes: 21 additions & 0 deletions
21
...ai-connector-test/src/com/axonivy/connector/openai/mock/json/mail-generator-response.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"id": "chatcmpl-772HYqavHUb3RclST47IzpTO9uDhQ", | ||
"object": "chat.completion", | ||
"created": 1681911424, | ||
"model": "gpt-3.5-turbo-0301", | ||
"usage": { | ||
"prompt_tokens": 11, | ||
"completion_tokens": 123, | ||
"total_tokens": 134 | ||
}, | ||
"choices": [ | ||
{ | ||
"message": { | ||
"role": "assistant", | ||
"content": "As an AI language model, I cannot have a personal experience and thoughts, but the meaning of life is a philosophical and existential question that has puzzled humans since the beginning of time. It refers to the purpose, significance, or reason for existence, and it's a question that has generated many different answers and perspectives from different cultures, religions, and belief systems. While some people believe that the meaning of life is to fulfill a divine or spiritual purpose, others see it as a pursuit of happiness or personal fulfillment. Ultimately, the meaning of life is a deeply personal and subjective matter that each individual must find for themselves." | ||
}, | ||
"finish_reason": "stop", | ||
"index": 0 | ||
} | ||
] | ||
} |
22 changes: 22 additions & 0 deletions
22
openai-connector-test/src/com/axonivy/connector/openai/mock/json/mail-generator.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"model": "gpt-3.5-turbo", | ||
"messages": [ | ||
{ | ||
"role": "user", | ||
"content": "The candidate Name is 'Jack',\nCandidate most important skill is 'Backend',\nInterviewers Name is 'Bob',\nJob Position is 'Software Developer',\nInterview date is '2023-12-19',\ncompany is 'Test'.\nPlease create a 'APPROVE' follow up email, written in the name of the interviewer.\nThe position of the Interviewer is 'Network Engineer'.\nReturn in json string with attributes subject, content\"\"\"\n", | ||
"name": "Developer" | ||
} | ||
], | ||
"temperature": 1, | ||
"top_p": 1, | ||
"n": 1, | ||
"stream": false, | ||
"stop": null, | ||
"max_tokens": null, | ||
"presence_penalty": 0, | ||
"frequency_penalty": 0, | ||
"logit_bias": { | ||
"50256": -100 | ||
}, | ||
"user": "Developer" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters