1. 랭체인 이미지 인식 후 처리 마무리
2. fastAPI로 프로젝트 구조 실습 1. 랭체인 이미지 인식 후 처리 마무리 2. fastAPI로 프로젝트 구조 실습
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
from backend.ai.llm import watson_llm
|
||||
|
||||
# LLM 모델 통신
|
||||
# 데이터베이스 통신
|
||||
|
||||
def question_and_answer(question):
|
||||
response = watson_llm.invoke(question)
|
||||
return response.content
|
||||
Reference in New Issue
Block a user