generated from wesen/wesen-go-template
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
1,371 additions
and
1,285 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,114 @@ | ||
version: "1" | ||
defaultProfile: default | ||
|
||
profiles: | ||
default: | ||
description: "Default profile with basic tools" | ||
tools: | ||
directories: | ||
- path: ./examples/shell-commands | ||
defaults: | ||
default: | ||
debug: false | ||
verbose: false | ||
files: | ||
- path: ./examples/smart-connect/read.yaml | ||
|
||
productivity: | ||
description: "Tools for productivity and note-taking" | ||
tools: | ||
directories: | ||
- path: ./examples/smart-connect | ||
defaults: | ||
default: | ||
verbose: true | ||
blacklist: | ||
default: | ||
- api_key | ||
files: | ||
- path: ./examples/smart-connect/read.yaml | ||
overrides: | ||
default: | ||
verbose: true | ||
|
||
research: | ||
description: "Tools for research and data extraction" | ||
tools: | ||
directories: | ||
- path: ./examples/html-extract | ||
defaults: | ||
default: | ||
timeout: 30s | ||
max_retries: 3 | ||
- path: ./examples/bio-stuff | ||
defaults: | ||
default: | ||
cache_results: true | ||
files: | ||
- path: ./examples/html-extract/pubmed.yaml | ||
overrides: | ||
default: | ||
max_results: 100 | ||
|
||
google-integration: | ||
description: "Google and GitHub integration tools" | ||
tools: | ||
directories: | ||
- path: ./examples/google | ||
defaults: | ||
default: | ||
cache_credentials: true | ||
blacklist: | ||
default: | ||
- client_secret | ||
- refresh_token | ||
whitelist: | ||
default: | ||
- query | ||
- max_results | ||
- start_date | ||
- end_date | ||
|
||
rag: | ||
description: "RAG and knowledge management tools" | ||
tools: | ||
directories: | ||
- path: ./examples/rag | ||
defaults: | ||
ai-chat: | ||
model: gpt-4-turbo | ||
max_tokens: 2000 | ||
overrides: | ||
ai-chat: | ||
temperature: 0.7 | ||
- path: ./examples/prompts/rag.yaml | ||
defaults: | ||
default: | ||
verbose: true | ||
|
||
devops: | ||
description: "Development and operations tools" | ||
tools: | ||
directories: | ||
- path: ./examples/shell-commands | ||
defaults: | ||
default: | ||
debug: true | ||
verbose: true | ||
whitelist: | ||
default: | ||
- command | ||
- args | ||
- working_dir | ||
- timeout | ||
blacklist: | ||
default: | ||
- env | ||
files: | ||
- path: ./examples/shell-commands/docker-comp.yaml | ||
- path: ./examples/shell-commands/git-sync.yaml | ||
- path: ./examples/shell-commands/backup-db.yaml | ||
overrides: | ||
default: | ||
timeout: 300s | ||
max_retries: 5 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: pubmed-search | ||
short: Search PubMed and extract structured data | ||
long: | | ||
Search PubMed using a search term and extract structured data from the results page. | ||
Uses html-selector to parse the HTML and extract relevant information. | ||
flags: | ||
- name: search_term | ||
type: string | ||
help: PubMed search term | ||
required: true | ||
- name: max_pages | ||
type: int | ||
help: Maximum number of pages to scrape | ||
default: 1 | ||
|
||
command: | ||
- html-selector | ||
- select | ||
- --urls | ||
- "https://pubmed.ncbi.nlm.nih.gov/?term={{ .Args.search_term }}" | ||
- --config | ||
- "/tmp/html-extraction-2025-01-26-19-54-54.yaml" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
name: prompto-get | ||
short: Get a specific prompto entry | ||
long: | | ||
Retrieves a specific prompto entry by its name. | ||
This command wraps the 'prompto get' command. | ||
flags: | ||
- name: entry_name | ||
type: string | ||
help: Name of the prompto entry to retrieve | ||
required: true | ||
command: | ||
- prompto | ||
- get | ||
- "{{ .Args.entry_name }}" | ||
capture-stderr: true |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
name: prompto-list | ||
short: List all prompto entries | ||
long: | | ||
Lists all available prompto entries in a formatted output. | ||
This command wraps the 'prompto list' command. | ||
command: | ||
- prompto | ||
- list | ||
capture-stderr: true |
Oops, something went wrong.