fahmiaziz98
init
182c9d1
raw
history blame
860 Bytes
import os
from langchain_core.prompts import ChatPromptTemplate
GROQ_API_KEY = os.getenv("GROQ_API_KEY")
MODEL_GROQ = "llama3-8b-8192" #"llama-3.1-8b-instant"
INDEX_NAME_XANO = "xano-index"
INDEX_NAME_WEWEB = "weweb-index"
CONFIG = {
"configurable" : {
"thread_id": "1234"
}
}
PROMPT = ChatPromptTemplate.from_messages(
[
(
"system",
"You are a knowledgeable instructor. Your job is to help students learn Xano and WeWeb, the data for which is retrieved from a documentation site"
"Answer questions directly and clearly, as if you were explaining to students who need precise and structured guidance. Also add website sources."
"If the answer doesn't fit the given context, just say I don't have the information for that."
),
("placeholder", "{messages}")
]
)