-
### System Info
langchian=0.0.352
qianfan=0.2.4
When I tried the usage of agent in this [video](https://learn.deeplearning.ai/langchain/lesson/7/agents), I changed the model in it from ChatGpt-…
-
### System Info
langchain version 0.0.332, affect all platforms
There is a mistake in the file:
qianfan\resources\llm\completion.py
this `endpoint="/chat/completions-pro`, is not correct ,it shoul…
-
**例行检查**
[//]: # (方框内删除已有的空格,填 x 号)
+ [x] 我已确认目前没有类似 issue
+ [x] 我已确认我已升级到最新版本
+ [x] 我已完整查看过项目 README,尤其是常见问题部分
+ [x] 我理解并愿意跟进此 issue,协助测试和提供反馈
+ [x] 我理解并认可上述内容,并理解项目维护者精力有限,**不遵循规则的 issue 可能…
-
在AIStudio中无法通过
```
! export EB_AGENT_ACCESS_TOKEN=
! export EB_AGENT_LOGGING_LEVEL=info
```
导入环境变量,从而增加ernie-bot-agent在aistudio上应用和部署的难度。
-
import os
import qianfan
os.environ["QIANFAN_ACCESS_KEY"]="--"
os.environ["QIANFAN_SECRET_KEY"]="--"
chat_comp = qianfan.ChatCompletion()
resp = chat_comp.do(endpoint="your_custom_endpoint", …
-
### System Info
It was unexpected that I had to provide the accss_token when using QianfanLLMEndpoint
Name: langchain
Version: 0.0.312
Name: qianfan
Version: 0.0.6
### Who can help…
-
Can the project be run on a computer without a graphics card?
-
如题,我知道是可以的,但是遇到一些问题,报错:KeyError: 'Could not automatically map ernie-bot-4 to a tokeniser. Please use tiktoken.get_encoding to explicitly get the tokeniser you expect.
需要提供模型的分词器给XAgent以支持Context管理功能,…
-
# 按文档配置
百度 千帆 API
支持ERNIE-*模型和部分主流开源模型,详见metagpt/utils/token_counter.py
使用安全认证AK/SK鉴权
使用model进行调用
yaml
llm:
api_type: qianfan
access_key: 'YOUR_ACCESS_KEY'
secret_key: 'YOUR_SECRET_…
-
**问题描述 / Problem Description**
`docker run -v /home/ubuntu/custom_models/qwen-7b-chat:/Qwen/Qwen-7B-Chat -d --gpus all -p 80:8501 registry.cn-beijing.aliyuncs.com/chatchat/chatchat:0.2.7`
模型已经提前…