Giter VIP home page Giter VIP logo

stevennt / myai.abn.khoj Goto Github PK

View Code? Open in Web Editor NEW

This project forked from khoj-ai/khoj

0.0 0.0 0.0 84.19 MB

[KHOJ fork] Your AI second brain. Get answers to your questions, whether they be online or in your own notes. Use online AI models (e.g gpt4) or private, local LLMs (e.g llama3). Self-host locally or use our cloud instance. Access from Obsidian, Emacs, Desktop app, Web or Whatsapp.

Home Page: https://khoj.dev

License: GNU Affero General Public License v3.0

Shell 0.33% JavaScript 3.45% Python 48.63% Emacs Lisp 4.12% TypeScript 10.36% CSS 2.84% HTML 30.08% Dockerfile 0.19%

myai.abn.khoj's Introduction

Khoj Logo

test dockerize pypi Discord

The open-source, personal AI for your digital brain

🤖 Read Docs   •   🏮 Khoj Cloud   •   💬 Get Involved   •   📚 Read Blog


Khoj is an application that creates always-available, personal AI agents for you to extend your capabilities.

  • You can share your notes and documents to extend your digital brain.
  • Your AI agents have access to the internet, allowing you to incorporate realtime information.
  • Khoj is accessible on Desktop, Emacs, Obsidian, Web and Whatsapp.
  • You can share pdf, markdown, org-mode, notion files and github repositories.
  • You'll get fast, accurate semantic search on top of your docs.
  • Your agents can create deeply personal images and understand your speech.
  • Khoj is open-source, self-hostable. Always.

See it in action

Khoj Demo

Go to https://app.khoj.dev to see Khoj live.

Full feature list

You can see the full feature list here.

Self-Host

To get started with self-hosting Khoj, read the docs.

Contributors

Cheers to our awesome contributors! 🎉

Made with contrib.rocks.

Interested in Contributing?

We are always looking for contributors to help us build new features, improve the project documentation, or fix bugs. If you're interested, please see our Contributing Guidelines and check out our Contributors Project Board.

Shout out to our brilliant sponsors! 🌈

myai.abn.khoj's People

Contributors

debanjum avatar sabaimran avatar stevennt avatar mythicalcow avatar eltociear avatar comprehensive-jason avatar muftawo avatar jtbg avatar liamswayne avatar shahnewaz-labib avatar olatoyan avatar telotortium avatar sjbutler avatar tuan3w avatar bholagabbar avatar ducksblock avatar kxnarak avatar suliveevil avatar tjsousa avatar joshavant avatar jonny-gm avatar axelson avatar hyunggyujang avatar felixonmars avatar ellen7ions avatar yuzhou721 avatar dtkav avatar asim-shrestha avatar spott avatar albd avatar

myai.abn.khoj's Issues

Why this database authentication failure?

  • I tested within the database container. Db exists. User exists.
  • I think maybe the abncopilot container cannot call the db container.
  • need to check calling from there.

image

Khoj Database Problem

abnkhojdatabase-1 | 2024-06-27 15:35:44.121 UTC [42] FATAL: invalid page in block 0 of relation global/2676
abnkhoj-1 | Traceback (most recent call last):
abnkhoj-1 | File "/usr/local/lib/python3.10/dist-packages/django/db/backends/base/base.py", line 289, in ensure_connection
abnkhoj-1 | self.connect()
abnkhoj-1 | File "/usr/local/lib/python3.10/dist-packages/django/utils/asyncio.py", line 26, in inner
abnkhoj-1 | return func(*args, **kwargs)
abnkhoj-1 | File "/usr/local/lib/python3.10/dist-packages/django/db/backends/base/base.py", line 270, in connect
abnkhoj-1 | self.connection = self.get_new_connection(conn_params)
abnkhoj-1 | File "/usr/local/lib/python3.10/dist-packages/django/utils/asyncio.py", line 26, in inner
abnkhoj-1 | return func(*args, **kwargs)
abnkhoj-1 | File "/usr/local/lib/python3.10/dist-packages/django/db/backends/postgresql/base.py", line 275, in get_new_connection
abnkhoj-1 | connection = self.Database.connect(**conn_params)
abnkhoj-1 | File "/usr/local/lib/python3.10/dist-packages/psycopg2/init.py", line 122, in connect
abnkhoj-1 | conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
abnkhoj-1 | psycopg2.OperationalError: connection to server at "abnkhojdatabase" (172.20.0.2), port 5432 failed: FATAL: invalid page in block 0 of relation global/2676
abnkhoj-1 |
abnkhoj-1 |
abnkhoj-1 | The above exception was the direct cause of the following exception:
abnkhoj-1 |
abnkhoj-1 | Traceback (most recent call last):
abnkhoj-1 | File "/app/src/khoj/main.py", line 52, in
abnkhoj-1 | call_command("migrate", "--noinput")
abnkhoj-1 | File "/usr/local/lib/python3.10/dist-packages/django/core/management/init.py", line 194, in call_command
abnkhoj-1 | return command.execute(*args, **defaults)
abnkhoj-1 | File "/usr/local/lib/python3.10/dist-packages/django/core/management/base.py", line 458, in execute
abnkhoj-1 | output = self.handle(*args, **options)
abnkhoj-1 | File "/usr/local/lib/python3.10/dist-packages/django/core/management/base.py", line 106, in wrapper
abnkhoj-1 | res = handle_func(*args, **kwargs)
abnkhoj-1 | File "/usr/local/lib/python3.10/dist-packages/django/core/management/commands/migrate.py", line 117, in handle
abnkhoj-1 | executor = MigrationExecutor(connection, self.migration_progress_callback)
abnkhoj-1 | File "/usr/local/lib/python3.10/dist-packages/django/db/migrations/executor.py", line 18, in init
abnkhoj-1 | self.loader = MigrationLoader(self.connection)
abnkhoj-1 | File "/usr/local/lib/python3.10/dist-packages/django/db/migrations/loader.py", line 58, in init
abnkhoj-1 | self.build_graph()
abnkhoj-1 | File "/usr/local/lib/python3.10/dist-packages/django/db/migrations/loader.py", line 235, in build_graph
abnkhoj-1 | self.applied_migrations = recorder.applied_migrations()
abnkhoj-1 | File "/usr/local/lib/python3.10/dist-packages/django/db/migrations/recorder.py", line 81, in applied_migrations
abnkhoj-1 | if self.has_table():
abnkhoj-1 | File "/usr/local/lib/python3.10/dist-packages/django/db/migrations/recorder.py", line 57, in has_table
abnkhoj-1 | with self.connection.cursor() as cursor:
abnkhoj-1 | File "/usr/local/lib/python3.10/dist-packages/django/utils/asyncio.py", line 26, in inner
abnkhoj-1 | return func(*args, **kwargs)
abnkhoj-1 | File "/usr/local/lib/python3.10/dist-packages/django/db/backends/base/base.py", line 330, in cursor
abnkhoj-1 | return self._cursor()
abnkhoj-1 | File "/usr/local/lib/python3.10/dist-packages/django/db/backends/base/base.py", line 306, in _cursor
abnkhoj-1 | self.ensure_connection()
abnkhoj-1 | File "/usr/local/lib/python3.10/dist-packages/django/utils/asyncio.py", line 26, in inner
abnkhoj-1 | return func(*args, **kwargs)
abnkhoj-1 | File "/usr/local/lib/python3.10/dist-packages/django/db/backends/base/base.py", line 288, in ensure_connection
abnkhoj-1 | with self.wrap_database_errors:
abnkhoj-1 | File "/usr/local/lib/python3.10/dist-packages/django/db/utils.py", line 91, in exit
abnkhoj-1 | raise dj_exc_value.with_traceback(traceback) from exc_value
abnkhoj-1 | File "/usr/local/lib/python3.10/dist-packages/django/db/backends/base/base.py", line 289, in ensure_connection
abnkhoj-1 | self.connect()
abnkhoj-1 | File "/usr/local/lib/python3.10/dist-packages/django/utils/asyncio.py", line 26, in inner
abnkhoj-1 | return func(*args, **kwargs)
abnkhoj-1 | File "/usr/local/lib/python3.10/dist-packages/django/db/backends/base/base.py", line 270, in connect
abnkhoj-1 | self.connection = self.get_new_connection(conn_params)
abnkhoj-1 | File "/usr/local/lib/python3.10/dist-packages/django/utils/asyncio.py", line 26, in inner
abnkhoj-1 | return func(*args, **kwargs)
abnkhoj-1 | File "/usr/local/lib/python3.10/dist-packages/django/db/backends/postgresql/base.py", line 275, in get_new_connection
abnkhoj-1 | connection = self.Database.connect(**conn_params)
abnkhoj-1 | File "/usr/local/lib/python3.10/dist-packages/psycopg2/init.py", line 122, in connect
abnkhoj-1 | conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
abnkhoj-1 | django.db.utils.OperationalError: connection to server at "abnkhojdatabase" (172.20.0.2), port 5432 failed: FATAL: invalid page in block 0 of relation global/2676
abnkhoj-1 |
abnkhoj-1 exited with code 1
abnkhojdatabase-1 | 2024-06-27 15:36:06.170 UTC [50] FATAL: invalid page in block 0 of relation global/2676
abnkhojdatabase-1 | 2024-06-27 15:36:36.318 UTC [58] FATAL: invalid page in block 0 of relation global/2676
abnkhojdatabase-1 | 2024-06-27 15:37:06.446 UTC [66] FATAL: invalid page in block 0 of relation global/2676
abnkhojdatabase-1 | 2024-06-27 15:37:36.603 UTC [76] FATAL: invalid page in block 0 of relation global/2676
abnkhojdatabase-1 | 2024-06-27 15:38:06.745 UTC [85] FATAL: invalid page in block 0 of relation global/2676
abnkhojdatabase-1 | 2024-06-27 15:38:36.871 UTC [93] FATAL: invalid page in block 0 of relation global/2676
abnkhojdatabase-1 | 2024-06-27 15:39:07.003 UTC [102] FATAL: invalid page in block 0 of relation global/2676
abnkhojdatabase-1 | 2024-06-27 15:39:37.127 UTC [110] FATAL: invalid page in block 0 of relation global/2676
abnkhojdatabase-1 | 2024-06-27 15:40:06.373 UTC [28] LOG: checkpoint starting: time
abnkhojdatabase-1 | 2024-06-27 15:40:06.388 UTC [28] LOG: checkpoint complete: wrote 3 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.002 s, sync=0.006 s, total=0.015 s; sync files=2, longest=0.005 s, average=0.003 s; distance=0 kB, estimate=0 kB
abnkhojdatabase-1 | 2024-06-27 15:40:07.250 UTC [118] FATAL: invalid page in block 0 of relation global/2676
abnkhojdatabase-1 | 2024-06-27 15:40:37.391 UTC [127] FATAL: invalid page in block 0 of relation global/2676
abnkhojdatabase-1 | 2024-06-27 15:41:07.528 UTC [135] FATAL: invalid page in block 0 of relation global/2676
abnkhojdatabase-1 | 2024-06-27 15:41:37.633 UTC [143] FATAL: invalid page in block 0 of relation global/2676
abnkhojdatabase-1 | 2024-06-27 15:42:07.806 UTC [152] FATAL: invalid page in block 0 of relation global/2676
abnkhojdatabase-1 | 2024-06-27 15:42:37.923 UTC [160] FATAL: invalid page in block 0 of relation global/2676
abnkhojdatabase-1 | 2024-06-27 15:43:08.089 UTC [168] FATAL: invalid page in block 0 of relation global/2676

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.