-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #208 from valory-xyz/fix/tools
Fix/tools
- Loading branch information
Showing
27 changed files
with
613 additions
and
178 deletions.
There are no files selected for viewing
20 changes: 20 additions & 0 deletions
20
packages/napthaai/customs/prediction_request_rag_claude/__init__.py
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,20 @@ | ||
# -*- coding: utf-8 -*- | ||
# ------------------------------------------------------------------------------ | ||
# | ||
# Copyright 2024 Valory AG | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
# ------------------------------------------------------------------------------ | ||
|
||
"""This module contains the prediction request rag claude tool.""" |
39 changes: 39 additions & 0 deletions
39
packages/napthaai/customs/prediction_request_rag_claude/component.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,39 @@ | ||
name: prediction_request_rag_claude | ||
author: napthaai | ||
version: 0.1.0 | ||
type: custom | ||
description: A tool for making binary predictions on markets using claude. | ||
license: Apache-2.0 | ||
aea_version: '>=1.0.0, <2.0.0' | ||
fingerprint: | ||
__init__.py: bafybeihd72xjbjzbqcpm3qfaimqk3ts3qx2l4w2lhca2e4ruso7jngmmce | ||
prediction_request_rag_claude.py: bafybeibxeaoizixha4po7apf4k7gix2hi7x54hwqx4oyp23bwdgao6fv2u | ||
fingerprint_ignore_patterns: [] | ||
entry_point: prediction_request_rag_claude.py | ||
callable: run | ||
dependencies: | ||
google-api-python-client: | ||
version: ==2.95.0 | ||
googlesearch-python: | ||
version: ==1.2.3 | ||
requests: {} | ||
markdownify: | ||
version: ==0.11.6 | ||
readability-lxml: | ||
version: ==0.8.1 | ||
anthropic: | ||
version: ==0.21.3 | ||
tiktoken: | ||
version: ==0.5.1 | ||
pydantic: | ||
version: '>=1.9.0,<3' | ||
faiss-cpu: | ||
version: ==1.7.4 | ||
openai: | ||
version: ==1.11.0 | ||
docstring-parser: | ||
version: ==0.15 | ||
pypdf2: | ||
version: ==3.0.1 | ||
numpy: | ||
version: '>=1.19.0' |
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
39 changes: 39 additions & 0 deletions
39
packages/napthaai/customs/prediction_request_reasoning_claude/component.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,39 @@ | ||
name: prediction_request_reasoning_claude | ||
author: napthaai | ||
version: 0.1.0 | ||
type: custom | ||
description: A tool for making binary predictions on markets using claude. | ||
license: Apache-2.0 | ||
aea_version: '>=1.0.0, <2.0.0' | ||
fingerprint: | ||
__init__.py: bafybeib36ew6vbztldut5xayk5553rylrq7yv4cpqyhwc5ktvd4cx67vwu | ||
prediction_request_reasoning_claude.py: bafybeian5oyo5v4qvnocxhpgtxcvitlzwsa7hag4lwydmyyth2r7u6dine | ||
fingerprint_ignore_patterns: [] | ||
entry_point: prediction_request_reasoning_claude.py | ||
callable: run | ||
dependencies: | ||
google-api-python-client: | ||
version: ==2.95.0 | ||
googlesearch-python: | ||
version: ==1.2.3 | ||
requests: {} | ||
markdownify: | ||
version: ==0.11.6 | ||
readability-lxml: | ||
version: ==0.8.1 | ||
openai: | ||
version: ==1.11.0 | ||
tiktoken: | ||
version: ==0.5.1 | ||
pypdf2: | ||
version: ==3.0.1 | ||
numpy: | ||
version: '>=1.19.0' | ||
pydantic: | ||
version: '>=1.9.0,<3' | ||
faiss-cpu: | ||
version: ==1.7.4 | ||
docstring-parser: | ||
version: ==0.15 | ||
anthropic: | ||
version: ==0.21.3 |
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,20 @@ | ||
# -*- coding: utf-8 -*- | ||
# ------------------------------------------------------------------------------ | ||
# | ||
# Copyright 2024 Valory AG | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
# ------------------------------------------------------------------------------ | ||
|
||
"""This module contains the prediction url cot tool.""" |
37 changes: 37 additions & 0 deletions
37
packages/napthaai/customs/prediction_url_cot/component.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,37 @@ | ||
name: prediction_url_cot | ||
author: napthaai | ||
version: 0.1.0 | ||
type: custom | ||
description: A tool for making binary predictions on markets. | ||
license: Apache-2.0 | ||
aea_version: '>=1.0.0, <2.0.0' | ||
fingerprint: | ||
__init__.py: bafybeiflni5dkn5fqe7fnu4lgbqxzfrgochhqfbgzwz3vlf5grijp3nkpm | ||
prediction_url_cot.py: bafybeiczvut645b7xma2x6ivadhdbbqrvwusjoczidv2bwfbhidazshlfu | ||
fingerprint_ignore_patterns: [] | ||
entry_point: prediction_url_cot.py | ||
callable: run | ||
dependencies: | ||
google-api-python-client: | ||
version: ==2.95.0 | ||
googlesearch-python: | ||
version: ==1.2.3 | ||
requests: {} | ||
markdownify: | ||
version: ==0.11.6 | ||
readability-lxml: | ||
version: ==0.8.1 | ||
anthropic: | ||
version: ==0.21.3 | ||
tiktoken: | ||
version: ==0.5.1 | ||
pypdf2: | ||
version: ==3.0.1 | ||
numpy: | ||
version: '>=1.19.0' | ||
pydantic: | ||
version: '>=1.9.0,<3' | ||
openai: | ||
version: ==1.11.0 | ||
docstring-parser: | ||
version: ==0.15 |
Oops, something went wrong.