Code Monkey home page Code Monkey logo

goldenrecursion / godel Goto Github PK

View Code? Open in Web Editor NEW
21.0 21.0 7.0 1.62 MB

Godel is Golden's open-source Python SDK that will provide developers and agents with the tools and means to build applications and extend Golden's protocol.

Home Page: https://docs.golden.xyz/godel-python-sdk

License: Apache License 2.0

Dockerfile 0.48% Python 82.10% Jupyter Notebook 17.43%
api artificial-intelligence gpu graphql knowledge-base knowledge-graph machine-learning nvidia python sdk

godel's People

Contributors

aychang95 avatar cr0n1c avatar iskarica avatar katkaypettitt avatar octavifs avatar renovate[bot] avatar ryfortune avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

godel's Issues

INT max should be increased

Describe the bug
INT object value can store upto maximum of 2,147,483,647 -> which is not sufficient to fulfil all use cases.

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Rate-Limited

These updates are currently rate-limited. Click on a checkbox below to force their creation now.

  • Update Python to <3.13
  • Update dependency mkdocs to v1.5.3
  • Update dependency sgqlc to v16.3
  • Update dependency wheel to ^0.42.0
  • Update nvidia/cuda Docker tag to v11.8.0
  • Update abatilo/actions-poetry action to v3
  • Update actions/checkout action to v4
  • Update actions/setup-python action to v5
  • Update dependency Faker to v22
  • Update dependency black to v23
  • Update dependency flake8 to v7
  • Update dependency ipywidgets to v8
  • Update dependency jupyterlab to v4
  • Update dependency mkdocs-material to v9
  • Update dependency pandas to v2
  • Update dependency pytest to v7
  • Update dependency setuptools to v69
  • Update dependency web3 to v6
  • Update github/codeql-action action to v3
  • Update nvidia/cuda Docker tag to v12
  • ๐Ÿ” Create all rate-limited PRs at once ๐Ÿ”

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

docker-compose
docker-compose.yml
dockerfile
Dockerfile
  • nvidia/cuda 11.0.3-devel-ubuntu20.04
github-actions
.github/workflows/codeql-analysis.yml
  • actions/checkout v3
  • github/codeql-action v2
  • github/codeql-action v2
  • github/codeql-action v2
.github/workflows/docker-run.yml
  • actions/checkout v3
.github/workflows/publish_docs.yml
  • actions/checkout v2
  • actions/setup-python v2
  • abatilo/actions-poetry v2.1.3
.github/workflows/pypi_publish.yml
  • actions/checkout v2
  • actions/setup-python v2
  • abatilo/actions-poetry v2.1.3
pep621
pyproject.toml
  • poetry-core >=1.0.0
poetry
pyproject.toml
  • python ^3.7.10, <3.11
  • wheel ^0.36.2
  • setuptools ^65.6.3
  • tqdm ^4.63.1
  • sgqlc ^16.0
  • requests ^2.27.1
  • numpy 1.21.6
  • pandas 1.3.5
  • web3 ^5.28.0
  • jupyterlab ^3.0.0
  • ipywidgets ^7.6.3
  • mkdocs ^1.3.0
  • mkdocs-material ^8.2.9
  • mkdocstrings ^0.19.0
  • mkdocs-jupyter ^0.20.1
  • Faker ^15.3.1
  • pytest ^5.2
  • flake8 ^3.8.4
  • black ^22.6.0

  • Check this box to trigger a request for Renovate to run again on this repository

Invalid Format constraint violated

Describe the bug
I have all the validation in the code but yet it says Format constraint violated, I am attaching a sample and let me know what constraint is being violated there. I think this is some internal bug

CreateEntityInput(
    statements=[
        StatementInputRecordInput(
            predicate_id="94a8d215-ce32-4379-b18e-2aebf0794882",
            object_entity_id="635dd566-e3f2-4bcd-bc51-95f143b075c7",
            citation_urls=[],
            qualifiers=[],
        ),
        StatementInputRecordInput(
            predicate_id="1e49b96d-f641-4226-91f0-ed42e6de742e",
            object_value="https://github.com/RECYCLEYCY?tab=repositories",
            citation_urls=["https://coinmarketcap.com"],
            qualifiers=[],
        ),
        StatementInputRecordInput(
            predicate_id="42cb158b-e836-45ed-9b56-034668b8f05a",
            object_value="https://www.recycling-token.com/",
            citation_urls=["https://coinmarketcap.com"],
            qualifiers=[],
        ),
        StatementInputRecordInput(
            predicate_id="5387126a-fa27-4a42-8c7f-bf813a6a893d",
            object_value="https://coinmarketcap.com/currencies/recycling-cyc",
            citation_urls=["https://coinmarketcap.com"],
            qualifiers=[],
        ),
        StatementInputRecordInput(
            predicate_id="7258475d-4d22-4182-91bc-c1199de6a009",
            object_value="https://bscscan.com/token/0xcb64f56a1f5865907dc01bef4f828a2ae1d957c4",
            citation_urls=["https://coinmarketcap.com"],
            qualifiers=[],
        ),
        StatementInputRecordInput(
            predicate_id="9934d828-963f-403a-a0da-7a52e0224ef5",
            object_value="https://twitter.com/recyclingcyc",
            citation_urls=["https://coinmarketcap.com"],
            qualifiers=[],
        ),
        StatementInputRecordInput(
            predicate_id="a27218b8-6a4d-47bb-95b6-5a55334fac1c",
            object_value="Recycling CYC",
            citation_urls=["https://coinmarketcap.com"],
            qualifiers=[],
        ),
        StatementInputRecordInput(
            predicate_id="da0b7a6f-7f01-447a-9ddc-f2bb8b51c4f9",
            object_value="1000000000",
            citation_urls=["https://coinmarketcap.com"],
            qualifiers=[],
        ),
        StatementInputRecordInput(
            predicate_id="e3d0cfb4-3ec1-4ef2-ae08-93fa07aa27dc",
            object_value="https://github.com/RECYCLEYCY?tab=repositories",
            citation_urls=["https://coinmarketcap.com"],
            qualifiers=[],
        ),
        StatementInputRecordInput(
            predicate_id="60627261-4e6c-4ebf-8879-914576ade417",
            object_value="https://s2.coinmarketcap.com/static/img/coins/64x64/22214.png",
            citation_urls=["https://coinmarketcap.com"],
            qualifiers=[],
        ),
        StatementInputRecordInput(
            predicate_id="7f3869c1-7dc9-4486-9045-6bade487a49d",
            object_value="Recycling CYC (CYC) is a cryptocurrency and operates on the BNB Smart Chain (BEP20) platform",
            citation_urls=["https://coinmarketcap.com"],
            qualifiers=[],
        ),
    ]
)
response: {
    "errors": [
        {
            "errcode": "22023",
            "extensions": {"messages": [], "exception": {"errcode": "22023"}},
            "message": "Format constraint violated. The object value format is invalid.",
            "locations": [{"line": 2, "column": 1}],
            "path": ["createEntity"],
            "stack": [
                "error: Format constraint violated. The object value format is invalid.",
                "    at Parser.parseErrorMessage (/web/node_modules/pg-protocol/src/parser.ts:369:69)",
                "    at Parser.handlePacket (/web/node_modules/pg-protocol/src/parser.ts:188:21)",
                "    at Parser.parse (/web/node_modules/pg-protocol/src/parser.ts:103:30)",
                "    at Socket.<anonymous> (/web/node_modules/pg-protocol/src/index.ts:7:48)",
                "    at Socket.emit (node:events:513:28)",
                "    at Socket.emit (node:domain:552:15)",
                "    at addChunk (node:internal/streams/readable:324:12)",
                "    at readableAddChunk (node:internal/streams/readable:297:9)",
                "    at Socket.Readable.push (node:internal/streams/readable:234:10)",
                "    at TCP.onStreamRead (node:internal/stream_base_commons:190:23)",
                "    at TCP.callbackTrampoline (node:internal/async_hooks:130:17)",
            ],
        }
    ],
    "data": {"createEntity": None},
}

Disappreance of data after entity ingestion

Describe the bug
All structured data disappeared after entity ingestion. When an entity is pushed through godel, it appears for sometime on the dapp and after sometime all data disappeared.

To Reproduce
Steps to reproduce the behavior:

  1. I used the godel to push entities
  2. Copy the entity link, check it on dapp it will appear there
  3. After sometime all structured data will disappear

Expected behavior
Entity ingestion should persist

Screenshots
You can see all the structured data here: https://i.ibb.co/0VYrXHZ/Screenshot-2022-10-29-at-4-07-34-PM.png check this entity link after sometime everything will disappear: https://dapp.golden.xyz/entity/f2c98575-0809-4011-97fc-787017b47b71

Desktop (please complete the following information):
I used the latest version of godel

Additional context
I have reported it on discord many times over the last week but no one is paying any attention. I spend days over fetching dataset and then writing script, the amount of entities I have pushed should make me come at the top of the leaderboard, but due to this bug no past activity records appears for my wallet. The worst part is team doesn't care and nobody is not paying any attentions to it. Looks like I just wasted my time, never coming back to golden if this github issues gets ignored too.

Here are my past messages on discord:
https://discord.com/channels/900818355315961876/957045897810821201/1034736485544509501
https://discord.com/channels/900818355315961876/1034736485544509501/1035383247997239436
https://discord.com/channels/900818355315961876/1034736485544509501/1035390410828304415
https://discord.com/channels/900818355315961876/1034736485544509501/1035393995913826314
https://discord.com/channels/900818355315961876/1034736485544509501/1035681686756798554
https://discord.com/channels/900818355315961876/1034736485544509501/1035780739079352320
https://discord.com/channels/900818355315961876/1034736485544509501/1035828937449807932
https://discord.com/channels/900818355315961876/1034736485544509501/1035866146525696041
https://discord.com/channels/900818355315961876/957045897810821201/1035870912492343306
https://discord.com/channels/900818355315961876/957045897810821201/1036098383196209193

Fix the issue and fix my testnet point count

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.