mirror of
https://github.com/wassname/Open-Assistant.git
synced 2026-08-04 12:33:56 +08:00
Fetch available tasks
This commit is contained in:
@@ -10,6 +10,8 @@ export const enum TaskType {
|
||||
label_initial_prompt = "label_initial_prompt",
|
||||
label_prompter_reply = "label_prompter_reply",
|
||||
label_assistant_reply = "label_assistant_reply",
|
||||
|
||||
random = "random",
|
||||
}
|
||||
|
||||
// we need to reconsider how to handle task content types
|
||||
@@ -32,3 +34,5 @@ export interface TaskResponse<Task extends BaseTask> {
|
||||
userId: string;
|
||||
task: Task;
|
||||
}
|
||||
|
||||
export type AvailableTasks = { [taskType in TaskType]: number };
|
||||
|
||||
Reference in New Issue
Block a user