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

PaLMLink

Guides

  • PaLMLink

Tech Notes

  • Configuring PaLM API Credentials

Symbols

  • ConformResponse
  • PaLMEmbedText
  • PaLMGeneratedMessageObject
  • PaLMGeneratedTextObject
  • PaLMGenerateMessage
  • PaLMGenerateText
  • PaLMModels
  • PaLMRequest
  • $PaLMAPIKey
  • $PaLMAPIUser
AntonAntonov`PaLMLink`
PaLMGenerateText
​
PaLMGenerateText[str]
generate text prompted by
str
.
​
​
PaLMGenerateText[str,props]
generate text and give the corresponding properties
​
​
PaLMGenerateText[str,props,n]
return
n
answers
​
Details and Options

Examples  
(5)
Basic Examples  
(1)
Generate text:
In[1]:=
PaLMGenerateText
["Write a story about magic ice cream with at most five sentences."]
Out[1]=
Once upon a time, there was a magical ice cream that could grant wishes. One day, a little girl named Alice was eating the ice cream when she wished for a new doll. The next day, she found a beautiful doll on her doorstep. Alice was so happy that she knew the ice cream was magic.
Scope  
(1)

Options  
(3)

SeeAlso
PaLMGenerateMessage
 
▪
PaLMEmbedText
 
▪
PaLMGeneratedTextObject
RelatedGuides
▪
PaLMLink
""

© 2025 Wolfram. All rights reserved.

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