Files
Travis Cline 450c02a722 examples: update to v0.1.14-pre.4 (#1401)
chore: update all examples to use v0.1.14-pre.4

- Remove replace directives from 5 examples that had local path references
- Update all 75 example go.mod files to use the latest pre-release version
- Ensures examples work correctly for users who clone the repository
2025-09-14 20:54:54 +02:00
..
2024-06-20 23:47:52 -04:00

Colorful Sock Company Namer 🧦🌈

Welcome to our fun little Go program that uses the power of AI to come up with an awesome name for a colorful sock company! 🎉

What Does This Do?

This cool example shows how to use the ERNIE-Bot AI model to generate creative company names. Here's the lowdown:

  1. We set up the ERNIE-Bot AI model with some special settings.
  2. We tell the AI that it's a company branding design wizard (how cool is that?).
  3. We ask it to suggest a great name for a company that makes colorful socks.
  4. The program prints out the AI's response in real-time, so you can watch the magic happen!

How to Use It

  1. Make sure you have Go installed on your computer.
  2. Replace the placeholder values for "ak", "sk", and "accesstoken" with your actual ERNIE-Bot credentials.
  3. Run the program and watch as it generates a fantastic company name for your imaginary colorful sock business!

Why It's Awesome

  • It's a fun way to see AI in action! 🤖
  • You might get some really creative and quirky company name ideas. 💡
  • It demonstrates how to use the langchaingo library with the ERNIE-Bot model.

So, put on your favorite pair of colorful socks and let's generate some amazing company names! 🎨🧦

Happy coding! 😊