轉換

在這個筆記本中,我們將探討如何使用大型語言模型進行文本轉換任務,例如語言翻譯、拼寫和語法檢查、調整語氣和格式轉換。

文法檢查

text= [
  "The girl with the black and white puppies have a ball.",# The girl has a ball."Yolanda has her notebook.",# ok"Its going to be a long day. Does the car need it’s oil changed?",# Homonyms"Their goes my freedom. There going to bring they’re suitcases.",# Homonyms"Your going to need you’re notebook.",# Homonyms"That medicine effects my ability to sleep. Have you heard of the butterfly affect?",# Homonyms"This phrase is to cherck chatGPT for speling abilitty"# spelling]
for tin text:
    prompt= f"""Proofread and correct the following text
    and rewrite the corrected version. If you don't find
    and errors, just say "No errors found". Don't use
    any punctuation around the text:
    ```{t}```"""

Untitled

prompt= f"""
proofread and correct this review. Make it more compelling.
Ensure it follows APA style guide and targets an advanced reader.
Output in markdown format.
Text: ```{text}```
"""