https://github.com/ramonbgc/nl2iac
AI agent for IaC deployments
https://github.com/ramonbgc/nl2iac
Last synced: 3 months ago
JSON representation
AI agent for IaC deployments
- Host: GitHub
- URL: https://github.com/ramonbgc/nl2iac
- Owner: ramonbgc
- Created: 2024-05-07T06:25:18.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-23T18:03:45.000Z (about 1 year ago)
- Last Synced: 2025-01-06T00:34:22.497Z (11 months ago)
- Language: Python
- Size: 27.9 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome_ai_agents - Nl2Iac - AI agent for IaC deployments (Building / Deployment)
README
# nl2iac
AI agent for IaC deployments
## installation
1. It's recommended to create and use a python virtual environment (not mandatory):
```sh
virtualenv YourOwnEnvName
cd YourOwnEnvName
source bin/activate
```
2. download/clone the repo
3. install requirements:
```sh
pip install -r requirements.txt
```
4. add the following lines and fill the values in **.streamlit/secrets.toml**:
```sh
GOOGLE_APPLICATION_CREDENTIALS = "PathToYourServiceAccountJSONFile"
REGION = "GCPProjectRegion"
PROJECT_ID = "YourGCPProjectId"
GOOGLE_MODEL_ID = "gemini-1.5-flash" #default Google Model
MULTIPROVIDER = "False"
LANGCHAIN_API_KEY = "YourLangChainApiKey" # leave it blank if not in use
LANGCHAIN_PROJECT = "YourLangChainProjectName" # leave it blank if not in use
OPENAI_API_KEY = "YourOpenAIApiKey" # leave it blank if not in use
OPENAI_MODEL_ID = "gpt-4o" #default OpenAI Model
```