๐งพ Mistral OCR + GPT-4o-mini๋ฅผ ์ฌ์ฉํ์ฌ ์๋์ผ๋ก ์ธ๋ณด์ด์ค ์ฒ๋ฆฌ
์ด๊ฒ์Finance, AI๋ถ์ผ์์๋ํ ์ํฌํ๋ก์ฐ๋ก, 11๊ฐ์ ๋ ธ๋๋ฅผ ํฌํจํฉ๋๋ค.์ฃผ๋ก Set, SplitOut, Summarize, GoogleDrive, HttpRequest ๋ฑ์ ๋ ธ๋๋ฅผ ์ฌ์ฉํ๋ฉฐ์ธ๊ณต์ง๋ฅ ๊ธฐ์ ์ ๊ฒฐํฉํ์ฌ ์ค๋งํธ ์๋ํ๋ฅผ ๊ตฌํํฉ๋๋ค. ๐งพ Mistral OCR + GPT-4o-mini๋ฅผ ์ฌ์ฉํ์ฌ ์๋์ผ๋ก ์์์ฆ์ ์ฒ๋ฆฌํ์ธ์
- โขGoogle Drive API ์ธ์ฆ ์ ๋ณด
- โข๋์ API์ ์ธ์ฆ ์ ๋ณด๊ฐ ํ์ํ ์ ์์
- โขOpenAI API Key
์ฌ์ฉ๋ ๋ ธ๋ (11)
์นดํ ๊ณ ๋ฆฌ
{
"meta": {
"instanceId": "4786bf0f18c0e8e92c361de5a158cabf4eb0bb3b9c113091b054ff26e359a029",
"templateCredsSetupCompleted": true
},
"nodes": [
{
"id": "d7086584-965b-467b-b453-4e43936a4bbe",
"name": "Google Drive Trigger: ์ ์ฒญ๊ตฌ์ ๊ฐ์ง",
"type": "n8n-nodes-base.googleDriveTrigger",
"position": [
180,
-240
],
"parameters": {},
"typeVersion": 1
},
{
"id": "0af0b6a6-7ee8-4fdb-a88b-38abad155962",
"name": "Google Drive: ์ฒญ๊ตฌ์ ๋ค์ด๋ก๋",
"type": "n8n-nodes-base.googleDrive",
"position": [
400,
-240
],
"parameters": {},
"typeVersion": 3
},
{
"id": "e0f5e5d0-95a5-4ac2-9de2-995e45def8c3",
"name": "์ํฌํ๋ก์ฐ ๋ฌธ์ํ",
"type": "n8n-nodes-base.stickyNote",
"position": [
-820,
-500
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "9b1fe096-3c01-4c63-85fa-c54432680b8e",
"name": "Mistral OCR API: ํ
์คํธ ์ถ์ถ",
"type": "n8n-nodes-base.httpRequest",
"position": [
840,
-240
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "d0443dba-2b91-4750-8d44-9e4312806941",
"name": "๋ฐ์ดํฐ ๋ถํ ๊ธฐ: OCR ํ์ด์ง",
"type": "n8n-nodes-base.splitOut",
"position": [
1080,
-240
],
"parameters": {},
"typeVersion": 1
},
{
"id": "0ae469f6-378b-4d0e-8ba5-6dd2c87ab2da",
"name": "ํ๋ ์ถ์ถ๊ธฐ: ํ์ด์ง ๋งํฌ๋ค์ด",
"type": "n8n-nodes-base.set",
"position": [
1320,
-240
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "ff714c7c-9b60-4074-8003-a0fbca9d9f39",
"name": "๋ฐ์ดํฐ ์ง๊ณ๊ธฐ: ํ์ด์ง ๊ฒฐํฉ",
"type": "n8n-nodes-base.summarize",
"position": [
1540,
-240
],
"parameters": {},
"typeVersion": 1.1
},
{
"id": "42b4088b-2433-4024-8e69-6f9de1969979",
"name": "AI ์์ด์ ํธ: ์ฒญ๊ตฌ์ ๋ฐ์ดํฐ ๊ตฌ์กฐํ",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
1760,
-240
],
"parameters": {},
"typeVersion": 1.9
},
{
"id": "ae95c2f9-f8b3-4b16-b0bb-c0fcc34365cb",
"name": "AI ์์ง: GPT-4o-mini",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
1640,
-20
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "ad61f397-d923-481b-b48c-376e4e287ca7",
"name": "JSON ํ์: ์ฒญ๊ตฌ์ ๊ตฌ์กฐ",
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
"position": [
1940,
-20
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "bc22f1eb-4efa-463c-b86f-6fc8fa76746d",
"name": "์ฒญ๊ตฌ์ ํ์ผ์ Base64๋ก ๋ณํ",
"type": "n8n-nodes-base.extractFromFile",
"position": [
640,
-240
],
"parameters": {},
"typeVersion": 1
}
],
"pinData": {},
"connections": {
"ae95c2f9-f8b3-4b16-b0bb-c0fcc34365cb": {
"ai_languageModel": [
[
{
"node": "42b4088b-2433-4024-8e69-6f9de1969979",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"d0443dba-2b91-4750-8d44-9e4312806941": {
"main": [
[
{
"node": "0ae469f6-378b-4d0e-8ba5-6dd2c87ab2da",
"type": "main",
"index": 0
}
]
]
},
"9b1fe096-3c01-4c63-85fa-c54432680b8e": {
"main": [
[
{
"node": "d0443dba-2b91-4750-8d44-9e4312806941",
"type": "main",
"index": 0
}
]
]
},
"bc22f1eb-4efa-463c-b86f-6fc8fa76746d": {
"main": [
[
{
"node": "9b1fe096-3c01-4c63-85fa-c54432680b8e",
"type": "main",
"index": 0
}
]
]
},
"ff714c7c-9b60-4074-8003-a0fbca9d9f39": {
"main": [
[
{
"node": "42b4088b-2433-4024-8e69-6f9de1969979",
"type": "main",
"index": 0
}
]
]
},
"0ae469f6-378b-4d0e-8ba5-6dd2c87ab2da": {
"main": [
[
{
"node": "ff714c7c-9b60-4074-8003-a0fbca9d9f39",
"type": "main",
"index": 0
}
]
]
},
"0af0b6a6-7ee8-4fdb-a88b-38abad155962": {
"main": [
[
{
"node": "bc22f1eb-4efa-463c-b86f-6fc8fa76746d",
"type": "main",
"index": 0
}
]
]
},
"ad61f397-d923-481b-b48c-376e4e287ca7": {
"ai_outputParser": [
[
{
"node": "42b4088b-2433-4024-8e69-6f9de1969979",
"type": "ai_outputParser",
"index": 0
}
]
]
},
"42b4088b-2433-4024-8e69-6f9de1969979": {
"main": [
[]
]
},
"d7086584-965b-467b-b453-4e43936a4bbe": {
"main": [
[
{
"node": "0af0b6a6-7ee8-4fdb-a88b-38abad155962",
"type": "main",
"index": 0
}
]
]
}
}
}์ด ์ํฌํ๋ก์ฐ๋ฅผ ์ด๋ป๊ฒ ์ฌ์ฉํ๋์?
์์ JSON ๊ตฌ์ฑ ์ฝ๋๋ฅผ ๋ณต์ฌํ์ฌ n8n ์ธ์คํด์ค์์ ์ ์ํฌํ๋ก์ฐ๋ฅผ ์์ฑํ๊ณ "JSON์์ ๊ฐ์ ธ์ค๊ธฐ"๋ฅผ ์ ํํ ํ, ๊ตฌ์ฑ์ ๋ถ์ฌ๋ฃ๊ณ ํ์์ ๋ฐ๋ผ ์ธ์ฆ ์ค์ ์ ์์ ํ์ธ์.
์ด ์ํฌํ๋ก์ฐ๋ ์ด๋ค ์๋๋ฆฌ์ค์ ์ ํฉํ๊ฐ์?
์ค๊ธ - ๊ธ์ต, ์ธ๊ณต์ง๋ฅ
์ ๋ฃ์ธ๊ฐ์?
์ด ์ํฌํ๋ก์ฐ๋ ์์ ํ ๋ฌด๋ฃ์ด๋ฉฐ ์ง์ ๊ฐ์ ธ์ ์ฌ์ฉํ ์ ์์ต๋๋ค. ๋ค๋ง, ์ํฌํ๋ก์ฐ์์ ์ฌ์ฉํ๋ ํ์ฌ ์๋น์ค(์: OpenAI API)๋ ์ฌ์ฉ์ ์ง์ ๋น์ฉ์ ์ง๋ถํด์ผ ํ ์ ์์ต๋๋ค.
๊ด๋ จ ์ํฌํ๋ก์ฐ ์ถ์ฒ
Badr
@b4dr์ด ์ํฌํ๋ก์ฐ ๊ณต์