ππ» Assistant demo
π» Demo 04 on github LLM1 error: #<Net::HTTPNotFound:0x00003e255380ab40>π @query: 'latest 3 stories from France'
Back to Assistant demo home .
LLM: Langchain::LLM::GoogleGemini
LLM authenticated?: true
LLM description: Gemini LLM (consumer) - should have low QPS
π Role | Content | ||
---|---|---|---|
Role | Conversation | ||
π€ user |
|
latest 3 stories from France |
#<Langchain::Messages::GoogleGeminiMessage:0x00003e25539cf610 @role="user", @content="latest 3 stories from France", @tool_calls=[], @tool_call_id=nil> |
π€ model |
π€ [model] π οΈ [1/1] π οΈ [0;90;49m{"name"=>"news_retriever__get_top_headlines", "args"=>{"country"=>"fr", "page_size"=>3}}[0m |
content_err: can't modify frozen String: "" |
#<Langchain::Messages::GoogleGeminiMessage:0x00003e2553b63b20 @role="model", @content="", @tool_calls=[{"functionCall"=>{"name"=>"news_retriever__get_top_headlines", "args"=>{"country"=>"fr", "page_size"=>3}}}], @tool_call_id=nil> |
π οΈ function |
|
{"status":"ok","totalResults":0,"articles":[]} |
#<Langchain::Messages::GoogleGeminiMessage:0x00003e2553b99658 @role="function", @content="{\"status\":\"ok\",\"totalResults\":0,\"articles\":[]}", @tool_calls=[], @tool_call_id="news_retriever__get_top_headlines"> |
π€ model |
|
No articles found for France. |
#<Langchain::Messages::GoogleGeminiMessage:0x00003e2553b94748 @role="model", @content="No articles found for France.\n", @tool_calls=[], @tool_call_id=nil> |
π€ user |
|
Please save the first article to the DB |
#<Langchain::Messages::GoogleGeminiMessage:0x00003e2553b946a8 @role="user", @content="Please save the first article to the DB", @tool_calls=[], @tool_call_id=nil> |
π€ model |
|
No articles were found for your query, so there's nothing to save to the database. |
#<Langchain::Messages::GoogleGeminiMessage:0x00003e2553c0f560 @role="model", @content="No articles were found for your query, so there's nothing to save to the database.\n", @tool_calls=[], @tool_call_id=nil> |
π€ user |
|
If you were able to save that article to the DB, please provide the Carlessian URL |
#<Langchain::Messages::GoogleGeminiMessage:0x00003e2553c0f510 @role="user", @content="If you were able to save that article to the DB, please provide the Carlessian URL", @tool_calls=[], @tool_call_id=nil> |
π€ model |
|
Since no articles were retrieved for your query, there's no article saved in the database and therefore no Carlessian URL to provide. |
#<Langchain::Messages::GoogleGeminiMessage:0x00003e2553c0a3d0 @role="model", @content="Since no articles were retrieved for your query, there's no article saved in the database and therefore no Carlessian URL to provide.\n", @tool_calls=[], @tool_call_id=nil> |
Computer's last messageπ¬
Answer to Q1: article search
π€No articles were found for your query, so there's nothing to save to the database.
Answer to Q2: add article to ActiveRecord
π€Since no articles were retrieved for your query, there's no article saved in the database and therefore no Carlessian URL to provide.
Gemini text @answer1_position = 4
Person text @answer2_position = 6
@assistant.history
π @query: 'latest 3 stories from France'
Back to Assistant demo home .
LLM: Langchain::LLM::GoogleVertexAI
LLM authenticated?: true
LLM description: Vertex Manhouse - in case it behaves differnetly from first vertex Riccardo after lunch just remove the firsty and change with this backfilling in config/initliazers and fix vertexLM there
π Role | Content | ||
---|---|---|---|
Role | Conversation | ||
π€ user |
|
latest 3 stories from France |
#<Langchain::Messages::GoogleGeminiMessage:0x00003e2553c08ad0 @role="user", @content="latest 3 stories from France", @tool_calls=[], @tool_call_id=nil> |
π€ model |
π€ [model] π οΈ [1/1] π οΈ [0;90;49m{"name"=>"news_retriever__get_top_headlines", "args"=>{"country"=>"fr", "page_size"=>3}}[0m |
content_err: can't modify frozen String: "" |
#<Langchain::Messages::GoogleGeminiMessage:0x00003e2553c03260 @role="model", @content="", @tool_calls=[{"functionCall"=>{"name"=>"news_retriever__get_top_headlines", "args"=>{"country"=>"fr", "page_size"=>3}}}], @tool_call_id=nil> |
π οΈ function |
|
{"status":"ok","totalResults":0,"articles":[]} |
#<Langchain::Messages::GoogleGeminiMessage:0x00003e2553c00830 @role="function", @content="{\"status\":\"ok\",\"totalResults\":0,\"articles\":[]}", @tool_calls=[], @tool_call_id="news_retriever__get_top_headlines"> |
π€ model |
|
No articles found for France. |
#<Langchain::Messages::GoogleGeminiMessage:0x00003e2553c2b828 @role="model", @content="No articles found for France.\n", @tool_calls=[], @tool_call_id=nil> |
π€ user |
|
Please save the first article to the DB |
#<Langchain::Messages::GoogleGeminiMessage:0x00003e2553c2b788 @role="user", @content="Please save the first article to the DB", @tool_calls=[], @tool_call_id=nil> |
π€ model |
|
No articles were found for your query, so there's nothing to save to the database. |
#<Langchain::Messages::GoogleGeminiMessage:0x00003e2553c26738 @role="model", @content="No articles were found for your query, so there's nothing to save to the database.\n", @tool_calls=[], @tool_call_id=nil> |
π€ user |
|
If you were able to save that article to the DB, please provide the Carlessian URL |
#<Langchain::Messages::GoogleGeminiMessage:0x00003e2553c266e8 @role="user", @content="If you were able to save that article to the DB, please provide the Carlessian URL", @tool_calls=[], @tool_call_id=nil> |
π€ model |
|
Since no articles were retrieved for your query, there's no article saved in the database and therefore no Carlessian URL to provide. |
#<Langchain::Messages::GoogleGeminiMessage:0x00003e2553c21288 @role="model", @content="Since no articles were retrieved for your query, there's no article saved in the database and therefore no Carlessian URL to provide.\n", @tool_calls=[], @tool_call_id=nil> |
Computer's last messageπ¬
Answer to Q1: article search
π€No articles were found for your query, so there's nothing to save to the database.
Answer to Q2: add article to ActiveRecord
π€Since no articles were retrieved for your query, there's no article saved in the database and therefore no Carlessian URL to provide.
Gemini text @answer1_position = 4
Person text @answer2_position = 6