{
  "manifest_version": "1.0.0",
  "template": {
    "id": "f18de396-74c0-4d1e-a519-eb5aff098497",
    "slug": "v2UVYh",
    "name": "astra-assistants-chat-ui",
    "description": "DataStax Open Source GenAI Starter",
    "url": "https://railway.com/deploy/v2UVYh",
    "upstream": {
      "repo_url": "https://github.com/datastax/chat-ui"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "chat-ui",
      "source": {
        "repo": "https://github.com/datastax/chat-ui"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "MODELS",
      "service": "chat-ui",
      "description": "Valid models for use with assistants api",
      "secret": false,
      "strategy": "default",
      "default": "[     {        \"name\": \"huggingface/mistralai/Mistral-7B-Instruct-v0.1\",       \"displayName\": \"mistralai/Mistral-7B-Instruct-v0.1\",       \"description\": \"Mistral 7B is a new Apache 2.0 model, released by Mistral AI that outperforms Llama2 13B in benchmarks.\",       \"endpoints\": [{         \"type\" : \"openai\",       }],     },     {       \"name\": \"huggingface/meta-llama/Llama-2-70b-chat-hf\",       \"displayName\": \"meta-llama/Llama-2-70b-chat-hf\",       \"description\": \"The latest and biggest model from Meta, fine-tuned for chat.\",       \"endpoints\": [{         \"type\" : \"openai\",       }],     },     {       \"name\": \"huggingface/NousResearch/Nous-Hermes-2-Mixtral-8x7B-DPO\",       \"displayName\": \"NousResearch/Nous-Hermes-2-Mixtral-8x7B-DPO\",       \"description\": \"Nous Hermes 2 Mixtral 8x7B DPO is the new flagship Nous Research model trained over the Mixtral 8x7B MoE LLM.\",       \"endpoints\": [{         \"type\" : \"openai\",       }],     },     {       \"name\": \"huggingface/codellama/CodeLlama-70b-Instruct-hf\",       \"displayName\": \"codellama/CodeLlama-70b-Instruct-hf\",       \"description\": \"Code Llama, a state of the art code model from Meta. Now in 70B!\",       \"endpoints\": [{         \"type\" : \"openai\",       }],     },     {       \"name\": \"huggingface/mistralai/Mistral-7B-Instruct-v0.2\",       \"displayName\": \"mistralai/Mistral-7B-Instruct-v0.2\",       \"description\": \"Mistral 7B is a new Apache 2.0 model, released by Mistral AI that outperforms Llama2 13B in benchmarks.\",       \"endpoints\": [{         \"type\" : \"openai\",       }],     },     {       \"name\": \"huggingface/openchat/openchat-3.5-0106\",       \"displayName\": \"openchat/openchat-3.5-0106\",       \"description\": \"OpenChat 3.5 is the #1 model on MT-Bench, with only 7B parameters.\",       \"endpoints\": [{         \"type\" : \"openai\",       }],     },      {       \"name\": \"gpt-3.5-turbo\",       \"displayName\": \"gpt-3.5-turbo\",       \"endpoints\": [{         \"type\" : \"openai\",       }],     },     {       \"name\": \"gpt-4-1106-preview\",       \"displayName\": \"gpt-4-1106-preview\",       \"endpoints\": [{         \"type\" : \"openai\",       }],     }, ]"
    },
    {
      "key": "TASK_MODEL",
      "service": "chat-ui",
      "description": "This model is used for general tasks like creating emojis",
      "secret": false,
      "strategy": "default",
      "default": "huggingface/mistralai/Mistral-7B-Instruct-v0.1"
    },
    {
      "key": "MONGODB_URL",
      "service": "chat-ui",
      "description": "temporary thing",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "OPENAI_API_KEY",
      "service": "chat-ui",
      "description": "https://platform.openai.com/api-keys --> create new secret key",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "ASTRA_API_TOKEN",
      "service": "chat-ui",
      "description": "https://astra.datastax.com/ --> tokens --> administrator user --> generate",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "ENABLE_ASSISTANTS",
      "service": "chat-ui",
      "description": "Provide a value for ENABLE_ASSISTANTS.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "USE_LOCAL_WEBSEARCH",
      "service": "chat-ui",
      "description": "Allow browser based web search",
      "secret": false,
      "strategy": "default",
      "default": "true"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "v2UVYh"
      }
    },
    "cli": "railway deploy --template v2UVYh",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "f18de396-74c0-4d1e-a519-eb5aff098497",
            "serializedConfig": {
              "services": {
                "e5586181-615c-4442-be3b-5ad53e366252": {
                  "name": "chat-ui",
                  "build": {},
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null
                  },
                  "source": {
                    "repo": "https://github.com/datastax/chat-ui",
                    "rootDirectory": null
                  },
                  "variables": {
                    "MODELS": {
                      "isOptional": false,
                      "description": "Valid models for use with assistants api",
                      "defaultValue": "[     {        \"name\": \"huggingface/mistralai/Mistral-7B-Instruct-v0.1\",       \"displayName\": \"mistralai/Mistral-7B-Instruct-v0.1\",       \"description\": \"Mistral 7B is a new Apache 2.0 model, released by Mistral AI that outperforms Llama2 13B in benchmarks.\",       \"endpoints\": [{         \"type\" : \"openai\",       }],     },     {       \"name\": \"huggingface/meta-llama/Llama-2-70b-chat-hf\",       \"displayName\": \"meta-llama/Llama-2-70b-chat-hf\",       \"description\": \"The latest and biggest model from Meta, fine-tuned for chat.\",       \"endpoints\": [{         \"type\" : \"openai\",       }],     },     {       \"name\": \"huggingface/NousResearch/Nous-Hermes-2-Mixtral-8x7B-DPO\",       \"displayName\": \"NousResearch/Nous-Hermes-2-Mixtral-8x7B-DPO\",       \"description\": \"Nous Hermes 2 Mixtral 8x7B DPO is the new flagship Nous Research model trained over the Mixtral 8x7B MoE LLM.\",       \"endpoints\": [{         \"type\" : \"openai\",       }],     },     {       \"name\": \"huggingface/codellama/CodeLlama-70b-Instruct-hf\",       \"displayName\": \"codellama/CodeLlama-70b-Instruct-hf\",       \"description\": \"Code Llama, a state of the art code model from Meta. Now in 70B!\",       \"endpoints\": [{         \"type\" : \"openai\",       }],     },     {       \"name\": \"huggingface/mistralai/Mistral-7B-Instruct-v0.2\",       \"displayName\": \"mistralai/Mistral-7B-Instruct-v0.2\",       \"description\": \"Mistral 7B is a new Apache 2.0 model, released by Mistral AI that outperforms Llama2 13B in benchmarks.\",       \"endpoints\": [{         \"type\" : \"openai\",       }],     },     {       \"name\": \"huggingface/openchat/openchat-3.5-0106\",       \"displayName\": \"openchat/openchat-3.5-0106\",       \"description\": \"OpenChat 3.5 is the #1 model on MT-Bench, with only 7B parameters.\",       \"endpoints\": [{         \"type\" : \"openai\",       }],     },      {       \"name\": \"gpt-3.5-turbo\",       \"displayName\": \"gpt-3.5-turbo\",       \"endpoints\": [{         \"type\" : \"openai\",       }],     },     {       \"name\": \"gpt-4-1106-preview\",       \"displayName\": \"gpt-4-1106-preview\",       \"endpoints\": [{         \"type\" : \"openai\",       }],     }, ]"
                    },
                    "HF_TOKEN": {
                      "isOptional": true,
                      "description": "https://huggingface.co/docs/hub/en/security-tokens"
                    },
                    "TASK_MODEL": {
                      "isOptional": false,
                      "description": "This model is used for general tasks like creating emojis",
                      "defaultValue": "huggingface/mistralai/Mistral-7B-Instruct-v0.1"
                    },
                    "MONGODB_URL": {
                      "isOptional": false,
                      "description": "temporary thing",
                      "defaultValue": "{{MONGODB_URL}}"
                    },
                    "COHERE_API_KEY": {
                      "isOptional": true,
                      "description": "https://dashboard.cohere.com/api-keys"
                    },
                    "GEMINI_API_KEY": {
                      "isOptional": true,
                      "description": "https://makersuite.google.com/app/apikey"
                    },
                    "OPENAI_API_KEY": {
                      "isOptional": false,
                      "description": "https://platform.openai.com/api-keys --> create new secret key",
                      "defaultValue": "{{OPENAI_API_KEY}}"
                    },
                    "ASTRA_API_TOKEN": {
                      "isOptional": false,
                      "description": "https://astra.datastax.com/ --> tokens --> administrator user --> generate",
                      "defaultValue": "{{ASTRA_API_TOKEN}}"
                    },
                    "AWS_REGION_NAME": {
                      "isOptional": true,
                      "description": "https://docs.aws.amazon.com/bedrock/latest/userguide/setting-up.html"
                    },
                    "AWS_ACCESS_KEY_ID": {
                      "isOptional": true,
                      "description": "https://docs.aws.amazon.com/bedrock/latest/userguide/setting-up.html"
                    },
                    "ENABLE_ASSISTANTS": {
                      "isOptional": false,
                      "defaultValue": "true"
                    },
                    "USE_LOCAL_WEBSEARCH": {
                      "isOptional": false,
                      "description": "Allow browser based web search",
                      "defaultValue": "true"
                    },
                    "PERPLEXITYAI_API_KEY": {
                      "isOptional": true,
                      "description": "https://docs.perplexity.ai/docs/getting-started"
                    },
                    "AWS_SECRET_ACCESS_KEY": {
                      "isOptional": true,
                      "description": "https://docs.aws.amazon.com/bedrock/latest/userguide/setting-up.html"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {}
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-21T22:14:44.200Z",
  "generator_version": "0.1.0"
}
