extension ExtPose

ChatGPT와 Bard에 대한 파일 프롬프트 (delisted)

CRX id

hmhjddciebeidnliblcaonmdlknagjim-

Description from extension meta

ChatGPT에 파일을 업로드하고 이를 텍스트 프롬프트로 변환합니다.

Image from store ChatGPT와 Bard에 대한 파일 프롬프트
Description from store The "File to Prompt" extension, developed by Fernando Dilland, is a browser extension that adds a button to ChatGPT and Bard interfaces. This button allows users to select a file and convert its contents into text prompts, thus enhancing the usability of these AI tools. The extension includes the following features: PDF.js Integration: The extension integrates the PDF.js library by setting the value of the GlobalWorkerOptions.workerSrc property to the URL of the local pdf.worker.min.js file. This enables the extraction of text from PDF files. Mammoth.js Integration: The Mammoth.js library is loaded by adding a script element to the document. This library is used to extract text from Word files. User Interface: The extension creates a button and a cancel button, both styled with padding, borders, and rounded corners. These buttons are wrapped in a div element for proper alignment. Additionally, a progress bar container and a chunk size input with a corresponding label are created to track the progress of the file conversion process. File Selection and Conversion: When the button is clicked, an input element of type "file" is dynamically created. The user can select a file, and the extension reads its contents as text or extracts the text from PDF or Word files using the appropriate methods. The text is then split into smaller chunks based on the specified chunk size. Conversation Submission: Each chunk of text is submitted as a prompt to the conversation in the ChatGPT or Bard interface. The extension utilizes the textarea element in the interface and triggers an enter key event to submit the prompt. The prompt text is constructed using a predefined template that includes the file part number, filename, and the extracted text. Progress Tracking and Interruption: The extension updates the progress bar as each chunk is processed. It also provides a cancel button that allows users to interrupt the conversion process at any time. Dark Mode Support: The extension detects the user's preferred color scheme and adjusts the button styles accordingly. In dark mode, the button has a dark background color with white text, while in light mode, it has a light background color with black text. To enhance the usability of ChatGPT and Bard, the "File to Prompt" extension simplifies the process of converting file contents into text prompts. By providing an intuitive interface and seamless integration with PDF.js and Mammoth.js, this extension empowers users to leverage AI capabilities for text analysis and generation more efficiently.

Latest reviews

  • (2023-09-06) Edenson Villalba: no sirve
  • (2023-08-06) Shridhar B: Does nothing after installing. There's no prompt to upload the files. Doesn't work with bot Bard and Chatgpt. Uninstalling......
  • (2023-08-01) Bruno Ariel Gil Borel: After installing the extension i cant find the choose file button on my toolbar

Statistics

Installs
7,393 history
Category
Rating
1.0 (2 votes)
Last update / version
2023-06-06 / 1.1.0
Listing languages

Links