From 6cbc387851b20044ac0fa82d3b815567cb6bc819 Mon Sep 17 00:00:00 2001 From: Ashwin Bharambe Date: Fri, 20 Sep 2024 16:43:34 -0700 Subject: [PATCH] Add sample adapters --- llama_stack/providers/adapters/agents/sample/__init__.py | 5 +++++ llama_stack/providers/adapters/agents/sample/config.py | 5 +++++ llama_stack/providers/adapters/agents/sample/sample.py | 5 +++++ llama_stack/providers/adapters/inference/sample/__init__.py | 5 +++++ llama_stack/providers/adapters/inference/sample/config.py | 5 +++++ llama_stack/providers/adapters/inference/sample/sample.py | 5 +++++ llama_stack/providers/adapters/memory/sample/__init__.py | 5 +++++ llama_stack/providers/adapters/memory/sample/config.py | 5 +++++ llama_stack/providers/adapters/memory/sample/sample.py | 5 +++++ llama_stack/providers/adapters/safety/sample/__init__.py | 5 +++++ llama_stack/providers/adapters/safety/sample/config.py | 5 +++++ llama_stack/providers/adapters/safety/sample/sample.py | 5 +++++ llama_stack/providers/adapters/telemetry/sample/__init__.py | 5 +++++ llama_stack/providers/adapters/telemetry/sample/config.py | 5 +++++ llama_stack/providers/adapters/telemetry/sample/sample.py | 5 +++++ 15 files changed, 75 insertions(+) create mode 100644 llama_stack/providers/adapters/agents/sample/__init__.py create mode 100644 llama_stack/providers/adapters/agents/sample/config.py create mode 100644 llama_stack/providers/adapters/agents/sample/sample.py create mode 100644 llama_stack/providers/adapters/inference/sample/__init__.py create mode 100644 llama_stack/providers/adapters/inference/sample/config.py create mode 100644 llama_stack/providers/adapters/inference/sample/sample.py create mode 100644 llama_stack/providers/adapters/memory/sample/__init__.py create mode 100644 llama_stack/providers/adapters/memory/sample/config.py create mode 100644 llama_stack/providers/adapters/memory/sample/sample.py create mode 100644 llama_stack/providers/adapters/safety/sample/__init__.py create mode 100644 llama_stack/providers/adapters/safety/sample/config.py create mode 100644 llama_stack/providers/adapters/safety/sample/sample.py create mode 100644 llama_stack/providers/adapters/telemetry/sample/__init__.py create mode 100644 llama_stack/providers/adapters/telemetry/sample/config.py create mode 100644 llama_stack/providers/adapters/telemetry/sample/sample.py diff --git a/llama_stack/providers/adapters/agents/sample/__init__.py b/llama_stack/providers/adapters/agents/sample/__init__.py new file mode 100644 index 000000000..756f351d8 --- /dev/null +++ b/llama_stack/providers/adapters/agents/sample/__init__.py @@ -0,0 +1,5 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. +# +# This source code is licensed under the terms described in the LICENSE file in +# the root directory of this source tree. diff --git a/llama_stack/providers/adapters/agents/sample/config.py b/llama_stack/providers/adapters/agents/sample/config.py new file mode 100644 index 000000000..756f351d8 --- /dev/null +++ b/llama_stack/providers/adapters/agents/sample/config.py @@ -0,0 +1,5 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. +# +# This source code is licensed under the terms described in the LICENSE file in +# the root directory of this source tree. diff --git a/llama_stack/providers/adapters/agents/sample/sample.py b/llama_stack/providers/adapters/agents/sample/sample.py new file mode 100644 index 000000000..756f351d8 --- /dev/null +++ b/llama_stack/providers/adapters/agents/sample/sample.py @@ -0,0 +1,5 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. +# +# This source code is licensed under the terms described in the LICENSE file in +# the root directory of this source tree. diff --git a/llama_stack/providers/adapters/inference/sample/__init__.py b/llama_stack/providers/adapters/inference/sample/__init__.py new file mode 100644 index 000000000..756f351d8 --- /dev/null +++ b/llama_stack/providers/adapters/inference/sample/__init__.py @@ -0,0 +1,5 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. +# +# This source code is licensed under the terms described in the LICENSE file in +# the root directory of this source tree. diff --git a/llama_stack/providers/adapters/inference/sample/config.py b/llama_stack/providers/adapters/inference/sample/config.py new file mode 100644 index 000000000..756f351d8 --- /dev/null +++ b/llama_stack/providers/adapters/inference/sample/config.py @@ -0,0 +1,5 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. +# +# This source code is licensed under the terms described in the LICENSE file in +# the root directory of this source tree. diff --git a/llama_stack/providers/adapters/inference/sample/sample.py b/llama_stack/providers/adapters/inference/sample/sample.py new file mode 100644 index 000000000..756f351d8 --- /dev/null +++ b/llama_stack/providers/adapters/inference/sample/sample.py @@ -0,0 +1,5 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. +# +# This source code is licensed under the terms described in the LICENSE file in +# the root directory of this source tree. diff --git a/llama_stack/providers/adapters/memory/sample/__init__.py b/llama_stack/providers/adapters/memory/sample/__init__.py new file mode 100644 index 000000000..756f351d8 --- /dev/null +++ b/llama_stack/providers/adapters/memory/sample/__init__.py @@ -0,0 +1,5 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. +# +# This source code is licensed under the terms described in the LICENSE file in +# the root directory of this source tree. diff --git a/llama_stack/providers/adapters/memory/sample/config.py b/llama_stack/providers/adapters/memory/sample/config.py new file mode 100644 index 000000000..756f351d8 --- /dev/null +++ b/llama_stack/providers/adapters/memory/sample/config.py @@ -0,0 +1,5 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. +# +# This source code is licensed under the terms described in the LICENSE file in +# the root directory of this source tree. diff --git a/llama_stack/providers/adapters/memory/sample/sample.py b/llama_stack/providers/adapters/memory/sample/sample.py new file mode 100644 index 000000000..756f351d8 --- /dev/null +++ b/llama_stack/providers/adapters/memory/sample/sample.py @@ -0,0 +1,5 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. +# +# This source code is licensed under the terms described in the LICENSE file in +# the root directory of this source tree. diff --git a/llama_stack/providers/adapters/safety/sample/__init__.py b/llama_stack/providers/adapters/safety/sample/__init__.py new file mode 100644 index 000000000..756f351d8 --- /dev/null +++ b/llama_stack/providers/adapters/safety/sample/__init__.py @@ -0,0 +1,5 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. +# +# This source code is licensed under the terms described in the LICENSE file in +# the root directory of this source tree. diff --git a/llama_stack/providers/adapters/safety/sample/config.py b/llama_stack/providers/adapters/safety/sample/config.py new file mode 100644 index 000000000..756f351d8 --- /dev/null +++ b/llama_stack/providers/adapters/safety/sample/config.py @@ -0,0 +1,5 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. +# +# This source code is licensed under the terms described in the LICENSE file in +# the root directory of this source tree. diff --git a/llama_stack/providers/adapters/safety/sample/sample.py b/llama_stack/providers/adapters/safety/sample/sample.py new file mode 100644 index 000000000..756f351d8 --- /dev/null +++ b/llama_stack/providers/adapters/safety/sample/sample.py @@ -0,0 +1,5 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. +# +# This source code is licensed under the terms described in the LICENSE file in +# the root directory of this source tree. diff --git a/llama_stack/providers/adapters/telemetry/sample/__init__.py b/llama_stack/providers/adapters/telemetry/sample/__init__.py new file mode 100644 index 000000000..756f351d8 --- /dev/null +++ b/llama_stack/providers/adapters/telemetry/sample/__init__.py @@ -0,0 +1,5 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. +# +# This source code is licensed under the terms described in the LICENSE file in +# the root directory of this source tree. diff --git a/llama_stack/providers/adapters/telemetry/sample/config.py b/llama_stack/providers/adapters/telemetry/sample/config.py new file mode 100644 index 000000000..756f351d8 --- /dev/null +++ b/llama_stack/providers/adapters/telemetry/sample/config.py @@ -0,0 +1,5 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. +# +# This source code is licensed under the terms described in the LICENSE file in +# the root directory of this source tree. diff --git a/llama_stack/providers/adapters/telemetry/sample/sample.py b/llama_stack/providers/adapters/telemetry/sample/sample.py new file mode 100644 index 000000000..756f351d8 --- /dev/null +++ b/llama_stack/providers/adapters/telemetry/sample/sample.py @@ -0,0 +1,5 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. +# +# This source code is licensed under the terms described in the LICENSE file in +# the root directory of this source tree.