Update tooling.py
Browse files- tooling.py +12 -9
tooling.py
CHANGED
|
@@ -7,7 +7,9 @@ from youtube_utils import *
|
|
| 7 |
|
| 8 |
class MathModelQuerer(Tool):
|
| 9 |
name = "math_model"
|
| 10 |
-
description = "
|
|
|
|
|
|
|
| 11 |
|
| 12 |
inputs = {
|
| 13 |
"problem": {
|
|
@@ -48,7 +50,9 @@ class MathModelQuerer(Tool):
|
|
| 48 |
|
| 49 |
class CodeModelQuerer(Tool):
|
| 50 |
name = "code_querer"
|
| 51 |
-
description = "
|
|
|
|
|
|
|
| 52 |
|
| 53 |
inputs = {
|
| 54 |
"problem": {
|
|
@@ -73,9 +77,10 @@ class CodeModelQuerer(Tool):
|
|
| 73 |
|
| 74 |
class WikipediaPageFetcher(Tool):
|
| 75 |
name = "wiki_page_fetcher"
|
| 76 |
-
description =
|
| 77 |
-
|
| 78 |
-
|
|
|
|
| 79 |
|
| 80 |
inputs = {
|
| 81 |
"query": {
|
|
@@ -97,10 +102,8 @@ class WikipediaPageFetcher(Tool):
|
|
| 97 |
|
| 98 |
class YoutubeTranscriptFetcher(Tool):
|
| 99 |
name = "youtube_transcript_fetcher"
|
| 100 |
-
description =
|
| 101 |
-
|
| 102 |
-
youtube video id, it can fetch the transcript directly. Video id consist of last 11 strings of the url. Only provide this parameter, if the video id doesn't have\
|
| 103 |
-
to be parsed from a url."
|
| 104 |
|
| 105 |
inputs = {
|
| 106 |
"query": {
|
|
|
|
| 7 |
|
| 8 |
class MathModelQuerer(Tool):
|
| 9 |
name = "math_model"
|
| 10 |
+
description = "Solves advanced math problems using a pretrained\
|
| 11 |
+
large language model specialized in mathematics. Ideal for symbolic reasoning, \
|
| 12 |
+
calculus, algebra, and other technical math queries."
|
| 13 |
|
| 14 |
inputs = {
|
| 15 |
"problem": {
|
|
|
|
| 50 |
|
| 51 |
class CodeModelQuerer(Tool):
|
| 52 |
name = "code_querer"
|
| 53 |
+
description = "Generates code snippets based on a natural language description of a\
|
| 54 |
+
programming task using a powerful coding-focused language model. Suitable\
|
| 55 |
+
for solving coding problems, generating functions, or implementing algorithms."
|
| 56 |
|
| 57 |
inputs = {
|
| 58 |
"problem": {
|
|
|
|
| 77 |
|
| 78 |
class WikipediaPageFetcher(Tool):
|
| 79 |
name = "wiki_page_fetcher"
|
| 80 |
+
description =' Searches and fetches summaries from Wikipedia for any topic,\
|
| 81 |
+
across all supported languages and versions. Only a single query string is required as input.'
|
| 82 |
+
|
| 83 |
+
|
| 84 |
|
| 85 |
inputs = {
|
| 86 |
"query": {
|
|
|
|
| 102 |
|
| 103 |
class YoutubeTranscriptFetcher(Tool):
|
| 104 |
name = "youtube_transcript_fetcher"
|
| 105 |
+
description ="Fetches the English transcript of a YouTube video using either a direct video \
|
| 106 |
+
ID or a URL that includes one. Accepts a query containing the link or the raw video ID directly. Returns the transcript as plain text."
|
|
|
|
|
|
|
| 107 |
|
| 108 |
inputs = {
|
| 109 |
"query": {
|