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

LLMFunctions

Symbols

  • ChatEvaluate
  • ChatObject
  • CreateChat
  • ImageSynthesize
  • TextSynthesize
[
EXPERIMENTAL
]
ChatObject
​
ChatObject[…]
represents an ongoing conversation with a remote service.
​
​
ChatObject[…][prop]
extracts the property
prop
from the object.
​
Details

Examples  
(1)
Basic Examples  
(1)
Create a new chat:
In[1]:=
chat=
CreateChat
[]
Out[1]=
ChatObject

Add a message and a response to the conversation:
In[2]:=
chat=
ChatEvaluate
[chat,"What's the tallest mountain?"]
Out[2]=
ChatObject
What's the
tallest mou
ntain?
​
Mount Everest
is the tallest
mountain,
with a
height of
29,029 feet
(8,848
meters)
above sea
level.
​

Get a list of all the messages:
In[3]:=
chat["Messages"]
Out[3]=
RoleUser,ContentWhat's the tallest mountain?,Timestamp
Tue 18 Apr 2023 16:57:23GMT+2
,RoleAssistant,ContentMount Everest is the tallest mountain, with a height of 29,029 feet (8,848 meters) above sea level.,Timestamp
Tue 18 Apr 2023 16:57:23GMT+2

See Also
FindTextualAnswer
 
▪
TextContents
History
Introduced in 2023
 (13.3)
""

© 2025 Wolfram. All rights reserved.

  • Legal & Privacy Policy
  • Contact Us
  • WolframAlpha.com
  • WolframCloud.com