Generative Artificial Intelligence


[Up] [Top]

Documentation for package ‘GenAI’ version 0.1.15

Help Pages

available.models Get supported Generative AI models
chat Initiate a conversation with a Generative AI model using a prompt
chat.convert Convert chat history from one Generative AI model to another
chat.edit Modify a message in the chat history of a Generative AI model and generate a new response based on a prompt
chat.recent Retrieve the latest message from the chat history of a Generative AI model
chat.save Save the chat history of a Generative AI model
chat.setup Generate an empty chat history list for a Generative AI model
connect.genai Set up and connect to a Generative AI model
txt Generate text using the Generative AI model based on a prompt
txt.explain.code Generate code explanation using the Generative AI model based on a prompt
txt.fix.grammar Generate correct text using the Generative AI model based on a prompt
txt.image Generate text using the Generative AI model based on a prompt and an image
txt.optimize.code Generate optimized code using the Generative AI model based on a prompt