Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

History module #2

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

loicboutet
Copy link
Collaborator

This is a first draft to change raix-rails to a rails engine.
I'm not very used to rails engine and had some trouble to setup the tests. If you see anything that looks weird tell me !

Anyway it seems to work quite well right now.
And adding include Raix::History in your model is going to add a relationship to chat_messages and the transcript method is going to be overloaded.

I still have a few tests to do to make sure everything work as intended in conjuction with ChatCompletion. But I wanted to show the work early to make sure if everything seems good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant