diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 000000000..e69de29bb diff --git a/404.html b/404.html new file mode 100644 index 000000000..3da186020 --- /dev/null +++ b/404.html @@ -0,0 +1,1077 @@ + + + +
+ + + + + + + + + + + + + + + + +MultiTask(subtask_class, name=None, description=None)
+
+Dynamically create a MultiTask OpenAISchema that can be used to segment multiple +tasks given a base class. This creates class that can be used to create a toolkit +for a specific task, names and descriptions are automatically generated. However +they can be overridden.
+ +Using this function is equivalent to creating a class that inherits from +OpenAISchema and has a list of the subtask class as a field.
+ +Parameters:
+Name | +Type | +Description | +Default | +
---|---|---|---|
subtask_class |
+
+ Type[OpenAISchema]
+ |
+
+
+
+ The base class to use for the MultiTask + |
+ + required + | +
name |
+
+ Optional[str]
+ |
+
+
+
+ The name of the MultiTask class, if None then the name
+of the subtask class is used as |
+
+ None
+ |
+
description |
+
+ Optional[str]
+ |
+
+
+
+ The description of the MultiTask class, if None
+then the description is set to |
+
+ None
+ |
+
Returns:
+Name | Type | +Description | +
---|---|---|
schema |
+ OpenAISchema
+ |
+
+
+
+ A new class that can be used to segment multiple tasks + |
+
instructor/dsl/multitask.py
50 + 51 + 52 + 53 + 54 + 55 + 56 + 57 + 58 + 59 + 60 + 61 + 62 + 63 + 64 + 65 + 66 + 67 + 68 + 69 + 70 + 71 + 72 + 73 + 74 + 75 + 76 + 77 + 78 + 79 + 80 + 81 + 82 + 83 + 84 + 85 + 86 + 87 + 88 + 89 + 90 + 91 + 92 + 93 + 94 + 95 + 96 + 97 + 98 + 99 +100 +101 +102 +103 +104 +105 +106 +107 +108 +109 +110 +111 +112 +113 +114 |
|
{"use strict";/*!
+ * escape-html
+ * Copyright(c) 2012-2013 TJ Holowaychuk
+ * Copyright(c) 2015 Andreas Lubbe
+ * Copyright(c) 2015 Tiancheng "Timothy" Gu
+ * MIT Licensed
+ */var _a=/["'&<>]/;Pn.exports=Aa;function Aa(e){var t=""+e,r=_a.exec(t);if(!r)return t;var o,n="",i=0,s=0;for(i=r.index;i