Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: updating examples on the home page #292

Merged
merged 5 commits into from
Feb 20, 2025
Merged

Conversation

dereklegenzoff
Copy link
Contributor

Updates examples for the home page

Copy link

vercel bot commented Feb 20, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
gensx-home ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 20, 2025 1:11am
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
gensx-docs ⬜️ Skipped (Inspect) Feb 20, 2025 1:11am

Comment on lines 184 to +187
type: "llms",
title: "Composable and Reusable",
mobileTitle: "LLMs",
description:
"Install or publish components on npm and use throughout your workflows.",
title: "Use any LLM",
mobileTitle: "Use any LLM",
description: "Easily swap between models and providers.",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Another option for this one could be one around showing how to use components from a fictional package to demonstrate that you can use components from npm and publish them there

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

or could be a 5th example if we wanted

const result = WriteBlogWorkflow.run({ prompt: "Write a blog post about AI developer tools." });
`,
agents: `import { Swarm, Agent, Tool } from 'ai-agent-sdk';
export const WriteBlog = gsx.StreamComponent<BlogWriterProps>(
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we make this a regular component to simplify things?

Copy link
Member

@EvanBoyle EvanBoyle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Big improvement. Let's ship it and we can iterate. Much more to do before the night is done!

@dereklegenzoff dereklegenzoff merged commit cc7484e into main Feb 20, 2025
6 checks passed
@dereklegenzoff dereklegenzoff deleted the derek/website-examples branch February 20, 2025 03:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants