nav13n commited on
Commit
6757689
·
1 Parent(s): e507d4b

first commit

Browse files
Files changed (2) hide show
  1. app.py +1 -2
  2. sage.py +0 -7
app.py CHANGED
@@ -4,8 +4,7 @@ from sage import app
4
  from langchain.schema.runnable import RunnableConfig
5
 
6
 
7
- welcome_message = "Welcome! I am Sage,a digital assistant that help you quickly find answers to HR and policy questions. How can I help you today?"
8
-
9
  @cl.on_chat_start
10
  async def start_chat():
11
  await cl.Message(content=welcome_message).send()
 
4
  from langchain.schema.runnable import RunnableConfig
5
 
6
 
7
+ welcome_message = "Welcome! I'm Sage, your friendly AI assistant. I'm here to help you quickly find answers to your HR and policy questions. What can I assist you with today?"
 
8
  @cl.on_chat_start
9
  async def start_chat():
10
  await cl.Message(content=welcome_message).send()
sage.py CHANGED
@@ -675,10 +675,3 @@ workflow.add_edge("policy_agent", "generator_agent")
675
  workflow.add_edge("generator_agent", END)
676
 
677
  app = workflow.compile()
678
-
679
-
680
- from langchain_core.runnables import chain
681
- @chain
682
- def sage_chain(question):
683
- inputs = {"question": question}
684
- return app.invoke(inputs)
 
675
  workflow.add_edge("generator_agent", END)
676
 
677
  app = workflow.compile()