Wolfram Language Paclet Repository

Community-contributed installable additions to the Wolfram Language

Primary Navigation

    • 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
    • Get Started
    • Download Definition Notebook
  • Learn More about Wolfram Language

OpenAILink

Guides

  • OpenAILink

Tech Notes

  • Configuring OpenAI Credentials

Symbols

  • OpenAICompletion
  • OpenAICreateImage
  • OpenAIEmbedding
  • $OpenAIKey
  • OpenAIModels
  • $OpenAIKey
  • $OpenAIUser
ChristopherWolfram`OpenAILink`
OpenAIEmbedding
​
OpenAIEmbedding[str]
gets a vector embedding of the text
str
.
​
​
OpenAIEmbedding[str,prop]
returns the specified property of the results.
​
​
OpenAIEmbedding[str,{
prop
1
,
prop
2
,…}]
returns a list of properties.
​
Details and Options

Examples  
(1)
Basic Examples  
(1)
Extract an embedding of a string as a vector:
In[1]:=
Short@
OpenAIEmbedding
["This is a test"]
Out[1]//Short=
{-0.00812681,-0.00363063,1532,0.0146415,0.002258}
SeeAlso
FeatureExtract
 
▪
DimensionReduce
 
▪
OpenAIModels
RelatedGuides
▪
OpenAILink
""

Powered by the Wolfram Cloud More about Wolfram Technology

© 2022 Wolfram Research, Inc. All rights reserved. Terms of Use Privacy Contact Us