ernie-chat-example

command module
v0.0.0-...-3308821 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 23, 2026 License: MIT Imports: 5 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README ¶

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! 😊

Documentation ¶

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL