Add OpenAI and PostgreSQL credential management

- Implemented OpenAICredencial class for managing OpenAI API keys.
- Created OpenAICredencialModel and OpenAICredencialMapper for SQLAlchemy integration.
- Developed OpenAICredencialRepo for CRUD operations on OpenAI credentials.
- Established OpenAICliente class for interacting with OpenAI API.
- Introduced PostgresCredencial class for managing PostgreSQL connection details.
- Created PostgresCredencialModel and PostgresCredencialMapper for SQLAlchemy integration.
- Developed PostgresCredencialRepo for CRUD operations on PostgreSQL credentials.
- Added base connection class and PostgreSQL connection implementation.
- Included environment variable loading for sensitive data management.
This commit is contained in:
2025-05-05 23:54:17 +02:00
parent 7b6f525809
commit 613cd90662
56 changed files with 16237 additions and 131 deletions
-97
View File
@@ -1,97 +0,0 @@
E:\Fitz_Studio
├── .git
│ ├── FETCH_HEAD
│ ├── HEAD
│ ├── config
│ ├── description
│ ├── hooks
│ │ ├── applypatch-msg.sample
│ │ ├── commit-msg.sample
│ │ ├── fsmonitor-watchman.sample
│ │ ├── post-update.sample
│ │ ├── pre-applypatch.sample
│ │ ├── pre-commit.sample
│ │ ├── pre-merge-commit.sample
│ │ ├── pre-push.sample
│ │ ├── pre-rebase.sample
│ │ ├── pre-receive.sample
│ │ ├── prepare-commit-msg.sample
│ │ ├── push-to-checkout.sample
│ │ ├── sendemail-validate.sample
│ │ └── update.sample
│ ├── info
│ │ └── exclude
│ ├── objects
│ │ ├── info
│ │ └── pack
│ └── refs
│ ├── heads
│ └── tags
├── .gitignore
├── .python-version
├── .venv
│ ├── .gitignore
│ ├── .lock
│ ├── CACHEDIR.TAG
│ ├── Lib
│ │ └── site-packages
│ ├── Scripts
│ │ ├── activate
│ │ ├── activate.bat
│ │ ├── activate.csh
│ │ ├── activate.fish
│ │ ├── activate.nu
│ │ ├── activate.ps1
│ │ ├── activate_this.py
│ │ ├── deactivate.bat
│ │ ├── dotenv.exe
│ │ ├── pip.exe
│ │ ├── pip3.11.exe
│ │ ├── pip3.exe
│ │ ├── pydoc.bat
│ │ ├── python.exe
│ │ └── pythonw.exe
│ ├── include
│ │ └── site
│ └── pyvenv.cfg
├── README.md
├── backend
│ ├── ConexionSql
│ │ ├── Base_conexion.py
│ │ ├── Postgres_conexion.py
│ │ ├── __init__.py
│ │ └── __pycache__
│ ├── Credenciales
│ │ ├── __init__.py
│ │ ├── postgres_credencial.py
│ │ └── postgres_credencial_mmr.py
│ ├── __init__.py
│ ├── __pycache__
│ │ ├── __init__.cpython-311.pyc
│ │ └── base.cpython-311.pyc
│ └── base.py
├── config
│ └── .env
├── data
│ ├── files
│ │ └── tree.txt
│ ├── postgresql
│ │ ├── docker-compose.yml
│ │ └── pgdata
│ └── sqlite
├── entrypoint
│ ├── __init__.py
│ ├── __pycache__
│ │ ├── __init__.cpython-311.pyc
│ │ └── init_db.cpython-311.pyc
│ ├── add_to_pythonpath.ps1
│ └── init_db.py
├── main.py
├── pyproject.toml
└── scripts
├── __init_.py
├── __pycache__
│ └── prueba_carga_postrgesql.cpython-311.pyc
├── datos_para_llms
│ └── generar_tree.py
└── prueba_carga_postrgesql.py