Skip to content

[Feat] OllamaClient 연동 #67

Description

@kangcheolung

📌 Description

F-RAG-01에서 조립한 프롬프트를 Ollama(qwen2.5:3b)에 전달하여 답변 텍스트를 생성하는 HTTP 클라이언트를 구현한다.

✅ To-do

  • OllamaServerConfig: RestClient Bean 등록 (EmbeddingServerConfig와 동일 패턴)
  • OllamaClient: /api/generate 호출 구현
  • 타임아웃/응답 없음 예외 처리 → DocGridException + ErrorCode.RAG_SERVICE_UNAVAILABLE(503)

📒 기타

  • NO_CONTEXT 판단 로직은 이 클라이언트에 넣지 않음 (Issue 5의 RagFacade 담당)
  • 실제 rag_responses 저장 처리는 Issue 3에서 진행
  • 순수 HTTP 클라이언트로 얇게 유지

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions