This commit is contained in:
louiscklaw
2025-02-01 02:01:42 +08:00
commit b03b2dc653
20 changed files with 464 additions and 0 deletions

31
.gitattributes vendored Normal file
View File

@@ -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

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
**/~*.*

7
gitUpdate.bat Normal file
View File

@@ -0,0 +1,7 @@
git status .
@pause
git add .
git commit -m"update good.to.great,"
start git push

16
gitUpdate.sh Executable file
View File

@@ -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"

BIN
job1/presentation/2023-08-29_14-23.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
job1/presentation/2023-08-29_14-25.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
job1/presentation/Screen Shot 2023-08-29 at 14.11.36.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
job1/presentation/Screen Shot 2023-08-29 at 14.11.54.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
job1/presentation/Screen Shot 2023-08-29 at 14.17.53.png (Stored with Git LFS) Normal file

Binary file not shown.

8
job1/presentation/gen.sh Normal file
View File

@@ -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

View File

@@ -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/)
---
<style scoped>
h3 {
font-size: unset;
}
p { font-size: unset;}
* {
font-size: 0.8rem;
}
</style>
### 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%](<Screen Shot 2023-08-29 at 14.11.36.png>)
![bg 40% 80%](<Screen Shot 2023-08-29 at 14.11.54.png>)
---
<style scoped>
h3 {
font-size: unset;
}
p { font-size: unset;}
* {
font-size: 0.8rem;
}
</style>
### 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%](<Screen Shot 2023-08-29 at 14.17.53.png>)
---
### references:
- https://nanonets.com/blog/chat-gpt-for-legal-professionals/
---
<style scoped>
* {
text-align: center;
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
}
</style>
# Thanks !

View File

@@ -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 youre 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
thats 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

File diff suppressed because one or more lines are too long

Binary file not shown.

BIN
job1/presentation/q1_prompt.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
job1/presentation/q2_prompt.png (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -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

1
job1/quotation.md Normal file
View File

@@ -0,0 +1 @@
# \good.to.great

5
meta.md Normal file
View File

@@ -0,0 +1,5 @@
---
tags: [GPT, AI, law, pending, marp]
---
# good.to.great

22
package.json Normal file
View File

@@ -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"
}
}