yalei
yalei
呃,在mac下使用一直不生效。Default 切换direct/system都一样,直接修改/etc/hosts文件是可以的。 同时使用了SwitchyOmega扩展,但已经设置了全都不走代理。多次切换到隐身模式测试,均无效。跟系统有关系么?
我这里测试的没问题: ```r > d = getCoordinate(c('安阳高新技术产业开发区','安阳县安丰乡','安阳县白璧镇','安阳县柏庄镇','安阳县北郭乡','安阳县崔家桥镇','安阳县都里镇','安阳县韩陵镇','安阳县洪河屯乡','安阳县磊口乡','安阳县伦掌镇','安阳县吕村镇','安阳县 马家乡','安阳县曲沟镇','安阳县善应镇','安阳县水冶镇','安阳县铜冶镇','安阳县辛村镇','安阳县许家沟乡','安阳县永和 镇'), formatted = T) > d longtitude latitude 安阳高新技术产业开发区 114.3995 36.10594 安阳县安丰乡 114.2862 36.24069 安阳县白璧镇 114.5040 36.09331 安阳县柏庄镇 114.3922 36.20425 安阳县北郭乡 114.7227 36.11560...
我其实不太记得为啥一次只能抓600个了,多于600会报什么错误么? 看源代码,超过600会尝试用`parallel`包来并行抓取。
这个包只是对百度的接口做了简单的封装,很多新的接口都没有更新进来。 如果你对接口调用有些了解,可以看看这个[批量服务](http://lbsyun.baidu.com/index.php?title=webapi/guide/batch),直接请求这个链接,应该会快的多。 否则的话,就循环调用目前已有的函数,慢慢跑,没有限额问题的话,最慢一两个小时总能跑完的。
你的经纬度数据,可能跟百度地图的坐标体系不同,参见:http://lbsyun.baidu.com/index.php?title=webapi/guide/changeposition 包里提供的坐标转换函数是`geoconv`。
You may run out of your quota. Come here and check it: http://lbsyun.baidu.com/apiconsole/quota
Just check the "Place API v2" (BTW, it is not real time). According to your screenshot, you can only call the API 2000 times every day. When running the "getPlace"...
> We will add more different splitter rules for user to choose in our roadmap , becauser no one is better than the other but just when one fits more...
> It depends on the embedding model. What is yours? I use `text-embedding-3-small`. If I select "automatic" chunking, it works without error.
> And what model you are using failed this process? Azure openai service. text-embedding-3-small. The problem has nothing to do with the models. I already uploaded the testing file "p.csv"...