patterns-ai-core / langchainrb

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

Remove check support assistant message #633

Open tianlu1677 opened 1 month ago

tianlu1677 commented 1 month ago

Because when we use other message type, but check support LLM, so someone can not implement other llm.

If someboy use not exist message, will raise error default.

Langchain::Messages::XXMessage
andreibondarev commented 1 month ago

@tianlu1677 Sorry -- could you please explain what this fixes?