@webgpt/sdk
Advanced tools
Comparing version 0.8.0 to 0.9.0
@@ -63,5 +63,13 @@ /*! ***************************************************************************** | ||
}; | ||
/** | ||
* Creates a new assignment based on the idea. | ||
* | ||
* @throws {IdeaNotAccepted} If the idea is not good enough | ||
*/ | ||
WebgptSdk.prototype.makeAssignment = function (options) { | ||
throw new Error('Not implemented yet'); | ||
}; | ||
/** | ||
* Connects to the existing task based on id | ||
*/ | ||
WebgptSdk.prototype.recoverAssignmentMaking = function (id) { | ||
@@ -68,0 +76,0 @@ throw new Error('Not implemented yet'); |
@@ -1,2 +0,1 @@ | ||
import type { TaskProgress } from '@promptbook/types'; | ||
import type { Language } from './Language'; | ||
@@ -11,5 +10,10 @@ import type { Task, TaskId } from './Task'; | ||
export type MakeAssignmentResult = { | ||
status: 'SUCCESS'; | ||
message: string; | ||
assignment: string; | ||
}; | ||
export type MakeAssignmentProgress = TaskProgress; | ||
export type MakeAssignmentProgress = { | ||
status: 'RUNNING'; | ||
message: string; | ||
}; | ||
/** | ||
@@ -16,0 +20,0 @@ * TODO: !!! Make real types for assignment making |
@@ -7,3 +7,11 @@ import type { MakeAssignmentOptions, MakeAssignmentTask } from './types/MakeAssignment'; | ||
checkCompatibility(): Promise<void>; | ||
/** | ||
* Creates a new assignment based on the idea. | ||
* | ||
* @throws {IdeaNotAccepted} If the idea is not good enough | ||
*/ | ||
makeAssignment(options: MakeAssignmentOptions): MakeAssignmentTask; | ||
/** | ||
* Connects to the existing task based on id | ||
*/ | ||
recoverAssignmentMaking(id: TaskId): MakeAssignmentTask; | ||
@@ -10,0 +18,0 @@ makeWebsite(options: MakeWebsiteOptions): MakeWebsiteTask; |
@@ -69,5 +69,13 @@ (function (global, factory) { | ||
}; | ||
/** | ||
* Creates a new assignment based on the idea. | ||
* | ||
* @throws {IdeaNotAccepted} If the idea is not good enough | ||
*/ | ||
WebgptSdk.prototype.makeAssignment = function (options) { | ||
throw new Error('Not implemented yet'); | ||
}; | ||
/** | ||
* Connects to the existing task based on id | ||
*/ | ||
WebgptSdk.prototype.recoverAssignmentMaking = function (id) { | ||
@@ -74,0 +82,0 @@ throw new Error('Not implemented yet'); |
@@ -1,2 +0,1 @@ | ||
import type { TaskProgress } from '@promptbook/types'; | ||
import type { Language } from './Language'; | ||
@@ -11,5 +10,10 @@ import type { Task, TaskId } from './Task'; | ||
export type MakeAssignmentResult = { | ||
status: 'SUCCESS'; | ||
message: string; | ||
assignment: string; | ||
}; | ||
export type MakeAssignmentProgress = TaskProgress; | ||
export type MakeAssignmentProgress = { | ||
status: 'RUNNING'; | ||
message: string; | ||
}; | ||
/** | ||
@@ -16,0 +20,0 @@ * TODO: !!! Make real types for assignment making |
@@ -7,3 +7,11 @@ import type { MakeAssignmentOptions, MakeAssignmentTask } from './types/MakeAssignment'; | ||
checkCompatibility(): Promise<void>; | ||
/** | ||
* Creates a new assignment based on the idea. | ||
* | ||
* @throws {IdeaNotAccepted} If the idea is not good enough | ||
*/ | ||
makeAssignment(options: MakeAssignmentOptions): MakeAssignmentTask; | ||
/** | ||
* Connects to the existing task based on id | ||
*/ | ||
recoverAssignmentMaking(id: TaskId): MakeAssignmentTask; | ||
@@ -10,0 +18,0 @@ makeWebsite(options: MakeWebsiteOptions): MakeWebsiteTask; |
{ | ||
"name": "@webgpt/sdk", | ||
"version": "0.8.0", | ||
"version": "0.9.0", | ||
"description": "Library to supercharge your use of large language models", | ||
@@ -5,0 +5,0 @@ "private": false, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
58143
46
544