File size: 3,024 Bytes
52c95a5
df42f36
 
 
 
52c95a5
 
df42f36
52c95a5
 
df42f36
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
---
title: Ice Breaking Challenge
emoji: πŸ“š
colorFrom: purple
colorTo: yellow
sdk: docker
pinned: false
short_description: ice_breaking_challenge
---

# Ice Breaking Challenge
## μ‚¬μš© μ‹œλ‚˜λ¦¬μ˜€
```mermaid
sequenceDiagram
    actor user as μ‚¬μš©μž
    participant browser as λΈŒλΌμš°μ €
    participant flask as Flask
    %% participant sheets as Google Sheets
    %% participant gemma as Fine-Tuned Gemma 2


    autonumber
    critical νŒ€ 정보 μž…λ ₯
        user ->> browser: Hugging Face Space μ ‘κ·Ό
        browser ->> flask: `νŒ€ 정보 μž…λ ₯ νŽ˜μ΄μ§€` μš”μ²­ (json)
        flask ->> browser: `νŒ€ 정보 μž…λ ₯ νŽ˜μ΄μ§€` 응닡 (html & js)
        browser ->> user: `νŒ€ 정보 μž…λ ₯ νŽ˜μ΄μ§€` λ Œλ”λ§
    end

    critical μ„€λ¬Έ QR
        user ->> browser: `νŒ€ 정보 μž…λ ₯ νŽ˜μ΄μ§€`의 `λ‹€μŒ` λ²„νŠΌ 클릭
        browser ->> flask: `μ„€λ¬Έ QR νŽ˜μ΄μ§€` μš”μ²­ (json)
        flask ->> browser: `μ„€λ¬Έ QR νŽ˜μ΄μ§€` 응닡 (html & js)
        browser ->> user: `μ„€λ¬Έ QR νŽ˜μ΄μ§€` λ Œλ”λ§
    end

    critical μžκΈ°μ†Œκ°œ 
        user ->> browser: `νŒ€ 정보 μž…λ ₯ νŽ˜μ΄μ§€`의 `λ‹€μŒ` λ²„νŠΌ 클릭
        browser ->> flask: `μžκΈ°μ†Œκ°œ νŽ˜μ΄μ§€` μš”μ²­ (json)
        flask ->> browser: `μžκΈ°μ†Œκ°œ νŽ˜μ΄μ§€` 응닡 (html & js)
        browser ->> user: `μžκΈ°μ†Œκ°œ νŽ˜μ΄μ§€` λ Œλ”λ§
        Note right of user: 질문 생성 μ™„λ£Œλ  λ•ŒκΉŒμ§€ `λ‹€μŒ` λ²„νŠΌ λ Œλ”λ§ X
    end

    critical μ„€λ¬Έ 및 질문 생성 μ™„λ£Œ 확인
        browser ->> flask: μ„€λ¬Έ μ™„λ£Œ 확인 μš”μ²­ (json)
        create participant sheets as Google Sheets
        flask ->> sheets: μ„€λ¬Έ μš”μ²­
        destroy sheets
        sheets ->> flask: μ„€λ¬Έ 응닡
        flask ->> flask: νŒ€ 정보와 μ„€λ¬Έ λ‚΄μ—­ λŒ€μ‘°
        create participant gemma as Fine-Tuned Gemma 2
        flask ->> gemma: μ„€λ¬Έ μ™„λ£Œλ˜μ—ˆλ‹€λ©΄, 질문 생성 μš”μ²­
        destroy gemma
        gemma ->> flask: 질문 생성 응닡
        flask ->> browser: 질문 생성 μ™„λ£Œλœ 경우 `λ‹€μŒ` λ²„νŠΌ 응닡
        browser ->> user: `λ‹€μŒ` λ²„νŠΌ λ Œλ”λ§
    end
    
    critical 젬마 생성 질문 1번
        user ->> browser: `μžκΈ°μ†Œκ°œ νŽ˜μ΄μ§€`의 `λ‹€μŒ` λ²„νŠΌ 클릭
        browser ->> flask: `생성 질문 1번 νŽ˜μ΄μ§€ μš”μ²­` (json)
        flask ->> browser: `생성 질문 1번 νŽ˜μ΄μ§€ 응닡` (html & js) 
        browser ->> user: `생성 질문 1번 νŽ˜μ΄μ§€ 응닡` λ Œλ”λ§
    end

    critical 젬마 생성 질문 2번
        user ->> browser: `생성 질문 1번 νŽ˜μ΄μ§€`의 `λ‹€μŒ` λ²„νŠΌ 클릭 (json)
        Note left of flask: μ΄ν•˜ 동일
    end

    critical μΉœν•΄μ§€μ…¨λ‚˜μš”
        user ->> browser: `생성 질문 λ§ˆμ§€λ§‰ νŽ˜μ΄μ§€`의 `λ‹€μŒ` λ²„νŠΌ 클릭 (json)
        browser ->> flask: `생성 질문 λ§ˆμ§€λ§‰ νŽ˜μ΄μ§€` μš”μ²­ (json)
        flask ->> browser: `생성 질문 λ§ˆμ§€λ§‰ νŽ˜μ΄μ§€` 응닡 (html & js)
        browser ->> user: `생성 질문 λ§ˆμ§€λ§‰ νŽ˜μ΄μ§€` λ Œλ”λ§        
    end
```