(self)
| 52 | self.cmd_type = "SEARCH-arxiv" |
| 53 | |
| 54 | def docstring(self) -> str: |
| 55 | return ( |
| 56 | "============= ARXIV SEARCH TOOL =============" |
| 57 | "You also have access to machine learning paper from Arxiv. " |
| 58 | "To search for summaries of papers on arxiv you can use the following command: ```SUMMARY\n<search query>\n```\n where <search query> is a string that will be used as the search query to find papers with semantically similar content and SUMMARY is just the word SUMMARY.\n" |
| 59 | "To get the full paper text for an arXiv paper, use the following command: ```FULL_TEXT\n<arxiv paper id>\n```\n where <arxiv paper id> is the ID of the arXiv paper (which can be found by using the SUMMARY command), and FULL_TEXT is just the word FULL_TEXT. Make sure to read the full text using the FULL_TEXT command before adding it to your list of relevant papers.\n" |
| 60 | "When you read arxiv paper, make sure to take note of the techniques they are using to solve their problem as well as the hyperparameters and implementation details. These are very important for successfully solving machine learning problems." |
| 61 | ) |
| 62 | |
| 63 | def execute_command(self, *args) -> str: |
| 64 | # args[0] -> command |
no outgoing calls
no test coverage detected