Skip to content

Commit 047eac2

Browse files
authored
Merge pull request #225 from NillionNetwork/fix/spacing
Fix/spacing
2 parents c703f53 + 0706006 commit 047eac2

7 files changed

+30
-48
lines changed

docs/build/secret-vault-quickstart.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ touch orgConfig.js
7272

7373
#### Add the demo organization configuration:
7474

75-
For quickstart purposes, we've pre-registered an org you can use. Here are the organization's credentials and cluster configuration including node urls and node did (decentralized identifiers) to paste into your `nillionOrgConfig.js` file:
75+
For quickstart purposes, we've pre-registered an org you can use. Here are the organization's credentials and cluster configuration including node urls and node did (decentralized identifiers) to paste into your `orgConfig.js` file:
7676

7777
<details>
7878

docs/build/secretLLM/usage.mdx

+16-16
Original file line numberDiff line numberDiff line change
@@ -59,39 +59,39 @@ As a fitness coach, I always recommend balance and variety in your diet. Aim to
5959
</details>
6060
</TabItem>
6161
<TabItem value="python" label="Python">
62+
6263
```python
6364
from openai import OpenAI
6465

6566
# Initialize the OpenAI client
6667

6768
client = OpenAI(
68-
base_url="https://nilai-<node>.nillion.network/v1/",
69-
api_key="YOUR_API_KEY"
69+
base_url="https://nilai-<node>.nillion.network/v1/",
70+
api_key="YOUR_API_KEY"
7071
)
7172

7273
# Send a chat completion request
7374

7475
response = client.chat.completions.create(
75-
model="meta-llama/Llama-3.1-8B-Instruct",
76-
messages=[
77-
{
78-
"role": "system",
79-
"content": "You are a helpful assistant."
80-
},
81-
{
82-
"role": "user",
83-
"content": "What is your name?"
84-
}
85-
],
86-
stream=False
76+
model="meta-llama/Llama-3.1-8B-Instruct",
77+
messages=[
78+
{
79+
"role": "system",
80+
"content": "You are a helpful assistant."
81+
},
82+
{
83+
"role": "user",
84+
"content": "What is your name?"
85+
}
86+
],
87+
stream=False
8788
)
88-
8989
````
90+
9091
</TabItem>
9192
<TabItem value="javascript" label="Next JS (API routes)">
9293
```typescript reference showGithubLink
9394
https://github.com/NillionNetwork/blind-module-examples/blob/main/nilai/secretllm_nextjs/app/api/chat/route.ts
9495
```
9596
</TabItem>
9697
</Tabs>
97-
````

docs/community-and-support.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Got a suggestion for improving the docs? Let us know by [creating a Github Issue
2525

2626
### Grants
2727

28-
Are you building a startup using Nillion technology? Apply to the [Nucleus Builders Program](/nucleus-builders-program).
28+
Are you building a startup using Nillion technology? Apply to the [Nucleus Builders Program](https://nucleus.nillion.com/).
2929

3030
### Status Page
3131

docs/guide-nillion-wallet.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Create a Nillion wallet to connect to the Nillion Network and access your NIL.
1313

1414
This guide walks you through downloading a wallet, setting up your wallet, and adding the Nillion Network.
1515

16+
1617
### 1. Download Keplr
1718

1819
Visit the [Keplr download page](https://www.keplr.app/download) and select your browser to download the Keplr browser extension. We recommend Chrome.
@@ -53,9 +54,13 @@ Verify your recovery phrase by filling in ordered words. Then name your wallet a
5354

5455
### 7. Add Nillion Network
5556

57+
:::info
58+
When adding the Nillion Network to Keplr, you’ll see “Nillion Testnet” rather than Mainnet. This is expected. The same wallet address you create now will be usable when Mainnet launches.
59+
:::
60+
5661
1. Toggle open the "Extensions" button in your browser and pin the Keplr extension so that the browser has access to it.
5762

58-
2. Open the [Keplr Chains page](https://chains.keplr.app/) and search for "Nillion." Click "Add to Keplr."
63+
2. Open the [Keplr Chains page](https://chains.keplr.app/) and search for "Nillion Testnet" Click "Add to Keplr."
5964

6065
3. "Approve" adding the Nillion within Keplr.
6166

docs/nucleus-builders-program.md

-27
This file was deleted.

sidebar-community.js

+5-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,11 @@ const communitySidebar = [
66
defaultStyle: true,
77
},
88
'community-and-support',
9-
'nucleus-builders-program',
9+
{
10+
type: 'link',
11+
label: 'Nucleus Builders Program',
12+
href: 'https://nucleus.nillion.com/',
13+
},
1014
{
1115
type: 'category',
1216
label: 'nilChain Guides',

static/llm.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ Nillion combines multiple cryptographic techniques to create a platform where da
8383
## Community
8484

8585
- [Community and Support](https://docs.nillion.com/community-and-support): How to get help and connect with the community
86-
- [Nucleus Builders Program](https://docs.nillion.com/nucleus-builders-program): Information about the developer program
86+
- [Nucleus Builders Program](https://nucleus.nillion.com): Information about the developer program for grants and support
8787
- [nilChain Guides](https://docs.nillion.com/guide-nillion-wallet): Guides for interacting with nilChain
8888
- [Status Page](https://status.nillion.com/): Current status of Nillion services
8989

0 commit comments

Comments
 (0)