large-models-interface
Version:
A comprehensive, unified interface for all types of AI models - natural language, vision, audio, and video. Supports 51 providers with dynamic model discovery and multi-modal capabilities.
28 lines • 966 B
JSON
{
"url": "https://us-south.ml.cloud.ibm.com/ml/v1/text/generation?version=2023-05-02",
"model": {
"default": "ibm/granite-13b-chat-v2",
"large": "meta-llama/llama-3-70b-instruct",
"small": "google/flan-t5-xxl",
"agent": "meta-llama/llama-3-70b-instruct"
},
"embeddingUrl": "https://us-south.ml.cloud.ibm.com/ml/v1/text/embeddings?version=2023-05-02",
"embeddings": {
"expects": {
"inputs": "{embedding}",
"model_id": "{model}",
"space_id": "{second}"
},
"results": "response.data.results[0].embedding",
"default": "ibm/slate-125m-english-rtrvr",
"large": "ibm/slate-125m-english-rtrvr",
"small": "ibm/slate-30m-english-rtrvr"
},
"createMessageObject": "getMessageObject",
"stream": false,
"jsonMode": false,
"maxTokens": true,
"hasEmbeddings": true,
"modelsEndpoint": "https://us-south.ml.cloud.ibm.com/ml/v1/foundation_model_specs",
"modelsFile": "./data/models/ibmwatsonai.json"
}