| title | Ask Sage |
|---|---|
| slug | ../asksage |
Ask Sage provides secure, government-compliant access to LLMs. This guide explains how to set up and configure Ask Sage models, including support for DoD certificates.
-
Ask Sage Account:
Sign up or log in at Ask Sage Platform. -
API Key:
Follow the API Key Documentation to generate your key.
Add your Ask Sage model to your Continue configuration file, which is located at ~/.continue/config.yaml. If it does not exist, create it.
models: - name: GPT-4 gov provider: askSage model: gpt4-gov apiBase: https://api.asksage.ai/server/ apiKey: <YOUR_ASK_SAGE_API_KEY>
</Tab>
<Tab title="JSON">
```json title="config.json"
{
"models": [
{
"title": "GPT-4 gov",
"provider": "askSage",
"model": "gpt4-gov",
"apiBase": "https://api.asksage.ai/server/",
"apiKey": "<YOUR_ASK_SAGE_API_KEY>"
}
]
}
For secure environments, specify your DoD CA bundle path:
```yaml title="config.yaml" name: My Config version: 0.0.1 schema: v1models: - name: GPT-4 gov provider: askSage model: gpt4-gov apiBase: https://api.asksage.ai/server/ apiKey: <YOUR_ASK_SAGE_API_KEY> requestOptions: caBundlePath: /path/to/dod/certificates
</Tab>
<Tab title="JSON">
```json title="config.json"
{
"models": [
{
"title": "GPT-4 gov",
"provider": "askSage",
"model": "gpt4-gov",
"apiBase": "https://api.asksage.ai/server/",
"apiKey": "<YOUR_ASK_SAGE_API_KEY>",
"requestOptions": {
"caBundlePath": "/path/to/dod/certificates"
}
}
]
}
Replace /path/to/dod/certificates with your actual CA bundle file path.
- Save your configuration file.
- Restart Continue to apply changes.
Your Ask Sage model will now be available in Continue.
Supported features:
- Chat: Interact and iterate on code in the sidebar.
- Edit: Modify code in place.
- Refer to Ask Sage Docs for more details.
- Email the Ask Sage support team for assistance at support@asksage.ai.
-
Install Continue CLI Follow the steps from the official Continue docs.
-
Setting up a custom config for Ask Sage Follow the steps in step 2 of the Overview above 👆.
-
How to use Continue CLI Use Continue's official guide.
- Once the editor appears in the terminal, type "/config", and select the config created in step 2.