웹사이트에서 Pinecone 벡터 데이터베이스 채우기#
n8n을 사용하여 웹사이트를 스크랩하고 데이터를 Pinecone에 로드한 다음 채팅 워크플로우를 사용하여 쿼리합니다. 이 워크플로우는 HTTP 노드를 사용하여 웹사이트 데이터를 가져오고 HTML 노드를 사용하여 관련 콘텐츠를 추출한 다음 Pinecone 벡터 저장소 노드를 사용하여 Pinecone으로 보냅니다.
주요 기능#
이 워크플로우는 다음을 사용합니다.
- HTTP 노드: 웹사이트 데이터를 가져옵니다.
- HTML 노드: 페이지에서 기본 콘텐츠를 추출하여 데이터를 단순화합니다.
- Pinecone 벡터 저장소 노드 및 Embeddings OpenAI: 데이터를 벡터로 변환하여 Pinecone에 저장합니다.
- 채팅 트리거 및 질의응답 체인을 사용하여 벡터 데이터베이스를 쿼리합니다.
예제 사용#
To load the template into your n8n instance:
- Download the workflow JSON file.
- Open a new workflow in your n8n instance.
- Copy in the JSON, or select Workflow menu
> Import from file....
The example workflows use Sticky Notes to guide you:
- Yellow: notes and information.
- Green: instructions to run the workflow.
- Orange: you need to change something to make the workflow work.
- Blue: draws attention to a key feature of the example.