{"id":22695678,"url":"https://github.com/tina4stack/thoughtdb","last_synced_at":"2025-03-29T18:10:23.473Z","repository":{"id":252517388,"uuid":"840602979","full_name":"tina4stack/ThoughtDB","owner":"tina4stack","description":"ThoughtDB is a mix between traditional relational and vector database for efficient data retrieval","archived":false,"fork":false,"pushed_at":"2024-09-02T10:14:42.000Z","size":82422,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-04T18:50:49.432Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tina4stack.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-10T06:06:02.000Z","updated_at":"2024-09-02T10:14:45.000Z","dependencies_parsed_at":"2024-12-10T04:21:47.338Z","dependency_job_id":null,"html_url":"https://github.com/tina4stack/ThoughtDB","commit_stats":null,"previous_names":["tina4stack/thoughtdb"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tina4stack%2FThoughtDB","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tina4stack%2FThoughtDB/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tina4stack%2FThoughtDB/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tina4stack%2FThoughtDB/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tina4stack","download_url":"https://codeload.github.com/tina4stack/ThoughtDB/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246223319,"owners_count":20743165,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-10T04:11:34.605Z","updated_at":"2025-03-29T18:10:18.499Z","avatar_url":"https://github.com/tina4stack.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ThoughtDB\nThoughtDB is a mix between relational and vector database for efficient data retrieval\n\n## Installation\n\n### Windows\n```bash\npython -m venv .venv\n.\\.venv\\Scripts\\activate\npip install poetry\n```\n\n### MacOS / Linux\n```bash\npython3 -m venv .venv\nsource ./.venv/bin/activate\npip install poetry\n```\n\n```bash\npoetry run python app.py 0.0.0.0:8003\n```\n\n### Text Embedding Models\n\nDownload the following model or model of your choice in GGUF format into the models_db folder\n```bash\nhttps://huggingface.co/nomic-ai/nomic-embed-text-v1.5-GGUF/resolve/main/nomic-embed-text-v1.5.Q4_K_M.gguf?download=true\n```\n\n# Data Structure\n\nThe following is the layout for the ThoughtDB data structure. As we are in Alpha phase this structure may change as we optimize things. \n\n- Organizations\n  - Collections\n    - Conversations\n      - Sessions\n      - History\n      - Summaries\n    - Document Types\n      - Documents\n        - Chapters\n        - Paragraphs\n        - Sentences\n        - Words\n    - Images\n    - Audio\n\n# Overview\n\n## Installing\n\nInstallation should be simple\n\n### Pip\n```bash\npip install thoughtdb\n```\n\n### Poetry\n```bash\npoetry add thoughtdb\n```\n\n## Creating a new database\n\nCurrently, we only support Sqlite3, all the dependencies should be installed by pip or poetry.\n\n```python\nfrom thoughtdb import VectorStore\n\n\n```\n\n# Building\n\n```bash\npython3 -m pip install --upgrade build\npython3 -m build\npython3 -m pip install --upgrade twine\npython3 -m twine upload --repository pipy dist/*\n```\n\n# Testing\n\n```bash\n pytest tests --verbose\n```\n\n# Todo","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftina4stack%2Fthoughtdb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftina4stack%2Fthoughtdb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftina4stack%2Fthoughtdb/lists"}