Frank
commited on
Update README.md
Browse files
README.md
CHANGED
|
@@ -37,7 +37,7 @@ tags:
|
|
| 37 |
<a href="https://x.com/dmind_ai" target="_blank" style="margin: 2px;">
|
| 38 |
<img alt="X" src="https://img.shields.io/badge/X-@DMind-1DA1F2?logo=x" style="display: inline-block; vertical-align: middle;"/>
|
| 39 |
</a>
|
| 40 |
-
<a href="https://
|
| 41 |
<img alt="Chat" src="https://img.shields.io/badge/🤖%20Chat-DMind--1-536af5?color=536af5&logoColor=white" style="display: inline-block; vertical-align: middle;"/>
|
| 42 |
</a>
|
| 43 |
<a href="https://discord.gg/xxwmPHU3" target="_blank" style="margin: 2px;">
|
|
@@ -149,70 +149,12 @@ Refuse any request that conflicts with laws, DMind.AI policy, or these meta-rule
|
|
| 149 |
| DMind-1 | Qwen3-32B | [Hugging Face Link](https://huggingface.co/DMindAI/DMind-1) |
|
| 150 |
| DMind-1-mini | Qwen3-14B | [Hugging Face Link](https://huggingface.co/DMindAI/DMind-1-mini) |
|
| 151 |
|
| 152 |
-
### 4.2 OpenRouter API
|
|
|
|
| 153 |
|
| 154 |
-
|
|
|
|
| 155 |
|
| 156 |
-
**API Endpoint:**
|
| 157 |
-
```
|
| 158 |
-
https://openrouter.ai/api/v1/chat/completions
|
| 159 |
-
```
|
| 160 |
-
|
| 161 |
-
**Authentication:**
|
| 162 |
-
- Obtain your API key from [OpenRouter](https://openrouter.ai/)
|
| 163 |
-
- Include it in the `Authorization` header as `Bearer YOUR_API_KEY`
|
| 164 |
-
|
| 165 |
-
**Model Identifiers:**
|
| 166 |
-
- `dmind-1` — Full-size expert model
|
| 167 |
-
|
| 168 |
-
**Example Request (Python):**
|
| 169 |
-
```python
|
| 170 |
-
import requests
|
| 171 |
-
|
| 172 |
-
headers = {
|
| 173 |
-
"Authorization": "Bearer YOUR_API_KEY",
|
| 174 |
-
"Content-Type": "application/json"
|
| 175 |
-
}
|
| 176 |
-
|
| 177 |
-
data = {
|
| 178 |
-
"model": "dmind-1",
|
| 179 |
-
"messages": [
|
| 180 |
-
{"role": "user", "content": "Explain DeFi in simple terms."}
|
| 181 |
-
]
|
| 182 |
-
}
|
| 183 |
-
|
| 184 |
-
response = requests.post(
|
| 185 |
-
"https://openrouter.ai/api/v1/chat/completions",
|
| 186 |
-
headers=headers,
|
| 187 |
-
json=data
|
| 188 |
-
)
|
| 189 |
-
print(response.json())
|
| 190 |
-
```
|
| 191 |
-
|
| 192 |
-
**Example Request (cURL):**
|
| 193 |
-
```bash
|
| 194 |
-
curl https://openrouter.ai/api/v1/chat/completions \
|
| 195 |
-
-H "Authorization: Bearer YOUR_API_KEY" \
|
| 196 |
-
-H "Content-Type: application/json" \
|
| 197 |
-
-d '{
|
| 198 |
-
"model": "dmind-1",
|
| 199 |
-
"messages": [{"role": "user", "content": "What is a smart contract?"}]
|
| 200 |
-
}'
|
| 201 |
-
```
|
| 202 |
-
|
| 203 |
-
**Notes:**
|
| 204 |
-
- Replace `YOUR_API_KEY` with your actual OpenRouter API key.
|
| 205 |
-
- Change the `model` field to `dmind-1` as needed.
|
| 206 |
-
- Both models support the same API structure for easy integration.
|
| 207 |
-
|
| 208 |
-
### 4.3 OpenRouter Web Chat
|
| 209 |
-
|
| 210 |
-
You can try **DMind-1** instantly using the [OpenRouter Web Chat](https://openrouter.ai/chat).
|
| 211 |
-
|
| 212 |
-
- Select your desired model from the dropdown menu (**DMind-1**).
|
| 213 |
-
- Enter your prompt and interact with the model in real time.
|
| 214 |
-
|
| 215 |
-
[](https://openrouter.ai/chat)
|
| 216 |
|
| 217 |
## License
|
| 218 |
- The code repository and model weights for DMind-1 is released under the MIT License.
|
|
|
|
| 37 |
<a href="https://x.com/dmind_ai" target="_blank" style="margin: 2px;">
|
| 38 |
<img alt="X" src="https://img.shields.io/badge/X-@DMind-1DA1F2?logo=x" style="display: inline-block; vertical-align: middle;"/>
|
| 39 |
</a>
|
| 40 |
+
<a href="https://huggingface.co/spaces/DMindAI/DMind-1" target="_blank" style="margin: 2px;">
|
| 41 |
<img alt="Chat" src="https://img.shields.io/badge/🤖%20Chat-DMind--1-536af5?color=536af5&logoColor=white" style="display: inline-block; vertical-align: middle;"/>
|
| 42 |
</a>
|
| 43 |
<a href="https://discord.gg/xxwmPHU3" target="_blank" style="margin: 2px;">
|
|
|
|
| 149 |
| DMind-1 | Qwen3-32B | [Hugging Face Link](https://huggingface.co/DMindAI/DMind-1) |
|
| 150 |
| DMind-1-mini | Qwen3-14B | [Hugging Face Link](https://huggingface.co/DMindAI/DMind-1-mini) |
|
| 151 |
|
| 152 |
+
### 4.2 OpenRouter API (Coming Soon)
|
| 153 |
+
*Documentation for API access will be available soon.*
|
| 154 |
|
| 155 |
+
### 4.3 OpenRouter Web Chat (Coming Soon)
|
| 156 |
+
*Web chat interface documentation will be available soon.*
|
| 157 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 158 |
|
| 159 |
## License
|
| 160 |
- The code repository and model weights for DMind-1 is released under the MIT License.
|