Spaces:
Sleeping
Sleeping
jonathanjordan21
commited on
Update custom_llm.py
Browse files- custom_llm.py +0 -6
custom_llm.py
CHANGED
@@ -280,12 +280,6 @@ def custom_combined_chain(llm, df_chain, memory_chain):
|
|
280 |
|
281 |
</s></INST>""")
|
282 |
|
283 |
-
branch = RunnableBranch(
|
284 |
-
(lambda x: "anthropic" in x["topic"].lower(), anthropic_chain),
|
285 |
-
(lambda x: "langchain" in x["topic"].lower(), langchain_chain),
|
286 |
-
general_chain,
|
287 |
-
)
|
288 |
-
|
289 |
# def route(info):
|
290 |
# if 'ticket' in info['topic']:
|
291 |
# return df_chain
|
|
|
280 |
|
281 |
</s></INST>""")
|
282 |
|
|
|
|
|
|
|
|
|
|
|
|
|
283 |
# def route(info):
|
284 |
# if 'ticket' in info['topic']:
|
285 |
# return df_chain
|