Skip to content

[Feature Request]: Can RagFlow support ctyun(ctcloud)'s API ? #5462

Open
@GMorandi

Description

@GMorandi

Is there an existing issue for the same feature request?

  • I have checked the existing issues.

Is your feature request related to a problem?

AS the title says , I resently got some Api powered py ctyun, i tried on ragflow but it shows connect error,

Describe the feature you'd like

i hope ragflow support ctyun api , or give us a config that can support openai-like api

Describe implementation you've considered

No response

Documentation, adoption, use case

https://huiju.ctyun.cn/modelSquare/7ba7726dad4c4ea4ab7f39c7741aea68?regionId=200000001852&tab=API_DOCUMENT

request

curl --location 'https://wishub-x1.ctyun.cn/v1/chat/completions' \
--header 'Authorization: Bearer APP_KEY' \
--header 'Content-Type: application/json' \
--data '{
 "model": "MODEL_ID",
 "stream": true,
 "messages": [
 {
 "role": "user",
 "content": "你是谁"
 }
 ]
 }'

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions