Download constant/endpoint_type.go from Kyou0203/test-napi: direct link, hf CLI and curl.
- Browser
- Download file 868 Bytes
-
https://huggingface.co/spaces/Kyou0203/test-napi/resolve/main/constant/endpoint_type.go
- Command line
-
hf download hf://spaces/Kyou0203/test-napi/constant/endpoint_type.go
-
curl -L -o endpoint_type.go https://huggingface.co/spaces/Kyou0203/test-napi/resolve/main/constant/endpoint_type.go
868 Bytes
| package constant | |
| type EndpointType string | |
| const ( | |
| EndpointTypeOpenAI EndpointType = "openai" | |
| EndpointTypeOpenAIResponse EndpointType = "openai-response" | |
| EndpointTypeOpenAIResponseCompact EndpointType = "openai-response-compact" | |
| EndpointTypeAnthropic EndpointType = "anthropic" | |
| EndpointTypeGemini EndpointType = "gemini" | |
| EndpointTypeJinaRerank EndpointType = "jina-rerank" | |
| EndpointTypeImageGeneration EndpointType = "image-generation" | |
| EndpointTypeEmbeddings EndpointType = "embeddings" | |
| EndpointTypeOpenAIVideo EndpointType = "openai-video" | |
| //EndpointTypeMidjourney EndpointType = "midjourney-proxy" | |
| //EndpointTypeSuno EndpointType = "suno-proxy" | |
| //EndpointTypeKling EndpointType = "kling" | |
| //EndpointTypeJimeng EndpointType = "jimeng" | |
| ) | |