Skip to content

Commit e9bb5af

Browse files
committed
fixed headers
1 parent 4727e57 commit e9bb5af

File tree

1 file changed

+5
-3
lines changed
  • apps/portal/src/app/nebula/plugins/openAI

1 file changed

+5
-3
lines changed

apps/portal/src/app/nebula/plugins/openAI/page.mdx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
# Chat Completions API
1+
# OpenAI
2+
3+
### Chat Completions API
24

35
Compatible with OpenAI’s Chat Completion API to process chat history and generate context-aware responses.
46

@@ -12,14 +14,14 @@ client = OpenAI(
1214
chat_completion = client.chat.completions.create(
1315
model="t0",
1416
messages=[{"role": "user", "content": "Hello Nebula!"}],
15-
stream=False,
17+
stream=False,git
1618
extra_body={ "context": { "wallet_address": "0x..." }}
1719
)
1820

1921
print(chat_completion)
2022
```
2123

22-
**Models API**
24+
### Models API
2325

2426
Compatible with OpenAI’s Models API to list out models used.
2527

0 commit comments

Comments
 (0)