383 lines
8.3 KiB
TypeScript
383 lines
8.3 KiB
TypeScript
export const azureOpenaiChatCompletionChunks = [
|
|
{
|
|
id: '',
|
|
object: '',
|
|
model: '',
|
|
created: new Date('1970-01-01T00:00:00.000Z'),
|
|
promptFilterResults: [
|
|
{
|
|
promptIndex: 0,
|
|
contentFilterResults: {
|
|
hate: {
|
|
filtered: false,
|
|
severity: 'safe',
|
|
},
|
|
sexual: {
|
|
filtered: false,
|
|
severity: 'safe',
|
|
},
|
|
violence: {
|
|
filtered: false,
|
|
severity: 'safe',
|
|
},
|
|
selfHarm: {
|
|
filtered: false,
|
|
severity: 'safe',
|
|
},
|
|
},
|
|
},
|
|
],
|
|
choices: [],
|
|
},
|
|
{
|
|
id: 'chatcmpl-8hHFUV97RxgR5eddZWGzFwIAodgmO',
|
|
object: 'chat.completion.chunk',
|
|
model: 'gpt-35-turbo',
|
|
created: new Date('1970-01-20T17:42:05.100Z'),
|
|
promptFilterResults: [],
|
|
choices: [
|
|
{
|
|
index: 0,
|
|
finishReason: null,
|
|
delta: {
|
|
role: 'assistant',
|
|
toolCalls: [],
|
|
},
|
|
contentFilterResults: {},
|
|
},
|
|
],
|
|
},
|
|
{
|
|
id: 'chatcmpl-8hHFUV97RxgR5eddZWGzFwIAodgmO',
|
|
object: 'chat.completion.chunk',
|
|
model: 'gpt-35-turbo',
|
|
created: new Date('1970-01-20T17:42:05.100Z'),
|
|
promptFilterResults: [],
|
|
choices: [
|
|
{
|
|
index: 0,
|
|
finishReason: null,
|
|
delta: {
|
|
content: 'Hello',
|
|
toolCalls: [],
|
|
},
|
|
contentFilterResults: {
|
|
hate: {
|
|
filtered: false,
|
|
severity: 'safe',
|
|
},
|
|
sexual: {
|
|
filtered: false,
|
|
severity: 'safe',
|
|
},
|
|
violence: {
|
|
filtered: false,
|
|
severity: 'safe',
|
|
},
|
|
selfHarm: {
|
|
filtered: false,
|
|
severity: 'safe',
|
|
},
|
|
},
|
|
},
|
|
],
|
|
},
|
|
{
|
|
id: 'chatcmpl-8hHFUV97RxgR5eddZWGzFwIAodgmO',
|
|
object: 'chat.completion.chunk',
|
|
model: 'gpt-35-turbo',
|
|
created: new Date('1970-01-20T17:42:05.100Z'),
|
|
promptFilterResults: [],
|
|
choices: [
|
|
{
|
|
index: 0,
|
|
finishReason: null,
|
|
delta: {
|
|
content: '!',
|
|
toolCalls: [],
|
|
},
|
|
contentFilterResults: {
|
|
hate: {
|
|
filtered: false,
|
|
severity: 'safe',
|
|
},
|
|
sexual: {
|
|
filtered: false,
|
|
severity: 'safe',
|
|
},
|
|
violence: {
|
|
filtered: false,
|
|
severity: 'safe',
|
|
},
|
|
selfHarm: {
|
|
filtered: false,
|
|
severity: 'safe',
|
|
},
|
|
},
|
|
},
|
|
],
|
|
},
|
|
{
|
|
id: 'chatcmpl-8hHFUV97RxgR5eddZWGzFwIAodgmO',
|
|
object: 'chat.completion.chunk',
|
|
model: 'gpt-35-turbo',
|
|
created: new Date('1970-01-20T17:42:05.100Z'),
|
|
promptFilterResults: [],
|
|
choices: [
|
|
{
|
|
index: 0,
|
|
finishReason: null,
|
|
delta: {
|
|
content: ' How',
|
|
toolCalls: [],
|
|
},
|
|
contentFilterResults: {
|
|
hate: {
|
|
filtered: false,
|
|
severity: 'safe',
|
|
},
|
|
sexual: {
|
|
filtered: false,
|
|
severity: 'safe',
|
|
},
|
|
violence: {
|
|
filtered: false,
|
|
severity: 'safe',
|
|
},
|
|
selfHarm: {
|
|
filtered: false,
|
|
severity: 'safe',
|
|
},
|
|
},
|
|
},
|
|
],
|
|
},
|
|
{
|
|
id: 'chatcmpl-8hHFUV97RxgR5eddZWGzFwIAodgmO',
|
|
object: 'chat.completion.chunk',
|
|
model: 'gpt-35-turbo',
|
|
created: new Date('1970-01-20T17:42:05.100Z'),
|
|
promptFilterResults: [],
|
|
choices: [
|
|
{
|
|
index: 0,
|
|
finishReason: null,
|
|
delta: {
|
|
content: ' can',
|
|
toolCalls: [],
|
|
},
|
|
contentFilterResults: {
|
|
hate: {
|
|
filtered: false,
|
|
severity: 'safe',
|
|
},
|
|
sexual: {
|
|
filtered: false,
|
|
severity: 'safe',
|
|
},
|
|
violence: {
|
|
filtered: false,
|
|
severity: 'safe',
|
|
},
|
|
selfHarm: {
|
|
filtered: false,
|
|
severity: 'safe',
|
|
},
|
|
},
|
|
},
|
|
],
|
|
},
|
|
{
|
|
id: 'chatcmpl-8hHFUV97RxgR5eddZWGzFwIAodgmO',
|
|
object: 'chat.completion.chunk',
|
|
model: 'gpt-35-turbo',
|
|
created: new Date('1970-01-20T17:42:05.100Z'),
|
|
promptFilterResults: [],
|
|
choices: [
|
|
{
|
|
index: 0,
|
|
finishReason: null,
|
|
delta: {
|
|
content: ' I',
|
|
toolCalls: [],
|
|
},
|
|
contentFilterResults: {
|
|
hate: {
|
|
filtered: false,
|
|
severity: 'safe',
|
|
},
|
|
sexual: {
|
|
filtered: false,
|
|
severity: 'safe',
|
|
},
|
|
violence: {
|
|
filtered: false,
|
|
severity: 'safe',
|
|
},
|
|
selfHarm: {
|
|
filtered: false,
|
|
severity: 'safe',
|
|
},
|
|
},
|
|
},
|
|
],
|
|
},
|
|
{
|
|
id: 'chatcmpl-8hHFUV97RxgR5eddZWGzFwIAodgmO',
|
|
object: 'chat.completion.chunk',
|
|
model: 'gpt-35-turbo',
|
|
created: new Date('1970-01-20T17:42:05.100Z'),
|
|
promptFilterResults: [],
|
|
choices: [
|
|
{
|
|
index: 0,
|
|
finishReason: null,
|
|
delta: {
|
|
content: ' assist',
|
|
toolCalls: [],
|
|
},
|
|
contentFilterResults: {
|
|
hate: {
|
|
filtered: false,
|
|
severity: 'safe',
|
|
},
|
|
sexual: {
|
|
filtered: false,
|
|
severity: 'safe',
|
|
},
|
|
violence: {
|
|
filtered: false,
|
|
severity: 'safe',
|
|
},
|
|
selfHarm: {
|
|
filtered: false,
|
|
severity: 'safe',
|
|
},
|
|
},
|
|
},
|
|
],
|
|
},
|
|
{
|
|
id: 'chatcmpl-8hHFUV97RxgR5eddZWGzFwIAodgmO',
|
|
object: 'chat.completion.chunk',
|
|
model: 'gpt-35-turbo',
|
|
created: new Date('1970-01-20T17:42:05.100Z'),
|
|
promptFilterResults: [],
|
|
choices: [
|
|
{
|
|
index: 0,
|
|
finishReason: null,
|
|
delta: {
|
|
content: ' you',
|
|
toolCalls: [],
|
|
},
|
|
contentFilterResults: {
|
|
hate: {
|
|
filtered: false,
|
|
severity: 'safe',
|
|
},
|
|
sexual: {
|
|
filtered: false,
|
|
severity: 'safe',
|
|
},
|
|
violence: {
|
|
filtered: false,
|
|
severity: 'safe',
|
|
},
|
|
selfHarm: {
|
|
filtered: false,
|
|
severity: 'safe',
|
|
},
|
|
},
|
|
},
|
|
],
|
|
},
|
|
{
|
|
id: 'chatcmpl-8hHFUV97RxgR5eddZWGzFwIAodgmO',
|
|
object: 'chat.completion.chunk',
|
|
model: 'gpt-35-turbo',
|
|
created: new Date('1970-01-20T17:42:05.100Z'),
|
|
promptFilterResults: [],
|
|
choices: [
|
|
{
|
|
index: 0,
|
|
finishReason: null,
|
|
delta: {
|
|
content: ' today',
|
|
toolCalls: [],
|
|
},
|
|
contentFilterResults: {
|
|
hate: {
|
|
filtered: false,
|
|
severity: 'safe',
|
|
},
|
|
sexual: {
|
|
filtered: false,
|
|
severity: 'safe',
|
|
},
|
|
violence: {
|
|
filtered: false,
|
|
severity: 'safe',
|
|
},
|
|
selfHarm: {
|
|
filtered: false,
|
|
severity: 'safe',
|
|
},
|
|
},
|
|
},
|
|
],
|
|
},
|
|
{
|
|
id: 'chatcmpl-8hHFUV97RxgR5eddZWGzFwIAodgmO',
|
|
object: 'chat.completion.chunk',
|
|
model: 'gpt-35-turbo',
|
|
created: new Date('1970-01-20T17:42:05.100Z'),
|
|
promptFilterResults: [],
|
|
choices: [
|
|
{
|
|
index: 0,
|
|
finishReason: null,
|
|
delta: {
|
|
content: '?',
|
|
toolCalls: [],
|
|
},
|
|
contentFilterResults: {
|
|
hate: {
|
|
filtered: false,
|
|
severity: 'safe',
|
|
},
|
|
sexual: {
|
|
filtered: false,
|
|
severity: 'safe',
|
|
},
|
|
violence: {
|
|
filtered: false,
|
|
severity: 'safe',
|
|
},
|
|
selfHarm: {
|
|
filtered: false,
|
|
severity: 'safe',
|
|
},
|
|
},
|
|
},
|
|
],
|
|
},
|
|
{
|
|
id: 'chatcmpl-8hHFUV97RxgR5eddZWGzFwIAodgmO',
|
|
object: 'chat.completion.chunk',
|
|
model: 'gpt-35-turbo',
|
|
created: new Date('1970-01-20T17:42:05.100Z'),
|
|
promptFilterResults: [],
|
|
choices: [
|
|
{
|
|
index: 0,
|
|
finishReason: 'stop',
|
|
delta: {
|
|
toolCalls: [],
|
|
},
|
|
contentFilterResults: {},
|
|
},
|
|
],
|
|
},
|
|
];
|