| 1 | --- |
| 2 | title: "AskSage" |
| 3 | description: "Configure AskSage with Continue to access a wide range of models including government-compliant versions of GPT and Claude models, supporting chat and edit functionalities" |
| 4 | --- |
| 5 | |
| 6 | <Info> |
| 7 | To get an Ask Sage API key login to the Ask Sage platform (If you don't have |
| 8 | an account, you can create one [here](https://chat.asksage.ai/)) and follow |
| 9 | the instructions in the Ask Sage Docs: [Ask Sage API |
| 10 | Key](https://docs.asksage.ai/docs/api-documentation/api-documentation.html) |
| 11 | </Info> |
| 12 | |
| 13 | ## Configuration |
| 14 | |
| 15 | To use the Ask Sage models, you can use the following |
| 16 | |
| 17 | <Tabs> |
| 18 | <Tab title="YAML"> |
| 19 | ```yaml title="config.yaml" |
| 20 | models: |
| 21 | - name: GPT-4 gov |
| 22 | provider: askSage |
| 23 | model: gpt4-gov |
| 24 | apiBase: https://api.asksage.ai/server/ |
| 25 | apiKey: <YOUR_ASK_SAGE_API_KEY> |
| 26 | ``` |
| 27 | </Tab> |
| 28 | <Tab title="JSON"> |
| 29 | ```json title="config.json" |
| 30 | { |
| 31 | "models": [ |
| 32 | { |
| 33 | "title": "GPT-4 gov", |
| 34 | "provider": "askSage", |
| 35 | "model": "gpt4-gov", |
| 36 | "apiBase": "https://api.asksage.ai/server/", |
| 37 | "apiKey": "<YOUR_ASK_SAGE_API_KEY>" |
| 38 | } |
| 39 | ] |
| 40 | } |
| 41 | ``` |
| 42 | </Tab> |
| 43 | </Tabs> |
| 44 | |
| 45 | The `apiBase` will be listed on the Ask Sage platform when you generate an `API key`. You will see context as shown below: |
| 46 | |
| 47 | > Server API for query/training etc.: |
| 48 | > |
| 49 | > - Documentation: https://app.swaggerhub.com/apis-docs/NICOLASCHAILLAN_1/server_ask-sage_api/1.0 |
| 50 | > - URL for this API is: https://api.asksage.ai/server/ |
| 51 | |
| 52 | ## Usage |
| 53 | |
| 54 | Currently, the setup for the models provided by Ask Sage is to support the following two functionalities provided by Continue.Dev: |
| 55 | |
| 56 | - `Chat` to understand and iterate on code in the sidebar |
| 57 | - `Edit` to modify code without leaving your current file |
| 58 | |
| 59 | More models, functionalities and documentation will be added in the future for Ask Sage Integration. |
| 60 | |
| 61 | > We recommend to utilize the `OpenAI` or `Anthropic` models for the best performance and results for the `Chat` and `Edit` functionalities. |
| 62 | |
| 63 | ## Ask Sage Documentation |
| 64 | |
| 65 | Ask Sage documentation is not available with Continue.Dev, so if you have any questions or need help with Ask Sage type `@ask` and select the `Ask Sage` option in the chat. Then procced to ask your question about Ask Sage. |
| 66 | |
| 67 | ## Current Models From Ask Sage Supported |
| 68 | |
| 69 | The current Models available provided by Ask Sage are: |
| 70 | |
| 71 | | Index | Model | Added | |
| 72 | | ----- | --------------------- | ----- | |
| 73 | | 1 | GPT-4 Gov | ✅ | |
| 74 | | 2 | GPT-4o Gov | ✅ | |
| 75 | | 3 | GPT-4o-mini Gov | ✅ | |
| 76 | | 4 | GPT-3.5-Turbo Gov | ✅ | |
| 77 | | 5 | GPT-4o | ✅ | |
| 78 | | 6 | GPT-4o-mini | ✅ | |
| 79 | | 7 | GPT-4 | ✅ | |
| 80 | | 8 | GPT-4-32K | ✅ | |
| 81 | | 9 | GPT-o1 | ✅ | |
| 82 | | 10 | GPT-o1-mini | ✅ | |
| 83 | | 10 | GPT-o3-mini | ✅ | |
| 84 | | 11 | GPT-3.5-turbo | ✅ | |
| 85 | | 12 | Claude 3.5 Sonnet Gov | ✅ | |
| 86 | | 13 | Claude 3 Opus | ✅ | |
| 87 | | 14 | Claude 3 Sonet | ✅ | |
| 88 | | 15 | Claude 3.5 Sonnet | ✅ | |
| 89 | | 16 | Grok (xAI) | ✅ | |
| 90 | | 17 | Groq Llama 3.3 | ✅ | |
| 91 | | 18 | Groq 70B | ✅ | |
| 92 | | 19 | Gemini Pro | ✅ | |
| 93 | | 20 | llama 3 | ✅ | |
| 94 | | 21 | Mistral Large | ✅ | |