patterns-ai-core / langchainrb

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

Add a lean state machine for Assistant's phases. #566

Open andreibondarev opened 2 months ago

andreibondarev commented 2 months ago

Description

The state machine should support the different states that the Assistant goes through. The OpenAI Assistants one is a good inspiration and first step but need to be cautious to make it generic enough to account for other LLMs and workflows.

dghirardo commented 1 week ago

Hi @andreibondarev! I'm currently working on this task. You can assign it to me.

andreibondarev commented 1 week ago

Hi @andreibondarev! I'm currently working on this task. You can assign it to me.

I'm curious whether you think we should be using a library here, and which one.