Giter Club home page Giter Club logo

Comments (9)

Vinlic avatar Vinlic commented on August 15, 2024

无法上传文件到kimi,换一个国内的环境调用。

from kimi-free-api.

shidianxia avatar shidianxia commented on August 15, 2024

我是本地搭了个调用的,是国内环境。

from kimi-free-api.

Vinlic avatar Vinlic commented on August 15, 2024

那可能需要检查网络配置,尝试传送小文件测试。

from kimi-free-api.

shidianxia avatar shidianxia commented on August 15, 2024

90kB小图可以了, 我上传一个3M的jpg就不行。😭
感谢!

from kimi-free-api.

Vinlic avatar Vinlic commented on August 15, 2024

理论上3M不算大,可能还是网络传送问题,我尝试过10M的传输。

from kimi-free-api.

shidianxia avatar shidianxia commented on August 15, 2024

同样的大图,在kimi官方的网页上传正常,但是用本地的代理api就不行,很奇怪。

from kimi-free-api.

shidianxia avatar shidianxia commented on August 15, 2024

代理api我用url和base64试了都不行,这是我的请求体:

{
    "model": "kimi",
    "messages": [
        {
            "role": "user",
            "content": [
                {
                    "type": "image_url",
                    "image_url": {
                        "url": "http://www.bilepet.com/upfiles/product/臻全价狗粮12KG.jpg"
                    }
                },
                {
                    "type": "text",
                    "text": "提取图中的产品成分"
                }
            ]
        }
    ],
    "use_search": false
}

from kimi-free-api.

Vinlic avatar Vinlic commented on August 15, 2024

@shidianxia
似乎某些大文件的预处理存在延迟,0.0.30版本已经增加处理重试,目前可以正常处理该文件
image

from kimi-free-api.

shidianxia avatar shidianxia commented on August 15, 2024

已正常。感谢!

from kimi-free-api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.