Update conversational widget to use text-generation (+ remove conversational
task)
#153
Annotations
10 errors and 1 warning
test
Type '"conversational"' is not assignable to type '"other" | "text-classification" | "token-classification" | "table-question-answering" | "question-answering" | "zero-shot-classification" | "translation" | "summarization" | ... 38 more ... | "image-to-3d"'.
|
test
Type 'Map<"text-classification" | "token-classification" | "table-question-answering" | "question-answering" | "zero-shot-classification" | "translation" | "summarization" | "text-generation" | "conversational" | "fill-mask" | "sentence-similarity", string[] | ... 3 more ... | { ...; }[]>' is not assignable to type 'PerLanguageMapping'.
|
test
Type '{ "audio-classification": ("speechbrain" | "transformers" | "transformers.js")[]; "audio-to-audio": ("speechbrain" | "asteroid")[]; "automatic-speech-recognition": ("speechbrain" | "espnet" | "nemo" | "transformers" | "transformers.js")[]; ... 44 more ...; "image-to-3d": never[]; }' is not assignable to type 'Record<"other" | "text-classification" | "token-classification" | "table-question-answering" | "question-answering" | "zero-shot-classification" | "translation" | "summarization" | ... 38 more ... | "image-to-3d", ("speechbrain" | ... 34 more ... | "unity-sentis")[]>'.
|
test
Type '{ readonly "audio-classification": TaskData; readonly "audio-to-audio": TaskData; readonly "automatic-speech-recognition": TaskData; readonly conversational: TaskData; ... 43 more ...; readonly "image-to-3d": TaskData; }' is not assignable to type 'Record<"other" | "text-classification" | "token-classification" | "table-question-answering" | "question-answering" | "zero-shot-classification" | "translation" | "summarization" | ... 38 more ... | "image-to-3d", TaskData | undefined>'.
|
test
Argument of type '"conversational"' is not assignable to parameter of type '"other" | "text-classification" | "token-classification" | "table-question-answering" | "question-answering" | "zero-shot-classification" | "translation" | "summarization" | ... 38 more ... | "image-to-3d"'.
|
test
Type '{ "audio-to-audio": () => string; "audio-classification": () => string; "automatic-speech-recognition": () => string; conversational: () => string; "document-question-answering": () => string; "feature-extraction": () => string; ... 20 more ...; "zero-shot-image-classification": () => string; }' is not assignable to type '{ other?: ((model: ModelData) => string) | undefined; "text-classification"?: ((model: ModelData) => string) | undefined; "token-classification"?: ((model: ModelData) => string) | undefined; ... 43 more ...; "image-to-3d"?: ((model: ModelData) => string) | undefined; }'.
|
test
Type '{ "text-classification": (model: ModelData, accessToken: string) => string; "token-classification": (model: ModelData, accessToken: string) => string; "table-question-answering": (model: ModelData, accessToken: string) => string; ... 19 more ...; "image-segmentation": (model: ModelData, accessToken: string) => strin...' is not assignable to type 'Partial<Record<"other" | "text-classification" | "token-classification" | "table-question-answering" | "question-answering" | "zero-shot-classification" | "translation" | "summarization" | ... 38 more ... | "image-to-3d", (model: ModelData, accessToken: string) => string>>'.
|
test
Type '{ "text-classification": (model: ModelData) => string; "token-classification": (model: ModelData) => string; "table-question-answering": (model: ModelData) => string; ... 23 more ...; "zero-shot-image-classification": (model: ModelData) => string; }' is not assignable to type 'Partial<Record<"other" | "text-classification" | "token-classification" | "table-question-answering" | "question-answering" | "zero-shot-classification" | "translation" | "summarization" | ... 38 more ... | "image-to-3d", (model: ModelData) => string>>'.
|
test
Type '{ "text-classification": (model: ModelData, accessToken: string) => string; "token-classification": (model: ModelData, accessToken: string) => string; "table-question-answering": (model: ModelData, accessToken: string) => string; ... 19 more ...; "image-segmentation": (model: ModelData, accessToken: string) => strin...' is not assignable to type 'Partial<Record<"other" | "text-classification" | "token-classification" | "table-question-answering" | "question-answering" | "zero-shot-classification" | "translation" | "summarization" | ... 38 more ... | "image-to-3d", (model: ModelData, accessToken: string) => string>>'.
|
test
Process completed with exit code 1.
|
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|