• laozu

    给大家分享一波 typesafe Jev 官key,共享总额度 1000 美元,所有人一起用,先到先用,用完继续补

    Jev 是 TypeSafe 的结构化判断模型:给它 state 和 questions,它会返回对应的判断结果和概率。这里用的是 /v1/systemone 接口,不是聊天补全接口。

    - 接口:https://www.1949-x.中国/v1/systemone

    - 模型:jev-latest

    - 共享 API Key:sk-e34dbcffabffb0f82a6095a0424b8927db78adf3f3f857cd5d6371165c97278f

    下面是一个判断文本是否不安全的例子,把 <共享 API Key> 替换为上面的 Key 即可:```
    curl -X POST "https://www.1949-x.中国/v1/systemone&quot; \
    -H "Authorization: Bearer <共享 API Key>" \
    -H "Content-Type: application/json" \
    --data '{
    "model": "jev-latest",
    "state": "Text to evaluate",
    "questions": {
    "safety": {
    "type": "noul",
    "instructions": "Evaluate whether the text is unsafe"
    }
    }
    }'
    ```欢迎用完或遇到接口问题时在楼里提醒大家。

    主楼
  • guaobai

    想知道大家是怎么用这类模型的,没有听过啊 ^-^

    #1
  • laozu

    我也没啥业务场景, 所以我贡献出来,让有需要的佬来蹬

    #2
  • Magisk317

    zcode好像报错:```
    jev-latest 连接失败:TLS validation failed for the provider request.

    #3
  • laozu

    再试一下,我没做什么限制,是证书的问题

    #4
  • Magisk317

    上边的命令你本地试过么```
    -> % curl -X POST "https://1949-x.中国/v1/systemone&quot; \
    -H "Authorization: Bearer sk-***" \
    -H "Content-Type: application/json" \
    --data '{
    "model": "jev-latest",
    "state": "Text to evaluate",
    "questions": {
    "safety": {
    "type": "noul",
    "instructions": "Evaluate whether the text is unsafe"
    }
    }
    }'
    curl: (60) SSL: no alternative certificate subject name matches target hostname '1949-x.中国'
    More details here: https://curl.se/docs/sslcerts.html

    curl failed to verify the legitimacy of the server and therefore could not
    establish a secure connection to it. To learn more about this situation and
    how to fix it, please visit the webpage mentioned above.

    #5
  • Magisk317

    AI

    供应商把 baseURL 指向了一个「证书只签了 IP、没签域名」的端点(估计是用 IP 方式申请的 LE 证书,不是 DNS-01)

    但是,即使直接使用ip请求也不行,410,服务整个不在线

    #6
  • laozu

    https://www.1949-x.中国/v1/systemone

    使用这个

    #7
  • 陈物

    佬,你可以做个转接器挂在你自己vm上的。这样其他佬友就可以以OpenAI格式来接入了。

    (我是这么做的,测试过能用)

    #8
  • laozu

    这个怎么操作,有教程吗

    #9
  • 廿四

    我用来接sub2api做内容审查,不过自己的5美刀也够用了

    #10
  • laozu

    根本用不完,还有几w刀

    #11
  • Zane你发财

    谢谢佬友!那我必须狠狠的开蹬~虽然也用不了多少

    图片

    #12
  • laozu

    使劲蹬,根本用不完

    #13
  • 夏科

    感谢佬友,蹬一下玩一玩

    #14
  • a121174361

    谢谢,先收藏了,看看如何来蹬!

    #15
  • 陈物

    可以让agent去做就行了,我也只是vibe了一个,具体实现途径是一点不知道 ^-^

    #16
  • laozu

    我的中转站都是自用的,没必要过滤

    #17
  • Zane你发财

    API HTTP 401: {“code”:“USER_INACTIVE”,“message”:“User account is not active”}

    佬,今天发现不能打分了,弹出这个问题。

    #18

发表回复

登录后回复