Update project names and flow examples

This commit is contained in:
anovazzi1 2024-04-01 18:22:23 -03:00
commit 5519515853
4 changed files with 1128 additions and 8 deletions

File diff suppressed because one or more lines are too long

View file

@ -1025,7 +1025,7 @@
} }
}, },
"description": "This flow integrates PDF reading with a language model to answer document-specific questions. Ideal for small-scale texts, it facilitates direct queries with immediate insights.", "description": "This flow integrates PDF reading with a language model to answer document-specific questions. Ideal for small-scale texts, it facilitates direct queries with immediate insights.",
"name": "Document QA ", "name": "Document QA",
"last_tested_version": "1.0.0a0", "last_tested_version": "1.0.0a0",
"is_component": false "is_component": false
} }

View file

@ -1129,7 +1129,7 @@
} }
}, },
"description": "This project can be used as a starting point for building a Chat experience with user specific memory. You can set a different Session ID to start a new message history.", "description": "This project can be used as a starting point for building a Chat experience with user specific memory. You can set a different Session ID to start a new message history.",
"name": "Chatbot with Memory", "name": "Memory Chatbot",
"last_tested_version": "1.0.0a0", "last_tested_version": "1.0.0a0",
"is_component": false "is_component": false
} }

View file

@ -28,11 +28,11 @@ export default function NewFlowModal({
{/* {examples.map((example, idx) => { {/* {examples.map((example, idx) => {
return <UndrawCardComponent key={idx} flow={example} />; return <UndrawCardComponent key={idx} flow={example} />;
})} */} })} */}
{examples[4] && <UndrawCardComponent key={1} flow={examples[4]}/>} {examples.find(e=>e.name=="Basic Prompting") && <UndrawCardComponent key={1} flow={examples.find(e=>e.name=="Basic Prompting")!}/>}
{examples[2] && <UndrawCardComponent key={2} flow={examples[2]}/>} {examples.find(e=>e.name=="Memory Chatbot") && <UndrawCardComponent key={1} flow={examples.find(e=>e.name=="Memory Chatbot")!}/>}
{examples[3] && <UndrawCardComponent key={3} flow={examples[3]}/>} {examples.find(e=>e.name=="Document QA") && <UndrawCardComponent key={1} flow={examples.find(e=>e.name=="Document QA")!}/>}
{examples[0] && <UndrawCardComponent key={5} flow={examples[0]}/>} {examples.find(e=>e.name=="Prompt Chaining") && <UndrawCardComponent key={1} flow={examples.find(e=>e.name=="Prompt Chaining")!}/>}
{examples[1] && <UndrawCardComponent key={4} flow={examples[1]}/>} {examples.find(e=>e.name=="Blog Writter") && <UndrawCardComponent key={1} flow={examples.find(e=>e.name=="Blog Writter")!}/>}
</div> </div>