Wolfram Language
Paclet Repository
Community-contributed installable additions to the Wolfram Language
Primary Navigation
Categories
Cloud & Deployment
Core Language & Structure
Data Manipulation & Analysis
Engineering Data & Computation
External Interfaces & Connections
Financial Data & Computation
Geographic Data & Computation
Geometry
Graphs & Networks
Higher Mathematical Computation
Images
Knowledge Representation & Natural Language
Machine Learning
Notebook Documents & Presentation
Scientific and Medical Data & Computation
Social, Cultural & Linguistic Data
Strings & Text
Symbolic & Numeric Computation
System Operation & Setup
Time-Related Computation
User Interface Construction
Visualization & Graphics
Random Paclet
Alphabetical List
Using Paclets
Create a Paclet
Get Started
Download Definition Notebook
Learn More about
Wolfram Language
OpenAILink
Guides
OpenAILink
Tech Notes
Configuring OpenAI Credentials
Symbols
OpenAIChatComplete
OpenAIChatCompletionObject
OpenAIChatMessageObject
OpenAICompletion
OpenAICreateImage
OpenAIEmbedding
OpenAIGenerateImage
$OpenAIKey
OpenAIModels
OpenAITextComplete
OpenAITextCompletionObject
$OpenAIKey
$OpenAIUser
ChristopherWolfram`OpenAILink`
O
p
e
n
A
I
E
m
b
e
d
d
i
n
g
O
p
e
n
A
I
E
m
b
e
d
d
i
n
g
[
s
t
r
]
g
e
t
s
a
v
e
c
t
o
r
e
m
b
e
d
d
i
n
g
o
f
t
h
e
t
e
x
t
s
t
r
.
O
p
e
n
A
I
E
m
b
e
d
d
i
n
g
[
s
t
r
,
p
r
o
p
]
r
e
t
u
r
n
s
t
h
e
s
p
e
c
i
f
i
e
d
p
r
o
p
e
r
t
y
o
f
t
h
e
r
e
s
u
l
t
s
.
O
p
e
n
A
I
E
m
b
e
d
d
i
n
g
[
s
t
r
,
{
p
r
o
p
1
,
p
r
o
p
2
,
…
}
]
r
e
t
u
r
n
s
a
l
i
s
t
o
f
p
r
o
p
e
r
t
i
e
s
.
D
e
t
a
i
l
s
a
n
d
O
p
t
i
o
n
s
Examples
(
1
)
Basic Examples
(
1
)
Extract an embedding of a string as a vector:
I
n
[
1
]
:
=
S
h
o
r
t
@
O
p
e
n
A
I
E
m
b
e
d
d
i
n
g
[
"
T
h
i
s
i
s
a
t
e
s
t
"
]
O
u
t
[
1
]
/
/
S
h
o
r
t
=
{
-
0
.
0
0
8
1
2
6
8
1
,
-
0
.
0
0
3
6
3
0
6
3
,
1
5
3
2
,
0
.
0
1
4
6
4
1
5
,
0
.
0
0
2
2
5
8
}
S
e
e
A
l
s
o
F
e
a
t
u
r
e
E
x
t
r
a
c
t
▪
D
i
m
e
n
s
i
o
n
R
e
d
u
c
e
▪
O
p
e
n
A
I
M
o
d
e
l
s
R
e
l
a
t
e
d
G
u
i
d
e
s
▪
O
p
e
n
A
I
L
i
n
k
"
"