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

Create a new init command for initializing genAI configs #178

Open
santoshkal opened this issue Oct 15, 2024 · 1 comment
Open

Create a new init command for initializing genAI configs #178

santoshkal opened this issue Oct 15, 2024 · 1 comment

Comments

@santoshkal
Copy link
Collaborator

Create a new command to initialize Genval's AI's initial configurations:
The command would be executed as: genvai genai init

  • Set the user LLM backend
  • Set the API key for the selected LLM
  • Set the local directory in users machine to store all the systemPrompts
@santoshkal santoshkal converted this from a draft issue Oct 15, 2024
@santoshkal
Copy link
Collaborator Author

The genai init command is completed with some updates.

  • the LLM backend and its respective API key are not included in the init command. Whenever the init command executes and completes the process, the information like LLM backend and API key are discarded and not available when a new process/command is used subsequently.

As storing sensitive information like API keys locally or in the code base is not a recommended practice. The feature is currently removed from the genai init command and the same is read while interacting with the backend.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

1 participant