commit b03b2dc653543e08ed5d0e6a7b3b1b6d5e06e829 Author: louiscklaw Date: Sat Feb 1 02:01:42 2025 +0800 update, diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..d54c38a --- /dev/null +++ b/.gitattributes @@ -0,0 +1,31 @@ +*.mp4 filter=lfs diff=lfs merge=lfs +*.zip filter=lfs diff=lfs merge=lfs +*.7z filter=lfs diff=lfs merge=lfs +*.tar.gz filter=lfs diff=lfs merge=lfs +*.jpg filter=lfs diff=lfs merge=lfs +*.png filter=lfs diff=lfs merge=lfs +*.avif filter=lfs diff=lfs merge=lfs +*.webm filter=lfs diff=lfs merge=lfs +*.mkv filter=lfs diff=lfs merge=lfs + +# Documents +*.doc diff=astextplain +*.DOC diff=astextplain +*.docx diff=astextplain +*.DOCX diff=astextplain +*.dot diff=astextplain +*.DOT diff=astextplain +*.pdf diff=astextplain +*.PDF diff=astextplain +*.rtf diff=astextplain +*.RTF diff=astextplain + +*.gif filter=lfs diff=lfs merge=lfs +*.GIF filter=lfs diff=lfs merge=lfs +*.bmp filter=lfs diff=lfs merge=lfs +*.BMP filter=lfs diff=lfs merge=lfs +*.tiff filter=lfs diff=lfs merge=lfs +*.TIFF filter=lfs diff=lfs merge=lfs +*.wav filter=lfs diff=lfs merge=lfs +*.WAV filter=lfs diff=lfs merge=lfs +*.log filter=lfs diff=lfs merge=lfs diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..67a5a14 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +**/~*.* \ No newline at end of file diff --git a/gitUpdate.bat b/gitUpdate.bat new file mode 100644 index 0000000..4fbbe39 --- /dev/null +++ b/gitUpdate.bat @@ -0,0 +1,7 @@ +git status . + +@pause + +git add . +git commit -m"update good.to.great," +start git push \ No newline at end of file diff --git a/gitUpdate.sh b/gitUpdate.sh new file mode 100755 index 0000000..c96734f --- /dev/null +++ b/gitUpdate.sh @@ -0,0 +1,16 @@ +#!/usr/bin/env bash + +set -ex + +git config --global http.version HTTP/1.1 +git config --global lfs.allowincompletepush true +git config --global lfs.locksverify true +git config --global http.postBuffer 5368709120 + +git add . + +git commit -m 'update,' + +git push + +echo "done" diff --git a/job1/presentation/2023-08-29_14-23.png b/job1/presentation/2023-08-29_14-23.png new file mode 100644 index 0000000..f3cca7e --- /dev/null +++ b/job1/presentation/2023-08-29_14-23.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:65f480c055f3b21d0ab8c245a68f510761a398c32e53bc78fe505b02dd1886c0 +size 27117 diff --git a/job1/presentation/2023-08-29_14-25.png b/job1/presentation/2023-08-29_14-25.png new file mode 100644 index 0000000..510bd0d --- /dev/null +++ b/job1/presentation/2023-08-29_14-25.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8d27a96fb2a64a02050668ebdebeb52741a382c510a877eeb8bf9bd932cbec8d +size 27175 diff --git a/job1/presentation/Screen Shot 2023-08-29 at 14.11.36.png b/job1/presentation/Screen Shot 2023-08-29 at 14.11.36.png new file mode 100644 index 0000000..d99620c --- /dev/null +++ b/job1/presentation/Screen Shot 2023-08-29 at 14.11.36.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0650156faed4f1f30a41b8bbf71b869dff6bc6e6695e3d5be029a33f8acb2219 +size 296154 diff --git a/job1/presentation/Screen Shot 2023-08-29 at 14.11.54.png b/job1/presentation/Screen Shot 2023-08-29 at 14.11.54.png new file mode 100644 index 0000000..35227d9 --- /dev/null +++ b/job1/presentation/Screen Shot 2023-08-29 at 14.11.54.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bf1656a57482b143e4e6e95563eec4fe7f92f452ac18f34e2ca349f9de33f898 +size 323998 diff --git a/job1/presentation/Screen Shot 2023-08-29 at 14.17.53.png b/job1/presentation/Screen Shot 2023-08-29 at 14.17.53.png new file mode 100644 index 0000000..803fbd1 --- /dev/null +++ b/job1/presentation/Screen Shot 2023-08-29 at 14.17.53.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:22afb14fb755022d5476907ca5d4c2661b847ef379d27e9aba49556cc3bbe834 +size 320525 diff --git a/job1/presentation/gen.sh b/job1/presentation/gen.sh new file mode 100644 index 0000000..d8dd613 --- /dev/null +++ b/job1/presentation/gen.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash + +set -ex + +# npx @marp-team/marp-cli@latest meeting_notes.md -o output.html +# npx @marp-team/marp-cli@latest meeting_notes.md --allow-local-files --pptx +# npx @marp-team/marp-cli@latest meeting_notes.md --allow-local-files -o output.pptx +npx @marp-team/marp-cli@latest --allow-local-files meeting_notes.md -o output.pdf \ No newline at end of file diff --git a/job1/presentation/meeting_notes.md b/job1/presentation/meeting_notes.md new file mode 100644 index 0000000..c4c5e7b --- /dev/null +++ b/job1/presentation/meeting_notes.md @@ -0,0 +1,151 @@ +--- +marp: true +theme: gaia +_class: lead +paginate: true +backgroundColor: #fff +backgroundImage: url('https://marp.app/assets/hero-background.svg') +--- + + +![bg left:40% 80%](2023-08-29_14-23.png) + +# **GPT + Legial service** + +--- + +![bg left:40% 80%](2023-08-29_14-23.png) + +### Purpose/Requirement + +- upcounsel alike, provide legal service + +- apply the GPT to engage site viewers to provide legal assistance + +- can use GPT-3.5 + +- like an advisor, before outsourcing to real human advisors + +--- + +### Q and A recap: + +**Q:** open the gpt chatbox to the **public** ? +**A:** **NOT** open to the public, simple registration is ok + + +**Q:** concern about how "deep" can the GPT do. +**A:** it is because currently the knowledge of GPT mentioned may not deep enough to "engage"/"sell" customer. +so, if that is the target then current mentioned may be in the wrong direction. +but if this is just in the POC/very early stage of your big map. Then it is OK. + +--- + +### what chatgpt can do + +**1.** Tracking changes in the law + +> prompt: +> +> tell me about changes related to immigration in Hong kong please + +![bg right:40% 80%](./q1_prompt.png) + +--- + + + +### what chatgpt can do + +**2.** Analyzing references and citations + +> prompt: +> +> name the most famous court cases that cite immigration in hong kong + +![bg right:40% 80%](./q2_prompt.png) + +--- + +### what chatgpt can do + +**3.** Drafting legal advice + +- more template alike + +- [how-to-write-good-legal-advice](https://www.practisinglaw.com.au/how-to-write-good-legal-advice/) + + +--- + + + +### what chatgpt can do + +**4.** Drafting lawsuits and other procedural documents + +> prompt: +> can you draft me a employment discrimination lawsuit that adopt the law in hong kong? i will provide you some background information. +> +> background: +> a 35-year-old woman was denied a job because she was pregnant, she has not a chronically ill patients and proven by 3 doctors + +--- + + +![bg 40% 80%]() +![bg 40% 80%]() + +--- + + + +### what chatgpt can do + +**5.** Drafting contracts + +> prompt: +> can you draft me a write a non-compete agreement in the IT sphere. + +![bg right:40% 80%]() + +--- + +### references: + +- https://nanonets.com/blog/chat-gpt-for-legal-professionals/ + + +--- + + + +# Thanks ! \ No newline at end of file diff --git a/job1/presentation/notes.md b/job1/presentation/notes.md new file mode 100644 index 0000000..8ec99c2 --- /dev/null +++ b/job1/presentation/notes.md @@ -0,0 +1,88 @@ +hi + +I want to build a web-app that integrates openai api, fine-tuned for my use case. +Avatar + +can use GPT-3.5 + +thanks for interest and i would like to gather more information. +I would like to know if your target app is chat-bot alike or more like a bot for summarization/processing ? or any other idea ? + +like an advisor +Avatar + +before outsourcing to real human advisors + +sorry but may i know is there any references or similars on the market ? +If you can show me, i can get the ideas better. + +upcounsel +Avatar + +except it can start with GPT + +"start with GPT" <- you mean engaging the website viewers by GPT ? + +open the gpt chatbox to the public ? +Avatar + +Yes + +for GPT, open to the public. +technically it is feasible but it is currently not recommended. + +not recommended because of policy? +Avatar + +what about Poe, why is it allowed? + +even poe they still need a simple registration + +i see +Avatar + +then registration is ok + +so that is not open to the public mmeans to me + +yep you’re right + +we can talk about the ux/ui and see how we can define the deliverables + +do you have designer? +Avatar + +or one man band? + +one man here, before going further. i would like to align the ideas. + +The website you sent me is providing the legal service . +so you want to apply the GPT to engage site viewers to provide legal assistance ? + +is that what you want ? + +If so, i would like to know how "deep" can the GPT do. +it is because currently the knowledge of GPT mentioned may not deep enough to "engage"/"sell" customer. +so, if that is the target then current mentioned may be in the wrong direction. +but if this is just in the POC/very early stage of your big map. Then it is OK. + +that makes sense + +that’s correct and I have more details + +as to how to build + +in the commercialization sense + +are you free tmr? can Zoom or meet in person, flexible. +Avatar + +to address the 'selling part' it depends on when the human operator intervenes + +i am afraid i am in the middle of something and it is hard to tell i'm free tomorrow or the day after. May i propose to make it happen on weekday next week ? +Avatar + +yea that works +Avatar + +next week is better for me as well, will prepare sth in advance diff --git a/job1/presentation/open.html b/job1/presentation/open.html new file mode 100644 index 0000000..c126ed6 --- /dev/null +++ b/job1/presentation/open.html @@ -0,0 +1,98 @@ +
+

GPT + Legial service

+
+
+

Purpose/Requirement

+
    +
  • +

    upcounsel alike, provide legal service

    +
  • +
  • +

    apply the GPT to engage site viewers to provide legal assistance

    +
  • +
  • +

    can use GPT-3.5

    +
  • +
  • +

    like an advisor, before outsourcing to real human advisors

    +
  • +
+
+
+

Q and A recap:

+

Q: open the gpt chatbox to the public ?
+A: NOT open to the public, simple registration is ok

+

Q: concern about how "deep" can the GPT do.
+A: it is because currently the knowledge of GPT mentioned may not deep enough to "engage"/"sell" customer.
+so, if that is the target then current mentioned may be in the wrong direction.
+but if this is just in the POC/very early stage of your big map. Then it is OK.

+
+
+

what chatgpt can do

+

1. Tracking changes in the law

+
+

prompt:

+

tell me about changes related to immigration in Hong kong please

+
+
+
+

what chatgpt can do

+

2. Analyzing references and citations

+
+

prompt:

+

name the most famous court cases that cite immigration in hong kong

+
+
+
+

what chatgpt can do

+

3. Drafting legal advice

+ +
+
+

what chatgpt can do

+

4. Drafting lawsuits and other procedural documents

+
+

prompt:
+can you draft me a employment discrimination lawsuit that adopt the law in hong kong? i will provide you some background information.

+

background:
+a 35-year-old woman was denied a job because she was pregnant, she has not a chronically ill patients and proven by 3 doctors

+
+
+
+
+

what chatgpt can do

+

5. Drafting contracts

+
+

prompt:
+can you draft me a write a non-compete agreement in the IT sphere.

+
+
+
+

references:

+ +
+
+

Thanks !

+
+
\ No newline at end of file diff --git a/job1/presentation/output.pdf b/job1/presentation/output.pdf new file mode 100644 index 0000000..c076cf8 Binary files /dev/null and b/job1/presentation/output.pdf differ diff --git a/job1/presentation/q1_prompt.png b/job1/presentation/q1_prompt.png new file mode 100644 index 0000000..763ffcf --- /dev/null +++ b/job1/presentation/q1_prompt.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:03392019c90c314d78fdd161f6f789b62eb8b167dc6c10451ed6423cfa2e8af3 +size 359950 diff --git a/job1/presentation/q2_prompt.png b/job1/presentation/q2_prompt.png new file mode 100644 index 0000000..076bc75 --- /dev/null +++ b/job1/presentation/q2_prompt.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b80bff014367b476c7b541347672e54312af9daab9be0212a965bc79af13c786 +size 255246 diff --git a/job1/presentation/reply.md b/job1/presentation/reply.md new file mode 100644 index 0000000..1ee8060 --- /dev/null +++ b/job1/presentation/reply.md @@ -0,0 +1,15 @@ +Hi, +This is my apologize to let you wait. +To enrich our conversatition(because i am not a people in this field). +i prepared some overview/insight/consolidation about legial service and gpt. + +The remaining time for this week is free for me. +Please let me know at your convenience. + +Thanks. + +ttps://share.louislabs.com/g/u-mCk36llQW + +please add a "h" at the beginning + +unzip file -> head to open.html -> open diff --git a/job1/quotation.md b/job1/quotation.md new file mode 100644 index 0000000..3aad87b --- /dev/null +++ b/job1/quotation.md @@ -0,0 +1 @@ +# \good.to.great diff --git a/meta.md b/meta.md new file mode 100644 index 0000000..fb3b276 --- /dev/null +++ b/meta.md @@ -0,0 +1,5 @@ +--- +tags: [GPT, AI, law, pending, marp] +--- + +# good.to.great diff --git a/package.json b/package.json new file mode 100644 index 0000000..f4cb1b0 --- /dev/null +++ b/package.json @@ -0,0 +1,22 @@ +{ + "name": "daniel_jo_assignment_student", + "version": "1.0.0", + "description": "", + "main": "index.js", + "directories": { + "doc": "docs" + }, + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1", + "gitUpdate": "git add . && git commit -m\"update good.to.great,\" && git push" + }, + "keywords": [], + "author": "", + "license": "ISC", + "dependencies": { + "@fortawesome/free-solid-svg-icons": "^6.2.1", + "@fortawesome/react-fontawesome": "^0.2.0", + "bootstrap": "^5.2.3", + "react-bootstrap": "^2.6.0" + } +}