We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4727e57 commit e9bb5afCopy full SHA for e9bb5af
apps/portal/src/app/nebula/plugins/openAI/page.mdx
@@ -1,4 +1,6 @@
1
-# Chat Completions API
+# OpenAI
2
+
3
+### Chat Completions API
4
5
Compatible with OpenAI’s Chat Completion API to process chat history and generate context-aware responses.
6
@@ -12,14 +14,14 @@ client = OpenAI(
12
14
chat_completion = client.chat.completions.create(
13
15
model="t0",
16
messages=[{"role": "user", "content": "Hello Nebula!"}],
- stream=False,
17
+ stream=False,git
18
extra_body={ "context": { "wallet_address": "0x..." }}
19
)
20
21
print(chat_completion)
22
```
23
-**Models API**
24
+### Models API
25
26
Compatible with OpenAI’s Models API to list out models used.
27
0 commit comments