tmc / langchaingo

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

how to use llms.GenerateContent through chains? #775

Open ctrlaltdel121 opened 2 months ago

ctrlaltdel121 commented 2 months ago

From what I can tell, to use things like Tools, the correct approach is to call GenerateContent on a model - but all of the chains use Call().

Are the chains deprecated, or is support for GenerateContent coming? Is there a new thing to use instead of the chains package?

Thanks!

devalexandre commented 2 months ago

From what I can tell, to use things like Tools, the correct approach is to call GenerateContent on a model - but all of the chains use Call().

Are the chains deprecated, or is support for GenerateContent coming? Is there a new thing to use instead of the chains package?

Thanks!

chains use a GenerateContent, but with some things