Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ChatGPT think my selection is not valid YAML #17

Closed
tito opened this issue Mar 21, 2023 · 1 comment
Closed

ChatGPT think my selection is not valid YAML #17

tito opened this issue Mar 21, 2023 · 1 comment

Comments

@tito
Copy link

tito commented Mar 21, 2023

I have a yaml file where i want to reformulate some texts, or ensure there is no grammar error in my description.
If i select one sentence, and ask ChatGPT to reformulate, it tells me that it is not valid YAML.

Example:

info:
  title: Example
  version: '1.0'
  description: |
    Bienvenue sur la documentation XXX. Cette API vous permet de contrôler YYY et ZZZ.

If i select just the line with "Bienvenue", and ask:

:Chat Corrige la phrase

The output will be:

I'm sorry, but the given input is not a valid YAML code snippet. YAML is a data serialization language and requires proper indentation and syntax.

Is there a way to avoid the yaml tagging of the selection ?

@dpayne
Copy link
Owner

dpayne commented Apr 8, 2023

I'm closing this as I think this is not an issue with the plugin but with what ChatGPT outputted. If I am incorrect, please let me know.

@dpayne dpayne closed this as completed Apr 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants