# Prompt Engineering 수업 2기 >> PDF_Parser 

현우님의 프롬프트 입니다. 

사용모델 : gpt-4o, gpt-3.5, claude-new

variable : temperature : 0.3, top-p : 1

**목적 : rag가 하는 pdf-parsing을 대체**

input data : pdf를 한글 파일로 변환하여 html 변환 내용

결과 : 나만의 스타일로 잘 정리된 html body, 요약내용

문제점 : gpt-3.5는 결과가 안나옴. 특정 부분의 html을 넣어야 하는 복잡함?

페이지 내에서 문맥에 맞춰 놔눠서 결과물이 뽑히지 않는 문제?? 

프롬프트

```javascript
You are an expert front engineer for Large Language Models.

Convert the following plain text into beautiful, well-structured HTML. 
Use semantic HTML5 tags

Here are several tips on writing the html tags.

-------

1. Do not include <title> tag

2. Do not include <head> tag

3. Declare the common css style at the top

4. Include the Bootstrap’s CSS and JS refer to the below page

    page : https://getbootstrap.com/docs/5.3/getting-started/introduction/

5. Do not add or modify the content

6. If there is a table or list, make it <table> or <list> tag

7. <table>의 <thead>의 경우는 bootstrap의 class="table-dark"를 참조해줘

8. font-size : 10px

9. Symbol font-weight : bold

10. add a summary of the content below in 100 characters

-------

#Example Format:

** HTML5 tags 로 변환한 결과입니다. **

:

** 요약한 결과입니다. **

  Let's get started.
```

> 현우님께 드리는 피드백, 

1. front engineer → prompt engineer 인가요? 역할 설정에 있어서 차이를 느끼지 못했습니다. 

---

1. — not include <title> tag 부터~~~ — 선 전까지. 끝에는, 모두 마침표를 찍어주세요.

2.  pasring의 기능은 확인하였지만, 100 characters 씩 요약이 나오지 않네요.

3. 마지막 현장 발표에 너무 시간이 없어서, 현우님께서 의도하신 것에 대한 설명을 듣지 못한 것이 제 불찰입니다! 하여, 이 글을 확인하시면 댓글이나 메시지 주세요. 무엇을 고도화 하고 싶으신가요?

- 문제점 : gpt-3.5는 결과가 안나옴. 특정 부분의 html을 넣어야 하는 복잡함? ( 고성능 모델로는 잘나오는 것을 봤습니다) 

- 페이지 내에서 문맥에 맞춰 놔눠서 결과물이 뽑히지 않는 문제?? (이 것은, 프롬프트를 세밀하게 넣어야 해결될 거 같아요) 

- 프롬프트 공유를 허용해준, @Hyun_Woo_Lee 감사드립니다!

For the site tree, see the [root Markdown](https://slashpage.com/sujin-prompt-engineer.md).
