patterns-ai-core / langchainrb

Build LLM-powered applications in Ruby
https://rubydoc.info/gems/langchainrb
MIT License
1.18k stars 156 forks source link

Running into issue running migrations #638

Closed jeperkins4 closed 1 month ago

jeperkins4 commented 1 month ago

StandardError: An error has occurred, this and all later migrations canceled:

undefined method `default_dimensions' for #<Langchain::LLM::OpenAI:...

Anyone else come across this issue?

andreibondarev commented 1 month ago

@jeperkins4 Are you using langchainrb or langchainrb_rails gem?

andreibondarev commented 1 month ago

@jeperkins4 Can you show the full error stack? Which version of the gem are you using?

jeperkins4 commented 1 month ago

Sorry... I should have posted this under the langchainrb_rails. Let me close this and repost w/ full stack over there.

jeperkins4 commented 1 month ago

Wrong gem