kikocis/llama-stack public
Changesets · Branches · Tags · Compare
| Changeset | 3fc339af16ee27ca0f32a88fe35fd1c47498ff24e40468c1154eccd1908cb0e3 |
|---|---|
| Author | Ashwin Bharambe <ashwin@meta.com> · 2024-09-20 09:37 -07:00 |
| Committer | Ashwin Bharambe <ashwin@meta.com> · 2024-09-20 09:37 -07:00 |
| Parents | 2e30ba2d48a0 |
2 files changed
modified docs/openapi_generator/generate.py +28 −1
| @@ -31,7 +31,34 @@ | ||
| 31 | 31 | |
| 32 | 32 | schema_utils.json_schema_type = json_schema_type |
| 33 | 33 | |
| 34 | -from llama_stack.apis.stack import LlamaStack | |
| 34 | +from llama_models.llama3.api.datatypes import * # noqa: F403 | |
| 35 | +from llama_stack.apis.agents import * # noqa: F403 | |
| 36 | +from llama_stack.apis.dataset import * # noqa: F403 | |
| 37 | +from llama_stack.apis.evals import * # noqa: F403 | |
| 38 | +from llama_stack.apis.inference import * # noqa: F403 | |
| 39 | +from llama_stack.apis.batch_inference import * # noqa: F403 | |
| 40 | +from llama_stack.apis.memory import * # noqa: F403 | |
| 41 | +from llama_stack.apis.telemetry import * # noqa: F403 | |
| 42 | +from llama_stack.apis.post_training import * # noqa: F403 | |
| 43 | +from llama_stack.apis.reward_scoring import * # noqa: F403 | |
| 44 | +from llama_stack.apis.synthetic_data_generation import * # noqa: F403 | |
| 45 | +from llama_stack.apis.safety import * # noqa: F403 | |
| 46 | + | |
| 47 | + | |
| 48 | +class LlamaStack( | |
| 49 | + Inference, | |
| 50 | + BatchInference, | |
| 51 | + Agents, | |
| 52 | + RewardScoring, | |
| 53 | + Safety, | |
| 54 | + SyntheticDataGeneration, | |
| 55 | + Datasets, | |
| 56 | + Telemetry, | |
| 57 | + PostTraining, | |
| 58 | + Memory, | |
| 59 | + Evaluations, | |
| 60 | +): | |
| 61 | + pass | |
| 35 | 62 | |
| 36 | 63 | |
| 37 | 64 | # TODO: this should be fixed in the generator itself so it reads appropriate annotations |
deleted llama_stack/apis/stack.py +0 −34
| @@ -1,34 +0,0 @@ | ||
| 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 | - | |
| 7 | -from llama_models.llama3.api.datatypes import * # noqa: F403 | |
| 8 | -from llama_stack.apis.agents import * # noqa: F403 | |
| 9 | -from llama_stack.apis.dataset import * # noqa: F403 | |
| 10 | -from llama_stack.apis.evals import * # noqa: F403 | |
| 11 | -from llama_stack.apis.inference import * # noqa: F403 | |
| 12 | -from llama_stack.apis.batch_inference import * # noqa: F403 | |
| 13 | -from llama_stack.apis.memory import * # noqa: F403 | |
| 14 | -from llama_stack.apis.telemetry import * # noqa: F403 | |
| 15 | -from llama_stack.apis.post_training import * # noqa: F403 | |
| 16 | -from llama_stack.apis.reward_scoring import * # noqa: F403 | |
| 17 | -from llama_stack.apis.synthetic_data_generation import * # noqa: F403 | |
| 18 | -from llama_stack.apis.safety import * # noqa: F403 | |
| 19 | - | |
| 20 | - | |
| 21 | -class LlamaStack( | |
| 22 | - Inference, | |
| 23 | - BatchInference, | |
| 24 | - Agents, | |
| 25 | - RewardScoring, | |
| 26 | - Safety, | |
| 27 | - SyntheticDataGeneration, | |
| 28 | - Datasets, | |
| 29 | - Telemetry, | |
| 30 | - PostTraining, | |
| 31 | - Memory, | |
| 32 | - Evaluations, | |
| 33 | -): | |
| 34 | - pass |