Last active
March 13, 2024 18:43
-
-
Save homanp/5437e5c2e99a302f023f203d139fb3b3 to your computer and use it in GitHub Desktop.
SAML
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
workflows: | |
- superagent: | |
name: My assistant | |
llm: gpt-4-1106-preview | |
prompt: You are a helpful AI assitant. | |
intro: 👋 Hi there! How can I help you? | |
data: # This is for structured and unstructured data | |
use_for: Querying internal data | |
urls: | |
- https://acme.inc/test.pdf | |
- https://acme.inc/transactions.csv | |
tools: | |
- research: | |
name: research | |
use_for: doing research | |
metadata: | |
apiKey: <my_optional_api> | |
- browser: | |
name: Browser | |
use_for: Finding information on the internet | |
- code_executor: | |
name: Code executor | |
use_for: Writing and executing code | |
- hand_off: | |
name: Human hand-off | |
- http: | |
name: My custom api | |
use_for: Use for making http requests | |
metadata: | |
headers: | |
Authorization: Bearer <token> | |
url: <url> | |
method: post | |
body: | |
title: string | |
- bing_search: | |
name: Bing search | |
use_for: Use for accessing Bing Search | |
metadata: | |
bingSearchUrl: <bing_search_url> | |
bingSubscriptionKey: <bing_subscription_key> | |
- replicate: | |
name: SDXL Image generator | |
use_for: Use for generating something with a model on Replicate | |
metadata: | |
model: <model> | |
apiKey: <api_key> | |
# arguments: | |
# key: value | |
- algolia: | |
name: My index | |
use_for: Querying an index | |
metadata: | |
apiId: <api_key> | |
apiKey: <api_key> | |
index: <index> | |
- metaphor: | |
name: Metaphor Search | |
use_for: Search the internet | |
metadata: | |
metaphorApiKey: <api_key> | |
- function: | |
name: my_function | |
use_for: Call my custom function | |
metadata: | |
args: | |
name: string | |
title: string | |
- perplexity: | |
name: Perplexity | |
prompt: What is the weather in SF today? | |
llm: perplexity/pplx-70b-online | |
# You can add tools | |
tools: | |
- data: | |
.... | |
- anthropic: | |
name: Anthropic | |
prompt: What is the weather in SF today? | |
llm: anthropic/claude-3-opus-20240229 | |
# You can add tools | |
tools: | |
- data: | |
.... | |
- opeani_assistants: | |
name: My OAI assistant | |
prompt: You are a personal math tutor. | |
description: My assistant | |
llm: gpt-4-1106-preview | |
metadata: | |
- key1: value | |
- key2: value | |
tools: | |
- code_interpreter: true | |
- retrieval: true | |
- function: | |
name: my_function | |
use_for: Call my custom function | |
metadata: | |
args: | |
name: string | |
title: string | |
# required: # TODO: update this for support for required args (https://github.com/homanp/superagent/blob/main/libs/superagent/app/tools/__init__.py#L79) | |
# - name | |
# - title | |
data: | |
# Uses OAI embeddings | |
# Supported files https://platform.openai.com/docs/assistants/tools/supported-files | |
urls: | |
- https://acme.inc/test.pdf | |
- https://acme.inc/transactions.csv |
@homanp
Please replace the following in the main one:
- opeani_assistants:
name: My OAI assistant
prompt: You are a personal math tutor.
description: My assistant
llm: gpt-4-1106-preview
metadata:
- key1: value
- key2: value
--->
- openai_assistant:
name: My OAI assistant
prompt: You are a personal math tutor.
description: My assistant
llm: gpt-4-1106-preview
metadata:
key1: value
key2: value
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
CHANGELOG: