paulpierre / RasaGPT

💬 RasaGPT is the first headless LLM chatbot platform built on top of Rasa and Langchain. Built w/ Rasa, FastAPI, Langchain, LlamaIndex, SQLModel, pgvector, ngrok, telegram

Home Page:https://rasagpt.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Session errors

MaHDiaLaGaB opened this issue · comments

commented

This is not the only error I had from the database model:
Parent instance <Organization at 0xffffa99dcd40> is not bound to a Session; lazy load operation of attribute 'projects' cannot proceed

this is one of almost five errors when I tried to create a project for Org or read a project by Org id.

The reason for this error is the ModelBase structure and not using any linting tools, the all-class needs to be restructured
this class 👇

class BaseModel(SQLModel):