Ray

Results 7 comments of Ray

> I noticed the plain SQL statements embedded in the read/write methods and was wondering if the use of an ORM was ever discussed > I noticed the plain SQL...

> > > I noticed the plain SQL statements embedded in the read/write methods and was wondering if the use of an ORM was ever discussed > > > >...

> > > I noticed the plain SQL statements embedded in the read/write methods and was wondering if the use of an ORM was ever discussed > > > >...

After me and wendong discuss, we decided to use PostgreSQL as our first integrate database components, and we decided use Factory Pattern as our database components Design Pattern, and there...

```python from abc import ABC, abstractmethod import psycopg2 import mysql.connector # Generic database interface class DatabaseInterface(ABC): @abstractmethod def connect(self): pass @abstractmethod def execute_query(self, query: str): pass @abstractmethod def close(self): pass...

Currently, there are three solutions and three different issues: Add output schema in init chatagent; Add output schema as a tool into tools of chat agent; Add output schema as...