tmc / langchaingo

LangChain for Go, the easiest way to write LLM-based programs in Go
https://tmc.github.io/langchaingo/
MIT License
3.73k stars 518 forks source link

examples: Correct API key usage for Groq integration #893

Closed Ashad001 closed 2 weeks ago

Ashad001 commented 2 weeks ago

Related To: #890

This change addresses the confusion regarding the API key parameter and ensures proper integration with the Groq API.

I still think there should be a separate module to load models for Groq instead of OpenAI, for better readability.