@contential/prompt
Advanced tools
Comparing version 0.0.20 to 0.0.21
@@ -18,3 +18,17 @@ export type PromptClientOptions = { | ||
export interface PromptOptionsData { | ||
text: string; | ||
response: string; | ||
request?: PromptRequest; | ||
} | ||
export type PromptRequest = { | ||
id: string; | ||
created: string; | ||
userId: string; | ||
projectId: string; | ||
prompt: string; | ||
temperature: number; | ||
duration: number; | ||
durationText: string; | ||
error?: string; | ||
metadata?: unknown; | ||
response?: string; | ||
}; |
{ | ||
"name": "@contential/prompt", | ||
"description": "Contential - Prompt Client", | ||
"version": "0.0.20", | ||
"version": "0.0.21", | ||
"main": "dist/index.js", | ||
@@ -6,0 +6,0 @@ "module": "dist/index.mjs", |
76859
1689