Final_Assignment / graphs /question_map.py
sebastianfrench's picture
test first question
2f9e3a2
raw
history blame contribute delete
312 Bytes
from langchain_core.messages import HumanMessage, SystemMessage
from models.models import groq_model
def question_map(state:HumanMessage):
"""
This funtion replace the initial question for a one with a detail expected answer.
"""
question = """/ \n Question:""" + state["content"]