We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
git pull
pip install -r requirements.txt
你的问题是否在test.py能复现?
你复现时的config.json,注意抹去你的api-key
{ "tools": [], "kwargs": { "debug": true // debug模式一定要打开 } }
想替换这个文件下的OPEN_METEO_DOCS 提示词,并且已经替换掉。 meteo.docs_prompt import OPEN_METEO_DOCS 但是调用后还是原来的地址,原来的信息。如何调用?
[替换我]
[DEBUG][2023-07-31 01:21:35][tool.py:68] - [tool] on_handle_context. content: /tool 明天太原适合出门吗 [DEBUG][2023-07-31 01:21:35][session_manager.py:70] - prompt tokens used=949 [DEBUG][2023-07-31 01:21:35][tool.py:102] - [tool]: just-go [INFO][2023-07-31 01:21:35][victorinox.py:111] - 提问: 明天太原适合出门吗 [INFO][2023-07-31 01:21:39][base.py:227] - LLM-OS的内心独白: [INFO][2023-07-31 01:21:39][base.py:177] - 执行Tool: meteo-weather中... [INFO][2023-07-31 01:21:39][base.py:115] - 输入: 太原明天的天气 [INFO][2023-07-31 01:21:39][tool_engine.py:134] - 我将给工具发送如下信息: 太原明天的天气 [INFO][2023-07-31 01:21:46][base.py:77] - URL 构造: https://api.open-meteo.com/v1/forecast?latitude=37.87&longitude=112.55&daily=temperature_2m_max,temperature_2m_min,precipitation_sum,rain_sum,weathercode,sunrise,sunset,windspeed_10m_max,windgusts_10m_max,winddirection_ 10m_dominant&timezone=Asia%2FShanghai&start_date=2023-08-01&end_date=2023-08-01 [INFO][2023-07-31 01:21:47][base.py:87] - API 响应: '{"latitude":37.875,"longitude":112.5,"generationtime_ms":2.2629499435424805,"utc_offset_seconds":28800,"timezone":"Asia/Shanghai","timezone_abbreviation":"CST","elevation":787.0,"daily_units":{"time":"iso8601","tempera ture_2m_max":"°C","temperature_2m_min":"°C","precipitation_sum":"mm","rain_sum":"mm","weathercode":"wmo code","sunrise":"iso8601","sunset":"iso8601","windspeed_10m_max":"km/h","windgusts_10m_max":"km/h","winddirection_10m_dominant":"°"},"daily":{"time":["2023-08-01"],"te mperature_2m_max":[30.0],"temperature_2m_min":[23.1],"precipitation_sum":[3.00],"rain_sum":[0.00],"weathercode":[80],"sunrise":["2023-08-01T05:32"],"sunset":["2023-08-01T19:39"],"windspeed_10m_max":[12.2],"windgusts_10m_max":[29.5],"winddirection_10m_dominant":[125]}}' [INFO][2023-07-31 01:21:55][tool_engine.py:163] - 工具 meteo-weather 返回内容: 根据API的响应结果,我们可以得到太原明天的天气信息。根据API文档中的daily_units字段,我们可以知道temperature_2m_max表示最高温度,temperature_2m_min表示最低温度,precipitation_sum表示降水量,weat hercode表示天气代码。根据API的响应结果,太原明天的天气情况如下: - 最高温度:30.0°C - 最低温度:23.1°C - 降水量:3.00mm - 天气代码:80 以上是根据API的响应结果得出的太原明天的天气情况。 [INFO][2023-07-31 01:21:55][tool_engine.py:193] - 我从[meteo-weather]中获得了一些信息: '根据API的响应结果,我们可以得到太原明天的天气信息。根据API文档中的daily_units字段,我们可以知道temperature_2m_max表示最高温度,temperature_2m_min表示最低温度,precipitation_sum表示降水量,weathercode表示天气代码。根据API的响应结果,太原明天的天气情况如下:\n\n- 最高温度 :30.0°C\n- 最低温度:23.1°C\n- 降水量:3.00mm\n- 天气代码:80\n\n以上是根据API的响应结果得出的太原明天的天气情况。' [INFO][2023-07-31 01:21:58][base.py:227] - LLM-OS的内心独白:
python -V
pip -V
The text was updated successfully, but these errors were encountered:
No branches or pull requests
前置确认
1. 网络能够访问openai接口
2.
git pull
拉取最新代码3. 执行
pip install -r requirements.txt
,检查依赖是否满足4. 在已有 issue 中未搜索到类似问题
5. 注意,提issue前请确认用本项目test.py(参考README.md 快速开始配置)重试一次你的问题是否能复现
问题描述
你的问题是否在test.py能复现?
你复现时的config.json,注意抹去你的api-key
环境
python -V
):pip -V
):The text was updated successfully, but these errors were encountered: