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

Use embeddings model instead of standard model #769

Closed lowjiansheng closed 2 months ago

lowjiansheng commented 2 months ago

PR Checklist

devalexandre commented 2 months ago

@lowjiansheng why not use WithEmbeddingModel?

lowjiansheng commented 2 months ago

@lowjiansheng why not use WithEmbeddingModel?

This was meant to fix an issue with the WithEmbeddingModel, but I think it's fixed here, although it's not released yet. I'll close this PR.