You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -52,43 +52,102 @@ The extension could be installed directly from the [VS Code Marketplace](https:/
52
52
53
53
The extension relies on an existing instance of the Credential Digger, hence you need to configure the extension based on the chosen mode
54
54
55
+

56
+
55
57
#### Local
56
58
57
-

59
+
Navigate to the extension settings first. Go to the `Type` section and select the `binary` option. Then, from the `Binary` section, click on `Edit in settings.json`.
60
+
61
+

62
+
63
+
Next, provide the required information as shown in the following example:
Navigate to the extension settings first. Go to the `Type` section and select the `docker` option. Then, from the `Docker` section, click on `Edit in settings.json`.
81
+
82
+

83
+
84
+
Next, provide the required information as shown in the following example:
Navigate to the extension settings first. Go to the `Type` section and select the `webserver` option. Then, from the `Webserver` section, click on `Edit in settings.json`.
102
+
103
+

104
+
105
+
Next, provide the required information as shown in the following example:
If your Credential digger instance does not have scanning rules or you want to provide your customized set then you can push them by running this command `Credential Digger: Add Rules`
117
+
If your Credential digger instance does not have scanning rules or you want to provide your customized set then you can first enter the path to your rules file into the `Rules` section and then push them by running this command `Credential Digger: Add Rules`
To fully benefit from the AI functionality, you need to configure some settings. Specifically, two fields need to be filled in the extension settings.
82
-
(Your code will not be transmitted to an AI, only the file extension will be used on the prompt.)
135
+
To fully benefit from the AI functionality, you need to configure two fields.
136
+
(Your code will not be transmitted to an AI, only the file extension, like '.js' or '.java' will be used on the prompt.)
137
+
138
+
You have two AI modes at your disposal:
139
+
140
+
-**BTP OpenAI**: This option is for a Multi-tenant BTP service proxy for third-party LLM APIs. The extension use Azure OpenAI gpt-4 model.
141
+
- Navigate to the `Openai Call Mode` section. From the dropdown menu, choose `BTP OpenAI`.
142
+
- Then navigate to the `Openai Key Path` section. Here, enter a path that leads to your key within a .json file.
83
143
84
-
-**Openai Mode**: Select your preferred AI mode from the dropdown. The options include "BTP OpenAI" and "OpenAI."
144
+

85
145
86
-
- <u>BTP OpenAI</u>: This option is for a Multi-tenant BTP service proxy for third-party LLM APIs. The extension use Azure OpenAI text-davinci-003 model.
87
-
- <u>OpenAI</u>: This option is for OpenAI (https://platform.openai.com/).
146
+
-**OpenAI**: This option is for OpenAI (https://platform.openai.com/)
147
+
- Navigate to the `Openai Call Mode` section. From the dropdown menu, choose `OpenAI`.
148
+
- Then navigate to the `Openai Key Path` section. Here, enter the path that directs to a .txt file. Make sure this file contains only the key you've copied and pasted.
88
149
89
-
-**Openai Key Path**: This field is for entering the full path to your OpenAI key. The type of key file depends on the selected OpenAI mode.
90
-
- If <u>BTP OpenAI</u> was selected in the OpenAI Mode, the path should lead to a `.json` file containing your key.
91
-
- If <u>OpenAI</u> was chosen, the path should direct to a `.txt` file containing only your copied and pasted key.
0 commit comments