Elffuss BraidHub

kikocis/llama-stack public

3fc339af16ee · 583 BRawPermalink
1# Copyright (c) Meta Platforms, Inc. and affiliates.
2# All rights reserved.
3#
4# This source code is licensed under the terms described in the LICENSE file in
5# the root directory of this source tree.
6
7from llama_models.schema_utils import json_schema_type
8from pydantic import BaseModel, Field
9
10
11@json_schema_type
12class TogetherImplConfig(BaseModel):
13 url: str = Field(
14 default="https://api.together.xyz/v1",
15 description="The URL for the Together AI server",
16 )
17 api_key: str = Field(
18 default="",
19 description="The Together AI API Key",
20 )