Skip to content

Commit

Permalink
restore
Browse files Browse the repository at this point in the history
some of the previous workflows
  • Loading branch information
jbilcke-hf committed Aug 11, 2024
1 parent b54e86b commit 8216870
Show file tree
Hide file tree
Showing 8 changed files with 486 additions and 11 deletions.
55 changes: 55 additions & 0 deletions src/services/editors/workflow-editor/workflows/aitube/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
import {
ClapWorkflow,
ClapWorkflowEngine,
ClapWorkflowCategory,
ClapWorkflowProvider,
} from '@aitube/clap'

import {
genericHeight1024,
genericHeight2048,
genericImage,
genericPrompt,
genericVideo,
genericWidth1024,
genericWidth2048,
} from '../common/defaultValues'

export const aitubeWorkflows: ClapWorkflow[] = [
/*
{
id: 'aitube://api/v1/edit/storyboards',
label: 'Storyboards',
description: '',
tags: ['OpenClap', 'image', 'storyboard'],
author: 'AiTube.at',
thumbnailUrl: '',
engine: ClapWorkflowEngine.OPENCLAP,
category: ClapWorkflowCategory.IMAGE_GENERATION,
provider: ClapWorkflowProvider.AITUBE,
data: 'api/v1/edit/storyboards',
inputFields: [genericPrompt, genericWidth2048, genericHeight2048],
inputValues: {
[genericPrompt.id]: genericPrompt.defaultValue,
[genericWidth2048.id]: genericWidth2048.defaultValue,
[genericHeight2048.id]: genericHeight2048.defaultValue,
},
},
{
id: 'aitube://api/v1/edit/music',
label: 'Music',
description: '',
tags: ['OpenClap', 'music'],
author: 'AiTube.at',
thumbnailUrl: '',
engine: ClapWorkflowEngine.OPENCLAP,
category: ClapWorkflowCategory.MUSIC_GENERATION,
provider: ClapWorkflowProvider.AITUBE,
data: 'api/v1/edit/music',
inputFields: [genericPrompt],
inputValues: {
[genericPrompt.id]: genericPrompt.defaultValue,
},
},
*/
]
115 changes: 115 additions & 0 deletions src/services/editors/workflow-editor/workflows/cohere/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
import {
ClapWorkflow,
ClapWorkflowEngine,
ClapWorkflowCategory,
ClapWorkflowProvider,
} from '@aitube/clap'

import {
genericHeight1024,
genericHeight2048,
genericImage,
genericPrompt,
genericVideo,
genericWidth1024,
genericWidth2048,
} from '../common/defaultValues'

export const cohereWorkflows: ClapWorkflow[] = [
{
id: 'cohere://command-r-plus',
label: 'Command R+',
description: '',
tags: ['command-r'],
author: 'Cohere',
thumbnailUrl: '',
engine: ClapWorkflowEngine.REST_API,
category: ClapWorkflowCategory.ASSISTANT,
provider: ClapWorkflowProvider.COHERE,
data: 'command-r-plus',
inputFields: [genericPrompt],
inputValues: {
prompt: genericPrompt.defaultValue,
},
},
{
id: 'cohere://command-r',
label: 'Command R',
description: '',
tags: ['command-r'],
author: 'Cohere',
thumbnailUrl: '',
engine: ClapWorkflowEngine.REST_API,
category: ClapWorkflowCategory.ASSISTANT,
provider: ClapWorkflowProvider.COHERE,
data: 'command-r',
inputFields: [genericPrompt],
inputValues: {
prompt: genericPrompt.defaultValue,
},
},
{
id: 'cohere://command',
label: 'Command',
description: '',
tags: ['command'],
author: 'Cohere',
thumbnailUrl: '',
engine: ClapWorkflowEngine.REST_API,
category: ClapWorkflowCategory.ASSISTANT,
provider: ClapWorkflowProvider.COHERE,
data: 'command',
inputFields: [genericPrompt],
inputValues: {
prompt: genericPrompt.defaultValue,
},
},
{
id: 'cohere://command-light',
label: 'Command Light',
description: '',
tags: ['command', 'light'],
author: 'Cohere',
thumbnailUrl: '',
engine: ClapWorkflowEngine.REST_API,
category: ClapWorkflowCategory.ASSISTANT,
provider: ClapWorkflowProvider.COHERE,
data: 'command-light',
inputFields: [genericPrompt],
inputValues: {
prompt: genericPrompt.defaultValue,
},
},
{
id: 'cohere://command-nightly',
label: 'Command (nightly)',
description: '',
tags: ['command', 'nightly'],
author: 'Cohere',
thumbnailUrl: '',
engine: ClapWorkflowEngine.REST_API,
category: ClapWorkflowCategory.ASSISTANT,
provider: ClapWorkflowProvider.COHERE,
data: 'command-nightly',
inputFields: [genericPrompt],
inputValues: {
prompt: genericPrompt.defaultValue,
},
},
{
id: 'cohere://command-light-nightly',
label: 'Command Light (nightly)',
description: '',
tags: ['command', 'light', 'nightly'],
author: 'Cohere',
thumbnailUrl: '',
engine: ClapWorkflowEngine.REST_API,
category: ClapWorkflowCategory.ASSISTANT,
provider: ClapWorkflowProvider.COHERE,
data: 'command-light-nightly',
inputFields: [genericPrompt],
inputValues: {
prompt: genericPrompt.defaultValue,
},
},
]
Original file line number Diff line number Diff line change
Expand Up @@ -127,4 +127,20 @@ export const fireworksaiWorkflows: ClapWorkflow[] = [
// TODO: add guidance scale and number of steps
},
},
{
id: 'fireworksai://fireworks/llama-v3-70b-instruct',
label: 'Llama3 70b (Instruct)',
description: '',
tags: [],
author: 'Meta',
thumbnailUrl: '',
engine: ClapWorkflowEngine.REST_API,
provider: ClapWorkflowProvider.FIREWORKSAI,
category: ClapWorkflowCategory.ASSISTANT,
data: 'fireworks/llama-v3-70b-instruct',
inputFields: [genericPrompt],
inputValues: {
prompt: genericPrompt.defaultValue,
},
},
]
69 changes: 68 additions & 1 deletion src/services/editors/workflow-editor/workflows/google/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,75 @@ import {
genericWidth2048,
} from '../common/defaultValues'

// you can find this list here: https://docs.anthropic.com/en/docs/models-overview
// you can find the list here: https://cloud.google.com/vertex-ai/generative-ai/docs/learn/model-versioning
// The auto-updated version of a Gemini model points to the most recent stable version
// google supports claude so you can also see the ids specific to Vertex AI here:
// https://docs.anthropic.com/en/docs/models-overview
export const googleWorkflows: ClapWorkflow[] = [
{
id: 'google://gemini-1.5-flash-001',
label: 'Gemini 1.5 flash (001)',
description: '',
tags: ['Gemini', 'flash'],
author: 'Google (GCP Vertex AI)',
thumbnailUrl: '',
engine: ClapWorkflowEngine.REST_API,
category: ClapWorkflowCategory.ASSISTANT,
provider: ClapWorkflowProvider.GOOGLE,
data: 'gemini-1.5-flash-001',
inputFields: [genericPrompt],
inputValues: {
prompt: genericPrompt.defaultValue,
},
},
{
id: 'google://gemini-1.5-pro-001',
label: 'Gemini 1.5 pro (001)',
description: '',
tags: ['Gemini', 'pro'],
author: 'Google (GCP Vertex AI)',
thumbnailUrl: '',
engine: ClapWorkflowEngine.REST_API,
category: ClapWorkflowCategory.ASSISTANT,
provider: ClapWorkflowProvider.GOOGLE,
data: 'gemini-1.5-pro-001',
inputFields: [genericPrompt],
inputValues: {
prompt: genericPrompt.defaultValue,
},
},
{
id: 'google://gemini-1.0-vision-001',
label: 'Gemini 1.0 vision (001)',
description: '',
tags: ['Gemini', 'vision'],
author: 'Google (GCP Vertex AI)',
thumbnailUrl: '',
engine: ClapWorkflowEngine.REST_API,
category: ClapWorkflowCategory.ASSISTANT,
provider: ClapWorkflowProvider.GOOGLE,
data: 'gemini-1.0-vision-001',
inputFields: [genericPrompt],
inputValues: {
prompt: genericPrompt.defaultValue,
},
},
{
id: 'google://gemini-1.0-pro-002',
label: 'Gemini 1.0 pro (002)',
description: '',
tags: ['Gemini', 'vision'],
author: 'Google (GCP Vertex AI)',
thumbnailUrl: '',
engine: ClapWorkflowEngine.REST_API,
category: ClapWorkflowCategory.ASSISTANT,
provider: ClapWorkflowProvider.GOOGLE,
data: 'gemini-1.0-pro-002',
inputFields: [genericPrompt],
inputValues: {
prompt: genericPrompt.defaultValue,
},
},
{
id: 'google://claude-3.5-20240620',
label: 'Claude 3.5 (Sonnet)',
Expand Down
83 changes: 83 additions & 0 deletions src/services/editors/workflow-editor/workflows/groq/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
import {
ClapWorkflow,
ClapWorkflowEngine,
ClapWorkflowCategory,
ClapWorkflowProvider,
} from '@aitube/clap'

import {
genericHeight1024,
genericHeight2048,
genericImage,
genericPrompt,
genericVideo,
genericWidth1024,
genericWidth2048,
} from '../common/defaultValues'

export const groqWorkflows: ClapWorkflow[] = [
{
id: 'groq://Mixtral-8x7b-32768',
label: 'Mixtral 8x7b (32768)',
description: '',
tags: ['Mixtral'],
author: 'Mistral AI',
thumbnailUrl: '',
engine: ClapWorkflowEngine.REST_API,
category: ClapWorkflowCategory.ASSISTANT,
provider: ClapWorkflowProvider.GROQ,
data: 'Mixtral-8x7b-32768',
inputFields: [genericPrompt],
inputValues: {
prompt: genericPrompt.defaultValue,
},
},
{
id: 'groq://Gemma-7b-lt',
label: 'Gemma 7b lt',
description: '',
tags: ['Gemma'],
author: 'Google',
thumbnailUrl: '',
engine: ClapWorkflowEngine.REST_API,
category: ClapWorkflowCategory.ASSISTANT,
provider: ClapWorkflowProvider.GROQ,
data: 'Gemma-7b-lt',
inputFields: [genericPrompt],
inputValues: {
prompt: genericPrompt.defaultValue,
},
},
{
id: 'groq://Llama3-70b-8192',
label: 'Llama3 70b (8192)',
description: '',
tags: ['Llama3'],
author: 'Meta',
thumbnailUrl: '',
engine: ClapWorkflowEngine.REST_API,
category: ClapWorkflowCategory.ASSISTANT,
provider: ClapWorkflowProvider.GROQ,
data: 'Llama3-70b-8192',
inputFields: [genericPrompt],
inputValues: {
prompt: genericPrompt.defaultValue,
},
},
{
id: 'groq://Llama3-8b-8192',
label: 'Llama3 8b (8192)',
description: '',
tags: ['Llama3'],
author: 'Google',
thumbnailUrl: '',
engine: ClapWorkflowEngine.REST_API,
category: ClapWorkflowCategory.ASSISTANT,
provider: ClapWorkflowProvider.GROQ,
data: 'Llama3-8b-8192',
inputFields: [genericPrompt],
inputValues: {
prompt: genericPrompt.defaultValue,
},
},
]
Loading

0 comments on commit 8216870

Please sign in to comment.