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

PaLMMode

Guides

  • PaLMMode

Symbols

  • PaLMInputExecute
  • PaLMInputExecuteToChat
  • PaLMInputExecuteToText
  • PaLMModeCellIcon
  • PaLMMode
  • PaLMModeNotebookStyle
AntonAntonov`PaLMMode`
PaLMInputExecuteToChat
​
PaLMInputExecuteToChat[str]
message generation with PaLM API using the prompt
str
.
​
Details and Options

Examples  
(6)
Basic Examples  
(1)
Generate message with PaLM API:
In[1]:=
PaLMInputExecuteToChat
["What is the distance to the sun?"]
Out[1]=
The average distance from the Earth to the Sun is 149.60 million kilometers (92.96 million miles). This distance is called an astronomical unit (AU). It is used to measure the distances to other planets and stars.​​​The Earth's orbit around the Sun is not a perfect circle. It is actually an ellipse, which means that the Earth's distance from the Sun varies throughout the year. The Earth's closest approach to the Sun is called perihelion, which occurs in January. The Earth's farthest distance from the Sun is called aphelion, which occurs in July.​​​The Earth's orbit around the Sun takes 365.256 days to complete. This is why we have leap years every four years.​​​The Sun is a star, which is a giant ball of hot gas. The Sun is made up of hydrogen and helium. The Sun's gravity holds the Earth in orbit around it. The Sun's heat and light make life on Earth possible.
Options  
(4)

Properties & Relations  
(1)

SeeAlso
PaLMMode
 
▪
PaLMInputExecuteToText
RelatedGuides
▪
PaLMMode
""

© 2025 Wolfram. All rights reserved.

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