patterns-ai-core / langchainrb

Build LLM-powered applications in Ruby

Home Page:https://rubydoc.info/gems/langchainrb

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Running into issue running migrations

jeperkins4 opened this issue · comments

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?

@jeperkins4 Are you using langchainrb or langchainrb_rails gem?

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

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

Wrong gem