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
"as-is" seems a bit ambiguous. There are likely a large variety of formats we don't support, but as-is implies that the LLM will generate basically any format that the developer desires.
Consider the following example:
consttextContent='{ description: "Some long piece of text embedded in json."}';constresult=awaitrewriter.rewrite(textContent,{context: "Avoid any toxic language and be as constructive as possible.",format: "as-is"});
In the above example, I provide a json string to the rewrite function and "as-is" implies that the LLM would return a JSON format since that is what I inputed but in reality, the LLM not might do that. It seems like "as-is" should be renamed something like "undefined" since there is an unlimited number of input formats that would break "as-is" format.
The text was updated successfully, but these errors were encountered:
Hmm. I think it should be possible to instruct the LLM (either via prompt engineering or via fine-tuning) to please produce output in the same format as the input?
I agree that any format guidance is fallible, but I'm not sure this particular format guidance is worse than the other ones.
If the LLM is unable to reproduce the input format, then it would be better if it failed, instead of producing something incorrect.
"as-is" seems a bit ambiguous. There are likely a large variety of formats we don't support, but
as-is
implies that the LLM will generate basically any format that the developer desires.Consider the following example:
In the above example, I provide a json string to the rewrite function and "as-is" implies that the LLM would return a JSON format since that is what I inputed but in reality, the LLM not might do that. It seems like "as-is" should be renamed something like "undefined" since there is an unlimited number of input formats that would break "as-is" format.
The text was updated successfully, but these errors were encountered: