Can I use Thai language in the prompt of Google generativeai with python in generate_text function?
Thai language is one of the available models in Generative AI. Please refer to this documentation.
I can use Thai language to ask the Bard AI if the answer is numbers. There were no problems with the results. But if the answer must be in Thai, I will encounter this error.
"google.api_core.exceptions.InvalidArgument: 400 The requested language is not supported by models/text-bison-001"
Do you have any suggestions for using Python to deal with this problem?
User | Count |
---|---|
2 | |
2 | |
1 | |
1 | |
1 |