Discover Packages
github.com/tmc/langchaingo/examples/ernie-chat-example
command
module
Version:
v0.0.0-...-3308821
Opens a new window with list of versions in this module.
Published: Nov 23, 2026
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
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.
Opens a new window with list of known importers.
README
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:
We set up the ERNIE-Bot AI model with some special settings.
We tell the AI that it's a company branding design wizard (how cool is that?).
We ask it to suggest a great name for a company that makes colorful socks.
The program prints out the AI's response in real-time, so you can watch the magic happen!
How to Use It
Make sure you have Go installed on your computer.
Replace the placeholder values for "ak", "sk", and "accesstoken" with your actual ERNIE-Bot credentials.
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! 😊
Expand â–¾
Collapse â–´
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.