kikocis/llama-stack public
Changesets · Branches · Tags · Compare
| Changeset | 780141a617b6154dbc3d66794876f3ac408fe5bd9a999b7925a1e5e690023ed6 |
|---|---|
| Author | Xi Yan <xiyan@meta.com> · 2024-09-18 19:28 -07:00 |
| Committer | Xi Yan <xiyan@meta.com> · 2024-09-18 19:28 -07:00 |
| Parents | feb1cb9158d0 |
3 files changed
modified docs/llama-stack-spec.html +20 −12
| @@ -21,7 +21,7 @@ | ||
| 21 | 21 | "info": { |
| 22 | 22 | "title": "[DRAFT] Llama Stack Specification", |
| 23 | 23 | "version": "0.0.1", |
| 24 | - "description": "This is the specification of the llama stack that provides\n a set of endpoints and their corresponding interfaces that are tailored to\n best leverage Llama Models. The specification is still in draft and subject to change.\n Generated at 2024-09-17 12:55:45.538053" | |
| 24 | + "description": "This is the specification of the llama stack that provides\n a set of endpoints and their corresponding interfaces that are tailored to\n best leverage Llama Models. The specification is still in draft and subject to change.\n Generated at 2024-09-18 19:27:39.955190" | |
| 25 | 25 | }, |
| 26 | 26 | "servers": [ |
| 27 | 27 | { |
| @@ -2587,6 +2587,9 @@ | ||
| 2587 | 2587 | "type": "string", |
| 2588 | 2588 | "const": "brave_search" |
| 2589 | 2589 | }, |
| 2590 | + "api_key": { | |
| 2591 | + "type": "string" | |
| 2592 | + }, | |
| 2590 | 2593 | "engine": { |
| 2591 | 2594 | "type": "string", |
| 2592 | 2595 | "enum": [ |
| @@ -2601,6 +2604,7 @@ | ||
| 2601 | 2604 | "additionalProperties": false, |
| 2602 | 2605 | "required": [ |
| 2603 | 2606 | "type", |
| 2607 | + "api_key", | |
| 2604 | 2608 | "engine" |
| 2605 | 2609 | ] |
| 2606 | 2610 | }, |
| @@ -2663,13 +2667,17 @@ | ||
| 2663 | 2667 | "type": "string", |
| 2664 | 2668 | "const": "wolfram_alpha" |
| 2665 | 2669 | }, |
| 2670 | + "api_key": { | |
| 2671 | + "type": "string" | |
| 2672 | + }, | |
| 2666 | 2673 | "remote_execution": { |
| 2667 | 2674 | "$ref": "#/components/schemas/RestAPIExecutionConfig" |
| 2668 | 2675 | } |
| 2669 | 2676 | }, |
| 2670 | 2677 | "additionalProperties": false, |
| 2671 | 2678 | "required": [ |
| 2672 | - "type" | |
| 2679 | + "type", | |
| 2680 | + "api_key" | |
| 2673 | 2681 | ] |
| 2674 | 2682 | }, |
| 2675 | 2683 | "CreateAgentRequest": { |
| @@ -5141,37 +5149,37 @@ | ||
| 5141 | 5149 | ], |
| 5142 | 5150 | "tags": [ |
| 5143 | 5151 | { |
| 5144 | - "name": "Agents" | |
| 5152 | + "name": "BatchInference" | |
| 5145 | 5153 | }, |
| 5146 | 5154 | { |
| 5147 | - "name": "Safety" | |
| 5155 | + "name": "PostTraining" | |
| 5148 | 5156 | }, |
| 5149 | 5157 | { |
| 5150 | - "name": "SyntheticDataGeneration" | |
| 5158 | + "name": "Inference" | |
| 5151 | 5159 | }, |
| 5152 | 5160 | { |
| 5153 | - "name": "Telemetry" | |
| 5161 | + "name": "Safety" | |
| 5154 | 5162 | }, |
| 5155 | 5163 | { |
| 5156 | - "name": "Datasets" | |
| 5164 | + "name": "RewardScoring" | |
| 5157 | 5165 | }, |
| 5158 | 5166 | { |
| 5159 | - "name": "RewardScoring" | |
| 5167 | + "name": "Telemetry" | |
| 5160 | 5168 | }, |
| 5161 | 5169 | { |
| 5162 | 5170 | "name": "Evaluations" |
| 5163 | 5171 | }, |
| 5164 | 5172 | { |
| 5165 | - "name": "PostTraining" | |
| 5173 | + "name": "SyntheticDataGeneration" | |
| 5166 | 5174 | }, |
| 5167 | 5175 | { |
| 5168 | - "name": "Inference" | |
| 5176 | + "name": "Memory" | |
| 5169 | 5177 | }, |
| 5170 | 5178 | { |
| 5171 | - "name": "BatchInference" | |
| 5179 | + "name": "Agents" | |
| 5172 | 5180 | }, |
| 5173 | 5181 | { |
| 5174 | - "name": "Memory" | |
| 5182 | + "name": "Datasets" | |
| 5175 | 5183 | }, |
| 5176 | 5184 | { |
| 5177 | 5185 | "name": "BuiltinTool", |
modified docs/llama-stack-spec.yaml +14 −8
| @@ -1651,6 +1651,8 @@ | ||
| 1651 | 1651 | SearchToolDefinition: |
| 1652 | 1652 | additionalProperties: false |
| 1653 | 1653 | properties: |
| 1654 | + api_key: | |
| 1655 | + type: string | |
| 1654 | 1656 | engine: |
| 1655 | 1657 | enum: |
| 1656 | 1658 | - bing |
| @@ -1671,6 +1673,7 @@ | ||
| 1671 | 1673 | type: string |
| 1672 | 1674 | required: |
| 1673 | 1675 | - type |
| 1676 | + - api_key | |
| 1674 | 1677 | - engine |
| 1675 | 1678 | type: object |
| 1676 | 1679 | Session: |
| @@ -2336,6 +2339,8 @@ | ||
| 2336 | 2339 | WolframAlphaToolDefinition: |
| 2337 | 2340 | additionalProperties: false |
| 2338 | 2341 | properties: |
| 2342 | + api_key: | |
| 2343 | + type: string | |
| 2339 | 2344 | input_shields: |
| 2340 | 2345 | items: |
| 2341 | 2346 | $ref: '#/components/schemas/ShieldDefinition' |
| @@ -2351,12 +2356,13 @@ | ||
| 2351 | 2356 | type: string |
| 2352 | 2357 | required: |
| 2353 | 2358 | - type |
| 2359 | + - api_key | |
| 2354 | 2360 | type: object |
| 2355 | 2361 | info: |
| 2356 | 2362 | description: "This is the specification of the llama stack that provides\n \ |
| 2357 | 2363 | \ a set of endpoints and their corresponding interfaces that are tailored\ |
| 2358 | 2364 | \ to\n best leverage Llama Models. The specification is still in\ |
| 2359 | - \ draft and subject to change.\n Generated at 2024-09-17 12:55:45.538053" | |
| 2365 | + \ draft and subject to change.\n Generated at 2024-09-18 19:27:39.955190" | |
| 2360 | 2366 | title: '[DRAFT] Llama Stack Specification' |
| 2361 | 2367 | version: 0.0.1 |
| 2362 | 2368 | jsonSchemaDialect: https://json-schema.org/draft/2020-12/schema |
| @@ -3144,17 +3150,17 @@ | ||
| 3144 | 3150 | servers: |
| 3145 | 3151 | - url: http://any-hosted-llama-stack.com |
| 3146 | 3152 | tags: |
| 3147 | -- name: Agents | |
| 3153 | +- name: BatchInference | |
| 3154 | +- name: PostTraining | |
| 3155 | +- name: Inference | |
| 3148 | 3156 | - name: Safety |
| 3149 | -- name: SyntheticDataGeneration | |
| 3150 | -- name: Telemetry | |
| 3151 | -- name: Datasets | |
| 3152 | 3157 | - name: RewardScoring |
| 3158 | +- name: Telemetry | |
| 3153 | 3159 | - name: Evaluations |
| 3154 | -- name: PostTraining | |
| 3155 | -- name: Inference | |
| 3156 | -- name: BatchInference | |
| 3160 | +- name: SyntheticDataGeneration | |
| 3157 | 3161 | - name: Memory |
| 3162 | +- name: Agents | |
| 3163 | +- name: Datasets | |
| 3158 | 3164 | - description: <SchemaDefinition schemaRef="#/components/schemas/BuiltinTool" /> |
| 3159 | 3165 | name: BuiltinTool |
| 3160 | 3166 | - description: <SchemaDefinition schemaRef="#/components/schemas/CompletionMessage" |
modified docs/openapi_generator/run_openapi_generator.sh +1 −1
| @@ -28,4 +28,4 @@ | ||
| 28 | 28 | exit 1 |
| 29 | 29 | fi |
| 30 | 30 | |
| 31 | -PYTHONPATH=$PYTHONPATH:../.. python -m rfcs.openapi_generator.generate $* | |
| 31 | +PYTHONPATH=$PYTHONPATH:../.. python -m docs.openapi_generator.generate $* |