mirror of
https://github.com/hwanny1128/HGZero.git
synced 2026-01-21 11:26:23 +00:00
Merge pull request #56 from hwanny1128/feat/rag-function
Feat/rag function
This commit is contained in:
commit
2985e3af08
@ -15,7 +15,7 @@ import org.springframework.context.annotation.Configuration;
|
|||||||
*/
|
*/
|
||||||
@Configuration
|
@Configuration
|
||||||
@Slf4j
|
@Slf4j
|
||||||
@org.springframework.boot.autoconfigure.condition.ConditionalOnExpression("'${eventhub.connection-string:}'.length() > 0")
|
@ConditionalOnProperty(name = "eventhub.connection-string")
|
||||||
public class EventHubConfig {
|
public class EventHubConfig {
|
||||||
|
|
||||||
@Value("${eventhub.connection-string}")
|
@Value("${eventhub.connection-string}")
|
||||||
|
|||||||
@ -294,7 +294,7 @@ class EventHubConsumer:
|
|||||||
|
|
||||||
# 7. SSE를 통해 결과 전송
|
# 7. SSE를 통해 결과 전송
|
||||||
# Event Hub 메시지에서 sessionId 추출 (여러 필드 확인)
|
# Event Hub 메시지에서 sessionId 추출 (여러 필드 확인)
|
||||||
session_id = event_data.get("sessionId")
|
session_id = event_data.get("meetingId") # front 요청(회의 주최자만 확인 가능 이슈)으로 이벤트의 sessionId 기준이 아닌 meetingId 기준으로 SSE 연동
|
||||||
# session_id = event_data.get("sessionId") or event_data.get("session_id") or event_data.get("meetingId") or meeting_id
|
# session_id = event_data.get("sessionId") or event_data.get("session_id") or event_data.get("meetingId") or meeting_id
|
||||||
|
|
||||||
logger.info(f"SSE 전송 시도: sessionId={session_id}, meetingId={meeting_id}")
|
logger.info(f"SSE 전송 시도: sessionId={session_id}, meetingId={meeting_id}")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user