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

MSSQL Extension #1362

Merged
merged 5 commits into from
Jan 19, 2025
Merged

MSSQL Extension #1362

merged 5 commits into from
Jan 19, 2025

Conversation

birdup000
Copy link
Contributor

@birdup000 birdup000 commented Jan 13, 2025

This pull request introduces a new MSSQL Database extension to the AGiXT project, enabling interactions with a Microsoft SQL Server database. The main changes include the addition of methods for executing custom SQL queries, retrieving database schemas, and facilitating natural language interaction with the database.

Key additions:

  • MSSQL Database Extension:
    • mssql_database class: Implements the MSSQL Database extension, allowing interaction with a Microsoft SQL Server database.
    • execute_sql method: Executes custom SQL queries and handles query formatting and error management.
    • get_schema method: Retrieves the schema of the MSSQL database, including table structures and foreign key relationships.
    • chat_with_db method: Facilitates natural language interaction with the database by generating SQL queries from natural language requests.

These changes enhance the AGiXT project by providing robust tools for database management and querying, making it easier to interact with MSSQL databases programmatically and through natural language.

@birdup000
Copy link
Contributor Author

This should close the issue #1361

@birdup000 birdup000 marked this pull request as draft January 13, 2025 21:00
@birdup000 birdup000 closed this Jan 13, 2025
@birdup000 birdup000 reopened this Jan 14, 2025
@birdup000
Copy link
Contributor Author

This extension needs to be tested before being merged.

@Josh-XT Josh-XT changed the title add MSSQL Database extension for AGiXT with connection and query exec… MSSQL Extension Jan 16, 2025
@Josh-XT Josh-XT marked this pull request as ready for review January 19, 2025 01:10
@Josh-XT Josh-XT merged commit b0517d5 into Josh-XT:main Jan 19, 2025
@Josh-XT Josh-XT mentioned this pull request Jan 19, 2025
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.

2 participants