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

Guides

  • LLMFunctions

Symbols

  • ChatEvaluate
  • ChatObject
  • GenerateLLMToolResponse
  • ImageSynthesize
  • LLMConfiguration
  • LLMEvaluator
  • LLMExampleFunction
  • LLMFunction
  • LLMPrompt
  • LLMResourceFunction
  • LLMSynthesize
  • LLMTool
  • LLMToolRequest
  • LLMToolResponse
  • $LLMEvaluator
[
EXPERIMENTAL
]
ChatObject
​
ChatObject[]
represents an ongoing conversation with a remote service.
​
​
ChatObject[init]
creates a new chat using the initialization parameters
init
.
​
​
ChatObject[…][prop]
extracts the property
prop
from the object.
​
Details

Examples  
(5)
Basic Examples  
(1)
Create a new chat:
In[5]:=
chat=
ChatObject
[]
Out[5]=
ChatObject

Add a message and a response to the conversation:
In[6]:=
chat=
ChatEvaluate
[chat,"What's the tallest mountain?"]
Out[6]=
ChatObject
What's the tallest mountain?
The tallest mountain is Mount Everest, which is located in the Himalayas and
measures 29,032 feet (8,849 meters) tall.

Get a list of all the messages:
In[7]:=
chat["Messages"]
Out[7]=
RoleUser,ContentWhat's the tallest mountain?,Timestamp
Wed 17 May 2023 10:31:43GMT+2
,Annotations,RoleAssistant,ContentThe tallest mountain is Mount Everest, which is located in the Himalayas and measures 29,032 feet (8,849 meters) tall.,Timestamp
Wed 17 May 2023 10:31:43GMT+2
,Annotations
Scope  
(3)

Options  
(1)

SeeAlso
ChatEvaluate
 
▪
LLMSynthesize
 
▪
FindTextualAnswer
 
▪
TextContents
""

© 2025 Wolfram. All rights reserved.

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