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

Create GitHub Data Provider for Eliza #39

Closed
snobbee opened this issue Nov 26, 2024 · 6 comments
Closed

Create GitHub Data Provider for Eliza #39

snobbee opened this issue Nov 26, 2024 · 6 comments
Assignees
Labels
enhancement New feature or request

Comments

@snobbee
Copy link
Collaborator

snobbee commented Nov 26, 2024

Develop a dedicated GitHub provider within the Github plugin that fetches relevant data, such as issues and commits, from the GitHub API. This data must be transformed into Eliza-compatible Memory objects. The provider should handle authentication, pagination, and error handling efficiently. Utilize the existing createMemoriesFromFiles function as a starting point for the transformation logic. This provider will make Eliza capable of understanding and utilizing GitHub information.

@snobbee snobbee added the enhancement New feature or request label Nov 26, 2024
@snobbee snobbee self-assigned this Nov 26, 2024
@jkbrooks
Copy link

jkbrooks commented Nov 26, 2024

#42

for scenarios (1-7)

@snobbee
Copy link
Collaborator Author

snobbee commented Nov 26, 2024

scenario 1 to 7 to implement

@snobbee
Copy link
Collaborator Author

snobbee commented Dec 7, 2024

PR ready to review #76

In my tests with latest update from upstream main branch it runs the matching fragments indivinitly resulting to a crash preventing me from running the providers and that happens as well when the providers are disabled

@snobbee
Copy link
Collaborator Author

snobbee commented Dec 9, 2024

@monilpat updated the PR to fix your suggestions #76

@snobbee
Copy link
Collaborator Author

snobbee commented Dec 11, 2024

@monilpat @jkbrooks I added some changes to my PR 39fa923
It is now retrieving the provider input from a new State schema instead of relying on env variables as I was used to do and as all the providers in the repo are doing.
My tests are successfully retrieving, docs, source code, test files, releases and workflow files from the github API and adding it in the context.

waiting for openai to come back online to share the test results

@snobbee
Copy link
Collaborator Author

snobbee commented Dec 12, 2024

@monilpat @jkbrooks test results for github providers can be found here #76 (comment)

all 5 providers are triggered upon calling the initialize repo action.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants