KOMODO-LARGE

NLP(Natural Language Processing) κΈ°μˆ μ„ ν™œμš©ν•œ μ±„νŒ… μ„œλΉ„μŠ€λŠ” μ‚¬μš©μžμ˜ μ§ˆλ¬Έμ΄λ‚˜ μš”μ²­μ„ μ‹€μ‹œκ°„μœΌλ‘œ μ΄ν•΄ν•˜κ³  λŒ€μ‘ν•˜λŠ” λŒ€ν™”ν˜• μΈν„°νŽ˜μ΄μŠ€λ₯Ό μ œκ³΅ν•©λ‹ˆλ‹€. 이 μ„œλΉ„μŠ€λŠ” 고객 지원, ꡐ윑, μ—”ν„°ν…ŒμΈλ¨ΌνŠΈ λ“± λ‹€μ–‘ν•œ λΆ„μ•Όμ—μ„œ 더 μ •ν™•ν•˜κ³  μœ μš©ν•œ λŒ€ν™” κ²½ν—˜μ„ μ œκ³΅ν•©λ‹ˆλ‹€.

지원 μ–Έμ–΄ : ν•œκ΅­μ–΄, μ˜μ–΄

Available Models

Model
Description

komodo-large-241008

λŒ€ν˜• μ–Έμ–΄λͺ¨λΈ(Large Languguge Model)둜, λ‹€μ–‘ν•œ μ–Έμ–΄μ˜ νŒ¨ν„΄μ„ μ‹¬μΈ΅μ μœΌλ‘œ μ΄ν•΄ν•˜λ©° κ³ λ„μ˜ μΆ”λ‘  λŠ₯λ ₯을 κ°–μΆ”κ³  μžˆμŠ΅λ‹ˆλ‹€. λ‹€μ–‘ν•œ λΆ„μ•Όμ˜ λ„λ©”μΈμ—μ„œ νƒμ›”ν•œ 생성 인곡지λŠ₯ λͺ¨λΈμž…λ‹ˆλ‹€.

Request

POSThttps://aiplatform-api.rest.univa.co.kr/rest/v1/text/komodo-large

Request Headers

Name
Value

Content-Type

application/json

x-api-key

UNIVA-API-KEY

curl -X POST 'https://aiplatform-api.rest.univa.co.kr/rest/v1/text/komodo-large' \
    -H 'Content-Type: application/json' \
    -H 'x-api-key: UNIVA-API-KEY' \ # API ν‚€λ₯Ό μž…λ ₯ν•˜μ„Έμš”.
    -d '{
        "data": {
            "model": "komodo-large", 
            #  버전 μ„€μ • 방법 : komodo-large-{version}
            "stream": false,
            "messages": [
                {
                    "role": "system",
                    "content": "당신은 AI μ–΄μ‹œμŠ€ν„΄νŠΈ Komodoμž…λ‹ˆλ‹€. μ‚¬μš©μžμ˜ μ§ˆλ¬Έμ— μžμ„Έν•˜κ²Œ λ‹΅λ³€ν•˜μ„Έμš”."
                },
                {
                    "role": "user",
                    "content": "μ‚¬μš©μž μž…λ ₯ ν…μŠ€νŠΈ"
                }
            ],
            "max_tokens": 4096,
            # max_tokens 길이 μ΅œλŒ€κ°’ 4096
            "temperature": 0.6,
            "top_p":0.9,
            "presence_penalty": 0.3,
            "frequency_penalty": 0.5
        }
    }'

Request Body (* required)

Name
Type
Description

model*

string

μ‚¬μš©ν•  model의 id

messages* messages[]["role"] - role : system -> optional - role : user -> required

array

μ‚¬μš©μžκ°€ μž…λ ₯ν•˜λŠ” input text

temperature (Defaults to 0.6)

number

μ‘λ‹΅μ˜ 닀양성을 μ‘°μ ˆν•˜λŠ” λ§€κ°œλ³€μˆ˜ 값이 λ†’μ„μˆ˜λ‘ ν…μŠ€νŠΈλ₯Ό 생성할 λ•Œ κ°€λŠ₯ν•œ λ‹€μŒ λ‹¨μ–΄μ˜ 선택 λ²”μœ„κ°€ λ„“μ–΄μ Έ 더 창의적인 응닡을 생성할 κ°€λŠ₯성이 λ†’μ•„μ§‘λ‹ˆλ‹€. 0~1 사이 κ°’μœΌλ‘œ μ„€μ •ν•©λ‹ˆλ‹€.

max_tokens (Defaults to 4096)

integer

생성할 수 μžˆλŠ” μ΅œλŒ€ 토큰 수λ₯Ό μ§€μ •ν•©λ‹ˆλ‹€. μ΅œλŒ€ 4096κΉŒμ§€ μ„€μ • κ°€λŠ₯ν•©λ‹ˆλ‹€.

top_p (Defaults to 0.9)

number

κΈ°μ€€ ν™•λ₯ μ„ μ„€μ •ν•˜λŠ” λ§€κ°œλ³€μˆ˜. 예츑 ν™•λ₯ μ˜ μˆœμ„œλŒ€λ‘œ μ„€μ • κ°’ p μ΄ν•˜μΈ 토큰듀 쀑 ν•˜λ‚˜λ₯Ό μ„ νƒν•©λ‹ˆλ‹€. 0~1 사이 κ°’μœΌλ‘œ μ„€μ •ν•©λ‹ˆλ‹€.

presence_penalty (Defaults to 0.3)

integer

반볡적인 λ‚΄μš©μ˜ μΆœν˜„μ„ μ–΅μ œν•˜λŠ” λ§€κ°œλ³€μˆ˜ 값이 λ†’μ„μˆ˜λ‘ 이미 μ–ΈκΈ‰λœ μ£Όμ œλ‚˜ 단어λ₯Ό ν”Όν•΄ μƒˆλ‘­κ³  λ‹€μ–‘ν•œ λ‚΄μš©μ„ μƒμ„±ν•˜λŠ” κ²½ν–₯이 κ°•ν•΄μ§‘λ‹ˆλ‹€. 0~2 사이 κ°’μœΌλ‘œ μ„€μ •ν•©λ‹ˆλ‹€.

frequency_penalty (Defaults to 0.5)

integer

μƒμ„±λœ ν…μŠ€νŠΈ λ‚΄μ—μ„œμ˜ 단어 λ˜λŠ” 주제의 반볡 λΉˆλ„λ₯Ό κ°μ†Œμ‹œν‚€λŠ” λ§€κ°œλ³€μˆ˜ 값이 λ†’μ„μˆ˜λ‘ λ‹€μ–‘ν•˜κ³  μƒˆλ‘œμš΄ λ‚΄μš©μ„ ν¬ν•¨ν•˜λ €λŠ” κ²½ν–₯이 κ°•ν•΄μ§‘λ‹ˆλ‹€. 0~2 사이 κ°’μœΌλ‘œ μ„€μ •ν•©λ‹ˆλ‹€.

Response

{
  "success": true,
  "result": {
    "id": "cmpl-054c224e62cf49bea2a34fd2cd07a265",
    "object": "chat.completion",
    "created": 1720754064,
    "model": "komodo-large",
    "choices": [
      {
        "index": 0,
        "message": {
          "role": "assistant",
          "content": "λͺ¨λΈ 응닡 ν…μŠ€νŠΈ"
        },
        "logprobs": null,
        "finish_reason": "stop",
        "stop_reason": null
      }
    ],
    "usage": {
      "prompt_tokens": 47,
      "total_tokens": 225,
      "completion_tokens": 178
    }
  }
}

Deprecated Models

Model
Description

komodo-large-240731

ν•΄λ‹Ή 버전은 2024-10-08에 μ‚¬μš© μ€‘μ§€λ˜μ—ˆμŠ΅λ‹ˆλ‹€.

Last updated