:: เครื่องมือที่มีประสิทธิภาพในการป้อนเนื้อหายาวไปยัง chatgpt ::
LongChatgpt เป็นเครื่องมือในการป้อน เนื้อหายาวไปยัง ChatGPT โปรดทราบว่าที่เก็บนี้เป็นที่เก็บของ Papermgpt หากคุณต้องการทำงานเช่นเดียวกับ PapersumGPT ให้ใช้ initial prompt ที่มีชื่อว่า Abbreviator และ final prompt ที่มีชื่อว่า Paper-abbreviation
( พรอมต์เริ่มต้นและสุดท้าย คืออะไรดู (2) เรียกใช้
longchatgptเพื่อโยนเนื้อหายาวไปยัง chatgpt)
ข้อควรระวัง 1: สำหรับผู้ใช้ฟรี chatgpt!
UPDATE: การแปลง PDF ฟังก์ชั่นการฟื้นฟู!
วิธีการติดตั้ง
การใช้งาน
chatgpt_wrapper ก่อนใช้ longchatgptlongchatgpt เพื่อโยนเนื้อหาที่ยาวไปยัง chatgptการบริจาค
การพึ่งพาอาศัยกัน
ใบอนุญาต
[2023-04-04 อัปเดต]
หลังจากที่ฉันทดสอบกับหลายบัญชีกับ ChatGPT ฉันพบว่ามี ความแตกต่างอย่างมีนัยสำคัญในประสิทธิภาพของ ChatGPT ขึ้นอยู่กับว่าบัญชีเป็นผู้ใช้ฟรีหรือผู้ใช้ที่ชำระเงิน ( ChatGPT Plus )
หากคุณเป็นผู้ใช้ฟรีของ CHATGPT และคุณมีกระดาษยาวที่จะสรุปฉันขอแนะนำให้คุณ (1) อัพเกรดบัญชีของคุณเป็น Chatgpt Plus หรือ (2) ทำซ้ำกระบวนการป้อนข้อมูลหลายครั้งเพื่อให้ได้ผลลัพธ์ที่ดีขึ้น
น่าเสียดายที่ CHATGPT เวอร์ชันฟรีไม่สามารถเข้าใจและเก็บบริบทที่ยาวนานของข้อความอินพุตซึ่งนำไปสู่ประสิทธิภาพที่ไม่ดี
[2023-04-11 อัปเดต]
ข่าวดี! ฉันได้ฟื้นฟูฟังก์ชั่นการแปลง PDF โดยใช้ PyTesseract ตอนนี้เครื่องมือนี้มีความสามารถในการแปลงอินพุต PDF เป็นรูปแบบ markdown ที่มีรูปแบบที่ดีซึ่งให้ผลลัพธ์ที่ดีกว่าด้วย ChatGPT
ในการใช้คุณสมบัตินี้เพียงจัดเตรียมไฟล์ PDF ของคุณเป็นอินพุตและเครื่องมือจะแปลงเป็นรูปแบบการทำเครื่องหมายที่ ChatGPT สามารถประมวลผลได้อย่างมีประสิทธิภาพ
โปรดทราบว่าคุณภาพของการแปลงอาจขึ้นอยู่กับความชัดเจนและการจัดรูปแบบของ PDF อินพุต อย่างไรก็ตามโซลูชันนี้ควรเป็นการปรับปรุงที่สำคัญมากกว่าการคัดลอกด้วยตนเองและจะช่วยให้คุณประหยัดเวลาและความพยายาม
อย่าลังเลที่จะลองใช้ฟังก์ชั่นการแปลง PDF ที่อัปเดตและเพลิดเพลินไปกับประสบการณ์ที่ได้รับการปรับปรุงด้วย ChatGPT
หากคุณใช้ Mac คุณสามารถข้าม (0) สำหรับขั้นตอนผู้ใช้ Windows
(0) สำหรับผู้ใช้ Windows (ครั้งแรกเท่านั้น!)
เนื่องจากไม่มีไบนารีที่สร้างไว้ล่วงหน้าสำหรับ Windows ให้ทำตามคำแนะนำด้านล่างเพื่อติดตั้ง LongChatgpt บน Windows
ในแท็บการค้นหาให้พิมพ์
Turn Windows features On (Windows 기능 켜기/끄기 in Korean)จากนั้นทำเครื่องหมายที่กล่องWindows Subsystem for Linuxถัดไปรีบูตคอมพิวเตอร์ของคุณ
ตอนนี้คุณต้องติดตั้ง Ubuntu ในคอมพิวเตอร์ในพื้นที่ของคุณ
เปิด Ubuntu และสร้างบัญชีและรหัสผ่าน UNIX ของคุณ
เพื่อความสะดวกในการใช้งานคุณควรติดตั้ง
Anacondaโดยทำตามคำสั่ง (คัดลอกและวางไว้ในเทอร์มินัลของคุณทีละคน)wget https://repo.anaconda.com/archive/Anaconda3-2019.10-Linux-x86_64.shbash Anaconda3-2019.10-Linux-x86_64.shอ่านคำแนะนำทั้งหมดด้วย ENTER และพิมพ์
yesเพื่อเห็นด้วยกับใบอนุญาตsource ~/.bashrcตอนนี้พิมพ์
conda activateในเทอร์มินัลของคุณ หากคุณเห็น
(base)ในเทอร์มินัลของคุณคุณได้ติดตั้ง Anaconda สำเร็จแล้วติดตั้ง VCXSRV ในคอมพิวเตอร์ในพื้นที่ของคุณ ดาวน์โหลดตัวติดตั้ง
VcXsrvและเรียกใช้
จากนั้นคลิกFinishถัดไปเปิด
XLaunchแล้วคลิกNextหลังจากที่คุณเปิด
XLaunchคุณควรตรวจสอบตัวเลือกต่อไปนี้:
- หลายหน้าต่าง
- ไม่เริ่มต้นลูกค้า
- ปิดใช้งานการควบคุมการเข้าถึง
เสร็จแล้ว! ตอนนี้เราไปที่เทอร์มินัลกันเถอะ
พิมพ์คำสั่งด้านล่างในเทอร์มินัลของคุณ
sudo systemd-machine-id-setupsudo dbus-uuidgen --ensurecat /etc/machine-idหากเทอร์มินัลแสดงตัวเลขและตัวอักษรยาวคุณได้ติดตั้ง
systemd-machine-id-setupสำเร็จและdbus-uuidgenได้สำเร็จในที่สุดคุณสามารถติดตั้ง
x11-appsโดยพิมพ์คำสั่งต่อไปนี้:sudo apt-get install x11-apps xfonts-base xfonts-100dpi xfonts-75dpi xfonts-cyrillicเพิ่มตัวแปรสภาพแวดล้อม
DISPLAYลงในไฟล์.bashrcของคุณโดยพิมพ์คำสั่งต่อไปนี้:echo "export DISPLAY=$(cat /etc/resolv.conf | grep nameserver | awk '{print $2; exit;}'):0.0 sudo /etc/init.d/dbus start &> /dev/null" >> ~/.bashrcsource ~/.bashrcทดสอบ X11 GUI ของคุณโดยพิมพ์คำสั่งต่อไปนี้:
xeyesหากคุณเห็นดวงตาคู่หนึ่งคุณได้ติดตั้ง X11 GUI สำเร็จแล้ว
ขั้นตอนเหล่านี้เป็นสิ่งจำเป็น (ใน Windows) สำหรับการดำเนินการ
playwrightใน Windows Terminal (ซึ่งเป็นสิ่งสำคัญเมื่อคุณกำหนดค่าบัญชีChatGPTของคุณ)
คุณสามารถติดตั้ง longchatgpt ได้โดยการโคลนนิ่งที่เก็บนี้และติดตั้งจากแหล่งที่มา:
git clone https://github.com/wjgoarxiv/LongChatGPT.git cd LongChatGPT/ และคุณต้องใช้ install_old-repo.sh เพื่อติดตั้งรุ่น chatgpt_wrapper รุ่นเก่า เวอร์ชันใหม่ของ chatgpt_wrapper ไม่สามารถใช้งานได้กับ longchatgpt เวอร์ชันปัจจุบัน (เนื่องจาก chatgpt_wrapper เวอร์ชันใหม่จะใช้ chatgpt API ไม่ใช่แบบสตรีม)
chmod +x * ./install_old-repo.shจากนั้นคุณสามารถติดตั้ง longchatgpt ได้โดยเรียกใช้คำสั่งต่อไปนี้:
pip install . chatgpt_wrapper ก่อนใช้ longchatgpt ก่อนที่จะใช้ longchatgpt คุณต้องเรียกใช้ chatgpt_wrapper เพื่อเริ่มเซิร์ฟเวอร์ chatgpt
เนื่องจากคุณกำลังใช้งาน chatgpt_wrapper ครั้งแรกในคอมพิวเตอร์ของคุณคุณอาจป้อนคำสั่งต่อไปนี้เพื่อติดตั้ง playwright :
playwright install
ทุกคืน จะถูกดาวน์โหลดและติดตั้งในเครื่องในพื้นที่ของคุณ
ถัดไปคุณสามารถใช้คำสั่งต่อไปนี้เพื่อเริ่มเซิร์ฟเวอร์:
chatgpt install เข้าสู่ระบบบัญชี CHATGPT ของคุณในเบราว์เซอร์ยาม ค่ำคืน หากคุณเห็นหน้าต่างแชทให้ปิดเบราว์เซอร์และพิมพ์ /exit เพื่อปิด chatgpt_wrapper หลังจากนั้นคุณสามารถรีสตาร์ท chatgpt_wrapper โดยเรียกใช้คำสั่งต่อไปนี้:
chatgpt นี่คือฟังก์ชั่นดั้งเดิมของ chatgpt_wrapper สำหรับข้อมูลเพิ่มเติมกรุณาเยี่ยมชมที่เก็บ GitHub chatgpt_wrapper
longchatgpt เพื่อโยนเนื้อหาที่ยาวไปยัง chatgpt หลังจากเรียกใช้ chatgpt_wrapper คุณสามารถใช้ longchatgpt เพื่อโยนเนื้อหาที่ยาวไปยัง Chatgpt คุณสามารถใช้ longchatgpt ได้โดยพิมพ์คำสั่งต่อไปนี้:
longchatgptข้อความต่อไปนี้จะแสดง:
INFO: Please type the number the file type that you want to use:
1. Markdown (`.md`) file
2. Text (`.txt`) file
:
ขึ้นอยู่กับประเภทไฟล์ของคุณคุณสามารถเลือกตัวเลือกที่เกี่ยวข้อง สำหรับการสาธิตฉันจะใช้บทความต่อไปนี้ที่ตีพิมพ์ใน HealthLine ฉันเพิ่งคัดลอกข้อความทั้งหมดและวางไว้ในไฟล์ข้อความชื่อ demoinput.txt ( โปรดทราบว่าบทความนี้เกี่ยวกับวิธีรับ ABS ? -
เนื่องจากเราเตรียมไฟล์ข้อความเราสามารถพิมพ์ 2 และกดปุ่ม Enter
------------------------------------------------
+---------------+-----------------+
| File number | File name |
|---------------+-----------------|
| 1 | ./demoinput.txt |
+---------------+-----------------+
------------------------------------------------
INFO: Please select the file number or press "0" to exit:
ฉันพิมพ์ 1 และกดปุ่ม Enter
------------------------------------------------
INFO: Do you want to turn on `verbose` mode? If you turn on `verbose` mode, the program will print the intermediate results. (y/n):
ฉันไม่ต้องการเปิดโหมด verbose ดังนั้นฉันจึงพิมพ์ n และกดปุ่ม Enter
INFO: Please type the number the ChatGPT model that you want to use:
1. default (Turbo version for ChatGPT Plus users and default version for free users)
2. gpt4 (Only available for ChatGPT Plus users; a little bit slower than the default model)
3. legacy (Only available for ChatGPT Plus users; an older version of the default model)
Note that the option 2 and 3 are NOT available for free users. If you are the free user, please select the option 1
:
ฉันพิมพ์ 1 และกดปุ่ม Enter จากนี้ไปเราต้อง มุ่งเน้นไปที่ ขั้นตอนต่อไปนี้:
----------------------------------------
INFO: Let's select the initial prompt. Choose a method to select the initial prompt.
1. Add custom initial prompt
2. Select initial prompt
3. Delete initial prompt
4. Write initial prompt here
5. Exit
Enter your choice:
ตามที่ Terminal ถามเราสามารถเลือกวิธีที่จะป้อน พรอมต์เริ่มต้น ไปยัง ChatGPT ในฐานะนักเขียนของ Awesome CHATGPT ที่ได้รับการกล่าวถึงการให้บทบาทของ ChatGPT เป็นวิธีที่ดีในการรับเอาต์พุตที่ต้องการ หนึ่งในวิธีที่ดีที่สุดใน การแฮ็ค CHATGPT คือการใช้คำหลักวิเศษ act as... ตัวอย่างเช่นหากฉันต้องการได้รับผลลัพธ์ที่ต้องการที่เกี่ยวข้องกับโภชนาการฉันสามารถสร้างพรอมต์เริ่มต้นได้ Please, act as a nutritionist... longchatgpt สามารถ จัดการพรอมต์เริ่มต้นเหล่านี้เป็นรูปแบบ JSON หากนี่เป็นครั้งแรกในการเรียกใช้ longchatgpt โปรแกรมจะสร้างไฟล์ JSON ชื่อ initial_prompts.json ในไดเรกทอรีปัจจุบัน ไฟล์ JSON ที่สร้างขึ้นใหม่ดูเหมือนดังต่อไปนี้:
{
"Role 1" : " Initial prompt 1 " ,
"Role 2" : " Initial prompt 2 " ,
"Role 3" : " Initial prompt 3 " ,
}ดังนั้นจึงเป็นเรื่องง่ายที่จะจัดการไลบรารีพรอมต์ของคุณเอง เพิ่มพรอมต์เริ่มต้นของคุณเองในไฟล์ JSON และใช้เมื่อใดก็ตามที่คุณต้องการ หากคุณมีความคิดใด ๆ ที่จะแบ่งปันพรอมต์เริ่มต้นของคุณโปรดอย่าลังเลที่จะทำการ ร้องขอการดึง ไปยังที่เก็บนี้ ฉันยินดีที่จะได้รับผลงานของคุณ
ฉันจะใช้ข้อความแจ้งเริ่มต้นเทมเพลตที่บันทึกไว้ใน initial_prompts.json เป็นตัวอย่าง ก่อนอื่นมา Enter your choice: และพิมพ์ 2 แล้วกดปุ่ม Enter
INFO: Available roles:
- Prompt-engineer
- Abbreviator
- Essay-writer
- JailbreakGPT
- Journal-reviewer
- Machine-learning-engineer
- MailGPT
- Pro-journalist
- Proof-reader
- Python-copilot
- Report-writer
INFO: Enter the role you want to use:
ฉันพิมพ์ Journal-reviewer และกดปุ่ม Enter พรอมต์เริ่มต้น Journal-reviewer มีดังนี้:
{
"Journal-reviewer": "As a journal author, I require you to review and critique my article submitted for publication. You will critically evaluate my research, approach, methodologies, and conclusions, and offer constructive criticism on their strengths and weaknesses. Please provide me with the guidelines or criteria for the review process, such as the expected word count or submission deadlines. As part of your role as a journal reviewer, you will conduct a thorough and rigorous evaluation of my article, assessing its research methodology, data analysis, and overall contribution to the field. You will also provide clear and constructive feedback on the article's strengths and weaknesses, and suggest specific areas for improvement or further development. Furthermore, I understand the importance of maintaining confidentiality and anonymity in the peer review process. You will ensure that my article is reviewed in a timely and professional manner, while maintaining strict confidentiality and adhering to the ethical standards of the journal. I'll now have to provide you with the article to review. The important thing is that you should NOT answer directly or respond to the previous message. Make sure that you have to accomplish the task when all the inputs are given. I'll let you know if all the inputs are given. Thank you.",
}ตอนนี้พรอมต์เริ่มต้นจะถูกโยนไปที่ CHATGPT ข้อความต่อไปนี้จะแสดง:
INFO: Tossing initial prompt...
INFO: ChatGPT started consuming all the input contents...
INFO: Waiting for ChatGPT to respond for 1/2 part(s)...
INFO: 1/2 part(s) tossed to ChatGPT.
INFO: Waiting for ChatGPT to respond for 2/2 part(s)...
INFO: 2/2 part(s) tossed to ChatGPT.
หลังจากการทำซ้ำโปรแกรมจะขอให้คุณป้อน final prompt
----------------------------------------
INFO: Next, let's select the final prompt. Choose a method to select the final prompt.
1. Add custom final prompt
2. Select final prompt
3. Delete final prompt
4. Write final prompt here
5. Exit
Enter your choice:
คุณยังสามารถจัดการห้องสมุดพรอมต์สุดท้ายของคุณเอง longchatgpt จะสร้างไฟล์ JSON ชื่อ final_prompts.json ในไดเรกทอรีปัจจุบัน ไฟล์ JSON ที่สร้างขึ้นใหม่ดูเหมือนดังต่อไปนี้:
{
"Prompt 1" : " Final prompt 1 " ,
"Prompt 2" : " Final prompt 2 " ,
"Prompt 3" : " Final prompt 3 " ,
} ในทำนองเดียวกันฉันจะใช้คำสั่งสุดท้ายที่บันทึกไว้ใน final_prompts.json เป็นตัวอย่าง ก่อนอื่นมา Enter your choice: และพิมพ์ 2 แล้วกดปุ่ม Enter
INFO: Available final prompts:
- Paper-abbreviation
- code-revision
- JAILBREAK
- Review
- Journalism
- Education
ฉันพิมพ์ Review และกดปุ่ม Enter
INFO: Selected final prompt: Now, all the inputs are given to you. You should write your complete review by fitting into the following format. The format is as follows:
------ TEMPLATE STARTS ------
# **[TITLE]**
## Review
[REVIEW]
------ TEMPLATE ENDS ------
And please, write the outputs thinking you are writing PPT slides. But NOT too simple. You have to write the outputs in a way that the readers can understand the contents easily. Do NOT consider the output length limit!
หลังจากไม่กี่วินาทีโปรแกรมจะแสดงไฟล์เอาต์พุตให้กับผู้ใช้
INFO: Response from ChatGPT: # **The Best Ways to Get Abs (With or Without a Six-Pack)**
## Review
This article provides a comprehensive overview of six-pack abs, including what they are, the factors that affect abdominal development, and strategies for building a strong, functional core. The article emphasizes that while having visible abs may be an aesthetically appealing goal for many, the primary benefits of core training go far beyond appearances.
The article discusses the rectus abdominis muscle, which is responsible for flexing the spine forward and is commonly associated with visible six-pack abs. However, the article emphasizes that the rectus abdominis is just one of many muscles in the core, and that core training should target all of these muscles for optimal benefits.
The article also discusses the role of body fat percentage in determining the visibility of six-pack abs, emphasizing that a low body fat percentage is necessary to reveal a chiseled six-pack. The article provides a range of typical ballpark body fat percentages for men and women that are associated with visible six-pack abs, and notes that genetics, lifestyle factors, and calorie intake can all affect where an individual tends to store and burn fat.
The article provides practical tips for building a strong, functional core, including exercises that occur in all planes of motion and static and movement-based exercises to train both stability and motion in the core muscles. The article also provides lifestyle strategies for reducing body fat percentage, including getting adequate sleep, exercising regularly with weights and cardio, eating a healthy diet high in fresh fruits, vegetables, and lean proteins, and choosing water over sugary drinks.
Overall, this article provides a well-rounded overview of six-pack abs and core training, emphasizing the importance of building a strong, functional core for improved health and well-being, rather than focusing solely on appearance. The article provides practical tips and strategies for achieving a visible six-pack, while also emphasizing the challenges of maintaining a low body fat percentage and the importance of maintaining a healthy lifestyle for long-term health benefits.
INFO: Does the answer seem to be truncated? (y/n):
โปรดทราบว่าในที่สุดโปรแกรมจะถามคุณว่าคำตอบนั้นดูเหมือนจะถูก ตัดทอนหรือไม่ เมื่อคุณปฏิบัติต่อไฟล์อินพุตขนาดใหญ่บางครั้งโปรแกรมก็ตัดทอนคำตอบ (อาจเป็นเพราะข้อ จำกัด ของเอ็นจิ้นบนเว็บ) หากคุณคิดว่าคำตอบนั้นถูกตัดทอนคุณสามารถลองส่งออกส่งออกต่อไปโดยพิมพ์ y และกดปุ่ม Enter จากนั้นโปรแกรมจะเชื่อมต่อเอาต์พุตกลางทั้งหมด (แต่ไม่น่าเชื่อถือฟังก์ชั่นนี้มากเกินไปเนื่องจากผลลัพธ์จาก CHATGPT นั้นไม่แน่นอนเสมอไปและบางครั้ง ChatGPT จะแสดงผลลัพธ์ที่ไม่คาดคิด)
ในตัวอย่างนี้ฉันพิมพ์ n เพราะดูเหมือนว่าคำตอบไม่ได้ถูกตัดทอน
INFO: Choose output format (stream / txt / md):
โปรแกรม longchatgpt จะขอให้คุณเลือกรูปแบบผลลัพธ์ คุณสามารถเลือก stream , txt (รูปแบบข้อความ) หรือ md (รูปแบบ markdown) ในตัวอย่างนี้ฉันเลือก md และกดปุ่ม Enter
INFO: Output saved as OUTPUT.md
ตอนนี้โปรแกรมจะบันทึกไฟล์เอาต์พุตเป็น OUTPUT.md ในไดเรกทอรีปัจจุบัน คุณสามารถตรวจสอบไฟล์ [demoOUTPUT.md](demo/demoOUTPUT.md) ในไดเรกทอรี demo เพื่อดูเอาต์พุตตัวอย่าง
โปรดทราบว่าบางครั้ง CHATGPT ทำให้ผลลัพธ์ที่ไม่คาดคิด! ในกรณีนี้คุณควร ลองอีกสองสามครั้ง เพื่อให้ได้ผลลัพธ์ที่ดีที่สุด คุณสามารถแก้ไขพรอมต์หรือเนื้อหาการแชทระดับกลางคุณสามารถเยี่ยมชมเว็บไซต์ทางการของ Chatgpt ขอให้โชคดีกับผลงานของคุณ! -
longchatgpt โปรดแบ่งปันแนวคิดเริ่มต้นและคำแนะนำเบื้องต้นและคำติชมของคุณ ใช้ Pull Requests เพื่อมีส่วนร่วมในโครงการ พลังของหน่วยสืบราชการลับส่วนรวมจะเป็นวิธีที่ดีที่สุดในการปรับปรุงโปรแกรม! - โครงการนี้ได้รับใบอนุญาตภายใต้ใบอนุญาต MIT
สำหรับข้อมูลเพิ่มเติมรายงานข้อผิดพลาดหรือคำขอคุณสมบัติกรุณาเยี่ยมชมที่เก็บ GitHub