custom model in search
This commit is contained in:
parent
3ea4e41a78
commit
5aab6bdb69
1 changed files with 3 additions and 2 deletions
|
|
@ -37,8 +37,9 @@ with ask_tab:
|
||||||
messages = [question]
|
messages = [question]
|
||||||
rag_results = rag_graph.invoke(
|
rag_results = rag_graph.invoke(
|
||||||
dict(
|
dict(
|
||||||
messages=messages
|
messages=messages,
|
||||||
), # config=dict(configurable=dict(model_id=model.id))
|
),
|
||||||
|
config=dict(configurable=dict(model_id=model.id)),
|
||||||
)
|
)
|
||||||
st.markdown(convert_source_references(rag_results["messages"][-1].content))
|
st.markdown(convert_source_references(rag_results["messages"][-1].content))
|
||||||
with st.expander("Details (for debugging)"):
|
with st.expander("Details (for debugging)"):
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue