doc: demo credentials updated
This commit is contained in:
parent
93adb6c45c
commit
1fad4f15f0
2 changed files with 39 additions and 0 deletions
11
README.md
11
README.md
|
|
@ -10,6 +10,17 @@
|
||||||
|
|
||||||
## 🚀 Quick Start
|
## 🚀 Quick Start
|
||||||
|
|
||||||
|
### 0. Try It Now (Demo Credentials)
|
||||||
|
|
||||||
|
No account needed — use these public demo credentials to test immediately:
|
||||||
|
|
||||||
|
| | |
|
||||||
|
|---|---|
|
||||||
|
| **API key** | `NOMYO_AI_E2EE_INFERENCE` |
|
||||||
|
| **Model** | `Qwen/Qwen3-0.6B` |
|
||||||
|
|
||||||
|
> **Note:** The demo endpoint uses a fixed 256-token context window and is intended for evaluation only.
|
||||||
|
|
||||||
### 1. Install methods
|
### 1. Install methods
|
||||||
|
|
||||||
via pip (recommended):
|
via pip (recommended):
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,33 @@
|
||||||
# Getting Started
|
# Getting Started
|
||||||
|
|
||||||
|
## Try It Now (Demo Credentials)
|
||||||
|
|
||||||
|
You can test the client immediately using these public demo credentials — no sign-up required:
|
||||||
|
|
||||||
|
| | |
|
||||||
|
|---|---|
|
||||||
|
| **API key** | `NOMYO_AI_E2EE_INFERENCE` |
|
||||||
|
| **Model** | `Qwen/Qwen3-0.6B` |
|
||||||
|
|
||||||
|
> **Note:** The demo endpoint uses a fixed 256-token context window and is intended for evaluation only.
|
||||||
|
|
||||||
|
```python
|
||||||
|
import asyncio
|
||||||
|
from nomyo import SecureChatCompletion
|
||||||
|
|
||||||
|
async def main():
|
||||||
|
client = SecureChatCompletion(api_key="NOMYO_AI_E2EE_INFERENCE")
|
||||||
|
|
||||||
|
response = await client.create(
|
||||||
|
model="Qwen/Qwen3-0.6B",
|
||||||
|
messages=[{"role": "user", "content": "Hello!"}]
|
||||||
|
)
|
||||||
|
|
||||||
|
print(response['choices'][0]['message']['content'])
|
||||||
|
|
||||||
|
asyncio.run(main())
|
||||||
|
```
|
||||||
|
|
||||||
## Basic Usage
|
## Basic Usage
|
||||||
|
|
||||||
The NOMYO client provides end-to-end encryption (E2E) for all communications between your application and the NOMYO inference endpoints. This ensures that your prompts and responses are protected from unauthorized access or interception.
|
The NOMYO client provides end-to-end encryption (E2E) for all communications between your application and the NOMYO inference endpoints. This ensures that your prompts and responses are protected from unauthorized access or interception.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue