This example demonstrates how to use GenSX to create an AI-powered blog writing workflow. It showcases how to use GenSX for generating long-form content with LLMs.
- Basic GenSX workflow setup
- Generating long-form content using LLMs
- Simple prompt-to-blog-post conversion
# Install dependencies
pnpm install
# Set your OpenAI API key
export OPENAI_API_KEY=<your_api_key>
# Run the example
pnpm run start
The example will generate a blog post based on the prompt "Write a blog post about the future of AI". You can modify the prompt in index.tsx
to generate different content.