Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Allora Network machine learning #149

Merged

Conversation

spooktheducks
Copy link
Contributor

@spooktheducks spooktheducks commented Dec 28, 2024

Relates to:

Adding Allora Network price prediction plugin to the Goat SDK.

Background

What does this PR do?

Adds Allora Network price prediction plugin to the Goat SDK.

Testing

  • Build and install the allora plugin in the plugins directory
  • Install dependencies for the examples/vercel-ai/allora example
  • Provide the required .env values
    • ALLORA_API_KEY=UP-632d1a59f49448ca8b914427 (a demo key, this may change)
    • OPENAI_API_KEY
    • COINGECKO_API_KEY
  • Run npx ts-node index.ts in the example directory

Detailed testing results

Method Prompt Screenshot Transaction Link
Action #1 Can you fetch the current price of ETH and the predicted price in 8 hours and make a recommendation as to whether I should buy or sell? image N/A

Docs

For plugins

  • I have tested this change locally with key pair wallets
  • I have tested this change locally with hosted wallets (e.g. Crossmint Smart Wallets, etc.)
  • Package exists in the goat workspace file

Discord username

Copy link

changeset-bot bot commented Dec 28, 2024

⚠️ No Changeset found

Latest commit: cf81333

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link
Contributor

@0xaguspunk 0xaguspunk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Exciting! 🔥

Made some comments!

@spooktheducks spooktheducks force-pushed the feat/allora-network-integration branch from 7305646 to e760544 Compare December 30, 2024 21:50
@spooktheducks spooktheducks force-pushed the feat/allora-network-integration branch from e760544 to cf81333 Compare December 31, 2024 04:47
@0xaguspunk 0xaguspunk merged commit 07ca203 into goat-sdk:main Dec 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants