You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In module 4, research assistant, some models will not respond if the final message in the conversation is an AIMessage (which is always the case), so you may have to modify search_wikipedia and search_web to "humanize" the last message like: msg = HumanMessage(content=msg.content). This is true for local models but may even be true for non gpt models (When I run mistral-nemo locally, it will not respond. If you have a ChatMistral, that would behave the same way). Likewise the quality will be a lot lower if we do not do the same for generate_answer, as its references will be intact but no write up will be done by the expert
The text was updated successfully, but these errors were encountered:
rlancemartin
changed the title
Add HumanMessage to output of search_wikipedia, search_web in M4
Use alternating Human / AI messages in M4, Assistant
Sep 24, 2024
@robbiemu noted
The text was updated successfully, but these errors were encountered: