gofireflyio / aiac

Artificial Intelligence Infrastructure-as-Code Generator.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Consider setting backend alternatives via config file, current signature makes for ungainly usage

gmaghera opened this issue · comments

When using aiac with a different backend, such as Azure OpenAI one has to do something like this:

aiac get --api-version="2023-05-15" --url="https://tenant.openai.azure.com/openai/deployments/testdeployment" terraform code for ssm paramter

The --flags have to go after the aiac get piece, and that makes it difficult to use aliases to make the above command shorter.

Could you consider using a config file instead, so we don't have to rely on aliases? Or allow putting the --flags before the subcommand (the only other subcommand I'm aware of wouldn't be impacted by it).

Sure. We made get a subcommand originally to allow for the semantics, but it is indeed uncomfortable when flags are involved. We can definitely add support for a configuration file, we'll try to get this in soon. Keep in mind that you can use environment variables in place of backend-related flags too if this helps.

Hi
There is any chance to use a different model apart from the mentioned model? I am unable to access the Llama3, Gemma, and other LLMs.
How to Access Other LLM
Models

The model list will no longer be hardcoded in the next release.