Can anyone recommend an AI model for generating text from a set of predefined words that can be used on a webpage? For example, given the words “Tropical forest, Wind, Dryad” it should create a 20-word sentence like: “The tropical forest swayed under the gentle wind, where a mysterious dryad whispered secrets to the ancient trees surrounding her.” Any suggestions?
1 Like
Hi @artstyleg !
If you’re looking for something lighter and easier to implement directly on the webpage, you might want to consider using a language model API (like OpenAI’s or Hugging Face’s inference API) to generate the text on the fly.
You should use langchain with good prompts. If you used good prompts than you get a good result.
Hope this help!
1 Like