Skip to content

[TIL] 2025-06-27 | ai 추천 #83

@s0ooo0k

Description

@s0ooo0k

TIL - 2025-06-27

💡 새롭게 배운 것

❗ 오늘의 문제 상황 & 🚀 시도 및 해결 과정

Qdrant DB 연결 시에 계속 404 Error가 발생함
➡️ 1. Collection 미생성 오류라고 생각해서 PUT으로 컬렉션 생성

curl -X PUT \> 'http://localhost:6333/collections/collection_name' \> --header 'api-key: <api-key-value>' \> --header 'Content-Type: application/json' \> --data-raw '{> "vectors": {> "size": 384,> "distance": "Cosine"> }>}'

=> 컬렉션 체크는 가능 !

근데 여전히 ..

HTTP status code 404
invalid content-type: null

해결 방법

  • LangChain4j QdrantEmbeddingStore - GRPC 프로콜 사용 -> Qdrant Clud GRPC 엔드포인트가 달랐음
  • 따라서 port 번호를 6334로 변경!

했더니

Image

잘 됐다!

⭐ 느낀 점

✒️ 데일리 회고

Metadata

Metadata

Assignees

Labels

TILToday I Learned..

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions