Closed johnfelipe closed 1 month ago
@johnfelipe it's already supported in Wren AI. please refer to the docs for connection setup, thanks!
Also there is an issue using mssql, we will fix it asap
steps to perform these actions in a Windows environment using Docker and PowerShell. Here's how you can do it:
Turn off all WrenAI-related containers: Open PowerShell and run:
docker stop $(docker ps -q --filter "name=wrenai")
Open PowerShell: You can do this by pressing Win + X and selecting "Windows PowerShell" or "Windows PowerShell (Admin)".
Navigate to the WrenAI directory: In Windows, the ~/.wrenai directory is typically located in your user folder. Run:
cd $env:USERPROFILE\.wrenai
Rename .env to .env.txt:
Rename-Item .env .env.txt
Open .env.txt in Notepad:
notepad .env.txt
In Notepad, find the line with IBIS_SERVER_VERSION and change its value to msodbc-driver. Save the file and close Notepad.
Rename .env.txt back to .env:
Rename-Item .env.txt .env
Run docker-compose with the updated .env file:
docker-compose --env-file .env up -d
These steps should accomplish the tasks you've outlined in a Windows environment. Make sure you have the necessary permissions to modify files in the .wrenai directory and to run Docker commands.
Is possible connect with Mssql database?