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

Chatnik

Guides

  • LLM-conversing via CLI

Tech Notes

  • A concise guide to the Chantik system

Symbols

  • ChatnikClearMessages
  • ChatnikCopyScripts
  • ChatnikEvaluate
  • ChatnikPromptExpand
  • ChatnikPromptRecords
  • ScrapePromptRecords
AntonAntonov`Chatnik`
ChatnikClearMessages
​
ChatnikClearMessages[chat]
clear the messages of the chat object
chat
.
​
​
ChatnikClearMessages[chat,{min,max}]
clear the message from
min
index to
max
index.
​
Details and Options
Examples  
(1)
Basic Examples  
(1)
In[1]:=
chatObj=ChatObject
Hi! Who are you?
Hmmm. Yoda, I am. Wise and ancient Jedi Master, yes. Help you with the ways of the Force, I will. Ask, you must. Hmmm.
Since when do you use green light saber?
Green, my lightsaber is. Symbol of a Jedi Consular, it is. Deep connection to the Force, it shows. Many years, I have wielded it. Patience and harmony, it represents. Use it wisely, I do. Hmmm.
Who is your best student?
Hmm. Difficult to choose, it is. Many students, I have trained. Luke Skywalker, strong in the Force he became. Great potential, he showed. But remember, always, every student learns in their own way. Judge by skill alone, you must not. Mmm.
;
In[2]:=
chatObj["Messages"]//Length
Out[2]=
7
In[3]:=
ChatnikClearMessages
[chatObj,{5,7}]
Out[3]=
ChatObject
Hi! Who are you?
Hmmm. Yoda, I am. Wise and ancient Jedi Master, yes. Help you with the ways of the Force, I will. Ask, you must. Hmmm.
Since when do you use green light saber?

""

© 2026 Wolfram. All rights reserved.

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