File size: 312 Bytes
2f9e3a2 |
1 2 3 4 5 6 7 8 9 10 11 |
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"]
|