mirror of
https://github.com/langflow-ai/langflow.git
synced 2026-07-25 00:22:35 +08:00
Update flow names to use "Hello, World" instead of "Hello, world!"
This commit is contained in:
@ -61,7 +61,7 @@ We wanted to create start projects that would help you learn about new features
|
||||
|
||||
For now, we have:
|
||||
|
||||
- **[Basic Prompting (Hello, world!)](/guides/basic-prompting)**: A simple flow that shows you how to use the Prompt Component and how to talk like a pirate.
|
||||
- **[Basic Prompting (Hello, World)](/guides/basic-prompting)**: A simple flow that shows you how to use the Prompt Component and how to talk like a pirate.
|
||||
- **[Vector Store RAG](/guides/rag-with-astradb)**: A flow that shows you how to ingest data into a Vector Store and then use it to run a RAG application.
|
||||
- **[Memory Chatbot](/guides/memory-chatbot)**: This one shows you how to create a simple chatbot that can remember things about the user.
|
||||
- **[Document QA](/guides/document-qa)**: This flow shows you how to build a simple flow that helps you get answers about a document.
|
||||
|
||||
@ -43,7 +43,7 @@ export default function UndrawCardComponent({
|
||||
}}
|
||||
/>
|
||||
);
|
||||
case "Basic Prompting (Hello, world!)":
|
||||
case "Basic Prompting (Hello, World)":
|
||||
return (
|
||||
<BasicPrompt
|
||||
style={{
|
||||
|
||||
@ -34,14 +34,12 @@ export default function NewFlowModal({
|
||||
{/* {examples.map((example, idx) => {
|
||||
return <UndrawCardComponent key={idx} flow={example} />;
|
||||
})} */}
|
||||
{examples.find(
|
||||
(e) => e.name == "Basic Prompting (Hello, world!)"
|
||||
) && (
|
||||
{examples.find((e) => e.name == "Basic Prompting (Hello, World)") && (
|
||||
<UndrawCardComponent
|
||||
key={1}
|
||||
flow={
|
||||
examples.find(
|
||||
(e) => e.name == "Basic Prompting (Hello, world!)"
|
||||
(e) => e.name == "Basic Prompting (Hello, World)"
|
||||
)!
|
||||
}
|
||||
/>
|
||||
|
||||
@ -381,7 +381,7 @@ def get_starter_project(active_user):
|
||||
# once the client is created, we can get the starter project
|
||||
with session_getter(get_db_service()) as session:
|
||||
flow = session.exec(
|
||||
select(Flow).where(Flow.folder == STARTER_FOLDER_NAME).where(Flow.name == "Basic Prompting (Hello, world!)")
|
||||
select(Flow).where(Flow.folder == STARTER_FOLDER_NAME).where(Flow.name == "Basic Prompting (Hello, World)")
|
||||
).first()
|
||||
if not flow:
|
||||
raise ValueError("No starter project found")
|
||||
|
||||
Reference in New Issue
Block a user