You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- [x] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
Minimal steps to reproduce
Any log messages given by the failure
WARNING:semantic_kernel.template_engine.template_tokenizer:Failed to tokenize code block: .Prompt. A FunctionIdBlock is composed of either a plugin name and functionname separated by a single dot, or just a functionname. Both plugin and functionnames can only contain letters, numbers and underscores. The content provided was: .Prompt
ERROR:co_op_translator.translators.markdown_translator:Error in prompt 1/1 -
Expected/desired behavior
The translation process should successfully handle variables like .Prompt without causing tokenization errors, and all documents should be translated correctly.
OS and Version?
Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)
azd version?
run azd version and copy paste here.
Versions
co_op_translator 0.2.1
Mention any other details that might be useful
This issue occurs because the {{}} curly braces in the document being translated are recognized as variables by the Semantic Kernel. When the template contains these braces, the Semantic Kernel tries to interpret them as variables, causing errors if they don't match any defined function or variable.
To resolve this issue, ensure that any {{}} braces in the documents are either escaped or replaced with alternative text before translation, and restored afterward if needed.
Thanks! We'll be in touch soon.
The text was updated successfully, but these errors were encountered:
This issue is for a: (mark with an
x
)Minimal steps to reproduce
Any log messages given by the failure
Expected/desired behavior
OS and Version?
azd version?
Versions
Mention any other details that might be useful
To resolve this issue, ensure that any {{}} braces in the documents are either escaped or replaced with alternative text before translation, and restored afterward if needed.
The text was updated successfully, but these errors were encountered: