Enhancement: Chat rating button

Contact Details
No response
What features would you like to see added?
ChatGPT has a rating system for messages. This would be very useful for LibreChat for users who need moderation tools or want a feedback system.

Which components are impacted by your request?
General, UI, Endpoints
Pictures
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

I could really see this being integral to a future training feature, like prefer this kind of response, as I'm sure the main reason it exists for OpenAI is LLM training

This would make me move from chainlit to librechat - is this on a roadmap?

This would make me move from chainlit to librechat - is this on a roadmap?

Yes it is!

Great, thanks for the quick answer. Was just listening to the practical.ai episode :)

I am about to embark on this task. However, I am tripping up on the environment building part.
When I do npm run backend:dev, I am getting the following error.
I am trying to develop using devcontainer on a Mac VSCode.
Do I need to have vectordb settings etc in docker-compose.yml?
2024-09-16 03:31:36 info: [Optional] Redis not initialized. Note: Redis support is experimental.
2024-09-16 03:32:14 error: KeyvMongo connection error: connection timed out
2024-09-16 03:32:14 error: There was an uncaught error: connection timed out
[nodemon] app crashed - waiting for file changes before starting...

@jumpei-kurata you need to configure the mongodb connection
See: https://www.librechat.ai/docs/development/get_started#prepare-librechat

@fuegovic Thank you.
I think this is not a MongoDB setting but a vectorDB setting. I am getting the following error:
I am trying to develop with .devcontainer on vscode. There may be a problem with the following docker-compose.yml.
vectordb          | exec /usr/local/bin/docker-entrypoint.sh: exec format error vectordb          | exec /usr/local/bin/docker-entrypoint.sh: exec format error vectordb          | exec /usr/local/bin/docker-entrypoint.sh: exec format error vectordb          | exec /usr/local/bin/docker-entrypoint.sh: exec format error vectordb          | exec /usr/local/bin/docker-entrypoint.sh: exec format error vectordb          | exec /usr/local/bin/docker-entrypoint.sh: exec format error vectordb          | exec /usr/local/bin/docker-entrypoint.sh: exec format error rag_api           | 2024-09-21 03:25:58,352 - root - INFO - Initialized embeddings of type: <class 'langchain_openai.embeddings.base.OpenAIEmbeddings'> rag_api           | /usr/local/lib/python3.10/site-packages/langchain_community/vectorstores/pgvector.py:322: LangChainPendingDeprecationWarning: Please use JSONB instead of JSON for metadata. This change will allow for more efficient querying that involves filtering based on metadata.Please note that filtering operators have been changed when using JSOB metadata to be prefixed with a $ sign to avoid name collisions with columns. If you're using an existing database, you will need to create adb migration for your metadata column to be JSONB and update your queries to use the new operators. rag_api           |   warn_deprecated( rag_api           | Traceback (most recent call last): rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 145, in __init__ rag_api           |     self._dbapi_connection = engine.raw_connection() rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 3303, in raw_connection rag_api           |     return self.pool.connect() rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 449, in connect rag_api           |     return _ConnectionFairy._checkout(self) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 1263, in _checkout rag_api           |     fairy = _ConnectionRecord.checkout(pool) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 712, in checkout rag_api           |     rec = pool._do_get() rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/impl.py", line 179, in _do_get rag_api           |     with util.safe_reraise(): rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/util/langhelpers.py", line 146, in __exit__ rag_api           |     raise exc_value.with_traceback(exc_tb) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/impl.py", line 177, in _do_get rag_api           |     return self._create_connection() rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 390, in _create_connection rag_api           |     return _ConnectionRecord(self) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 674, in __init__ rag_api           |     self.__connect() rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 900, in __connect rag_api           |     with util.safe_reraise(): rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/util/langhelpers.py", line 146, in __exit__ rag_api           |     raise exc_value.with_traceback(exc_tb) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 896, in __connect rag_api           |     self.dbapi_connection = connection = pool._invoke_creator(self) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/create.py", line 643, in connect rag_api           |     return dialect.connect(*cargs, **cparams) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/default.py", line 616, in connect rag_api           |     return self.loaded_dbapi.connect(*cargs, **cparams) rag_api           |   File "/usr/local/lib/python3.10/site-packages/psycopg2/__init__.py", line 122, in connect rag_api           |     conn = _connect(dsn, connection_factory=connection_factory, **kwasync) rag_api           | psycopg2.OperationalError: could not translate host name "vectordb" to address: Name or service not known rag_api           | rag_api           | rag_api           | The above exception was the direct cause of the following exception: rag_api           | rag_api           | Traceback (most recent call last): rag_api           |   File "/usr/local/lib/python3.10/site-packages/langchain_community/vectorstores/pgvector.py", line 383, in create_vector_extension rag_api           |     session.execute(statement) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/orm/session.py", line 2306, in execute rag_api           |     return self._execute_internal( rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/orm/session.py", line 2181, in _execute_internal rag_api           |     conn = self._connection_for_bind(bind) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/orm/session.py", line 2050, in _connection_for_bind rag_api           |     return trans._connection_for_bind(engine, execution_options) rag_api           |   File "<string>", line 2, in _connection_for_bind rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/orm/state_changes.py", line 139, in _go rag_api           |     ret_value = fn(self, *arg, **kw) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/orm/session.py", line 1144, in _connection_for_bind rag_api           |     conn = bind.connect() rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 3279, in connect rag_api           |     return self._connection_cls(self) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 147, in __init__ rag_api           |     Connection._handle_dbapi_exception_noconnection( rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 2443, in _handle_dbapi_exception_noconnection rag_api           |     raise sqlalchemy_exception.with_traceback(exc_info[2]) from e rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 145, in __init__ rag_api           |     self._dbapi_connection = engine.raw_connection() rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 3303, in raw_connection rag_api           |     return self.pool.connect() rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 449, in connect rag_api           |     return _ConnectionFairy._checkout(self) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 1263, in _checkout rag_api           |     fairy = _ConnectionRecord.checkout(pool) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 712, in checkout rag_api           |     rec = pool._do_get() rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/impl.py", line 179, in _do_get rag_api           |     with util.safe_reraise(): rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/util/langhelpers.py", line 146, in __exit__ rag_api           |     raise exc_value.with_traceback(exc_tb) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/impl.py", line 177, in _do_get rag_api           |     return self._create_connection() rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 390, in _create_connection rag_api           |     return _ConnectionRecord(self) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 674, in __init__ rag_api           |     self.__connect() rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 900, in __connect rag_api           |     with util.safe_reraise(): rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/util/langhelpers.py", line 146, in __exit__ rag_api           |     raise exc_value.with_traceback(exc_tb) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 896, in __connect rag_api           |     self.dbapi_connection = connection = pool._invoke_creator(self) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/create.py", line 643, in connect rag_api           |     return dialect.connect(*cargs, **cparams) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/default.py", line 616, in connect rag_api           |     return self.loaded_dbapi.connect(*cargs, **cparams) rag_api           |   File "/usr/local/lib/python3.10/site-packages/psycopg2/__init__.py", line 122, in connect rag_api           |     conn = _connect(dsn, connection_factory=connection_factory, **kwasync) rag_api           | sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) could not translate host name "vectordb" to address: Name or service not known rag_api           | rag_api           | (Background on this error at: https://sqlalche.me/e/20/e3q8) rag_api           | rag_api           | The above exception was the direct cause of the following exception: rag_api           | rag_api           | Traceback (most recent call last): rag_api           |   File "/app/main.py", line 46, in <module> rag_api           |     from psql import PSQLDatabase, ensure_custom_id_index_on_embedding, pg_health_check rag_api           |   File "/app/psql.py", line 3, in <module> rag_api           |     from config import DSN, logger rag_api           |   File "/app/config.py", line 232, in <module> rag_api           |     vector_store = get_vector_store( rag_api           |   File "/app/store_factory.py", line 20, in get_vector_store rag_api           |     return AsyncPgVector( rag_api           |   File "/usr/local/lib/python3.10/site-packages/langchain_core/_api/deprecation.py", line 183, in warn_if_direct_instance rag_api           |     return wrapped(self, *args, **kwargs) rag_api           |   File "/usr/local/lib/python3.10/site-packages/langchain_community/vectorstores/pgvector.py", line 341, in __init__ rag_api           |     self.__post_init__() rag_api           |   File "/usr/local/lib/python3.10/site-packages/langchain_community/vectorstores/pgvector.py", line 348, in __post_init__ rag_api           |     self.create_vector_extension() rag_api           |   File "/usr/local/lib/python3.10/site-packages/langchain_community/vectorstores/pgvector.py", line 386, in create_vector_extension rag_api           |     raise Exception(f"Failed to create vector extension: {e}") from e rag_api           | Exception: Failed to create vector extension: (psycopg2.OperationalError) could not translate host name "vectordb" to address: Name or service not known rag_api           | rag_api           | (Background on this error at: https://sqlalche.me/e/20/e3q8) chat-mongodb      | {"t":{"$date":"2024-09-21T03:25:59.351+00:00"},"s":"I",  "c":"CONTROL",  "id":23285,   "ctx":"main","msg":"Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none'"} chat-mongodb      | {"t":{"$date":"2024-09-21T03:25:59.351+00:00"},"s":"I",  "c":"NETWORK",  "id":4915701, "ctx":"main","msg":"Initialized wire specification","attr":{"spec":{"incomingExternalClient":{"minWireVersion":0,"maxWireVersion":21},"incomingInternalClient":{"minWireVersion":0,"maxWireVersion":21},"outgoing":{"minWireVersion":6,"maxWireVersion":21},"isInternalClient":true}}} chat-mongodb      | {"t":{"$date":"2024-09-21T03:25:59.352+00:00"},"s":"I",  "c":"NETWORK",  "id":4648601, "ctx":"main","msg":"Implicit TCP FastOpen unavailable. If TCP FastOpen is required, set tcpFastOpenServer, tcpFastOpenClient, and tcpFastOpenQueueSize."} chat-mongodb      | {"t":{"$date":"2024-09-21T03:25:59.353+00:00"},"s":"I",  "c":"REPL",     "id":5123008, "ctx":"main","msg":"Successfully registered PrimaryOnlyService","attr":{"service":"TenantMigrationDonorService","namespace":"config.tenantMigrationDonors"}} chat-mongodb      | {"t":{"$date":"2024-09-21T03:25:59.353+00:00"},"s":"I",  "c":"REPL",     "id":5123008, "ctx":"main","msg":"Successfully registered PrimaryOnlyService","attr":{"service":"TenantMigrationRecipientService","namespace":"config.tenantMigrationRecipients"}} chat-mongodb      | {"t":{"$date":"2024-09-21T03:25:59.354+00:00"},"s":"I",  "c":"CONTROL",  "id":5945603, "ctx":"main","msg":"Multi threading initialized"} chat-mongodb      | {"t":{"$date":"2024-09-21T03:25:59.354+00:00"},"s":"I",  "c":"TENANT_M", "id":7091600, "ctx":"main","msg":"Starting TenantMigrationAccessBlockerRegistry"} chat-mongodb      | {"t":{"$date":"2024-09-21T03:25:59.354+00:00"},"s":"I",  "c":"CONTROL",  "id":4615611, "ctx":"initandlisten","msg":"MongoDB starting","attr":{"pid":1,"port":27017,"dbPath":"/data/db","architecture":"64-bit","host":"665fcff507b0"}} chat-mongodb      | {"t":{"$date":"2024-09-21T03:25:59.354+00:00"},"s":"I",  "c":"CONTROL",  "id":23403,   "ctx":"initandlisten","msg":"Build Info","attr":{"buildInfo":{"version":"7.0.14","gitVersion":"ce59cfc6a3c5e5c067dca0d30697edd68d4f5188","openSSLVersion":"OpenSSL 3.0.2 15 Mar 2022","modules":[],"allocator":"tcmalloc","environment":{"distmod":"ubuntu2204","distarch":"aarch64","target_arch":"aarch64"}}}} chat-mongodb      | {"t":{"$date":"2024-09-21T03:25:59.354+00:00"},"s":"I",  "c":"CONTROL",  "id":51765,   "ctx":"initandlisten","msg":"Operating System","attr":{"os":{"name":"Ubuntu","version":"22.04"}}} chat-mongodb      | {"t":{"$date":"2024-09-21T03:25:59.354+00:00"},"s":"I",  "c":"CONTROL",  "id":21951,   "ctx":"initandlisten","msg":"Options set by command line","attr":{"options":{"net":{"bindIp":"*"},"security":{"authorization":"disabled"}}}} chat-mongodb      | {"t":{"$date":"2024-09-21T03:25:59.359+00:00"},"s":"I",  "c":"STORAGE",  "id":22270,   "ctx":"initandlisten","msg":"Storage engine to use detected by data files","attr":{"dbpath":"/data/db","storageEngine":"wiredTiger"}} chat-mongodb      | {"t":{"$date":"2024-09-21T03:25:59.363+00:00"},"s":"I",  "c":"STORAGE",  "id":22315,   "ctx":"initandlisten","msg":"Opening WiredTiger","attr":{"config":"create,cache_size=3407M,session_max=33000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,remove=true,path=journal,compressor=snappy),builtin_extension_config=(zstd=(compression_level=6)),file_manager=(close_idle_time=600,close_scan_interval=10,close_handle_minimum=2000),statistics_log=(wait=0),json_output=(error,message),verbose=[recovery_progress:1,checkpoint_progress:1,compact_progress:1,backup:0,checkpoint:0,compact:0,evict:0,history_store:0,recovery:0,rts:0,salvage:0,tiered:0,timestamp:0,transaction:0,verify:0,log:0],"}} chat-mongodb      | {"t":{"$date":"2024-09-21T03:26:00.154+00:00"},"s":"E",  "c":"WT",       "id":22435,   "ctx":"initandlisten","msg":"WiredTiger error message","attr":{"error":1,"message":{"ts_sec":1726889160,"ts_usec":154922,"thread":"1:0xffffbdf6b040","session_dhandle_name":"file:WiredTiger.wt","session_name":"connection","category":"WT_VERB_DEFAULT","category_id":9,"verbose_level":"ERROR","verbose_level_id":-3,"msg":"__posix_open_file:815:/data/db/WiredTiger.wt: handle-open: open","error_str":"Operation not permitted","error_code":1}}} chat-mongodb      | {"t":{"$date":"2024-09-21T03:26:00.174+00:00"},"s":"E",  "c":"WT",       "id":22435,   "ctx":"initandlisten","msg":"WiredTiger error message","attr":{"error":1,"message":{"ts_sec":1726889160,"ts_usec":174495,"thread":"1:0xffffbdf6b040","session_dhandle_name":"file:WiredTiger.wt","session_name":"connection","category":"WT_VERB_DEFAULT","category_id":9,"verbose_level":"ERROR","verbose_level_id":-3,"msg":"__posix_open_file:815:/data/db/WiredTiger.wt: handle-open: open","error_str":"Operation not permitted","error_code":1}}} chat-mongodb      | {"t":{"$date":"2024-09-21T03:26:00.192+00:00"},"s":"E",  "c":"WT",       "id":22435,   "ctx":"initandlisten","msg":"WiredTiger error message","attr":{"error":1,"message":{"ts_sec":1726889160,"ts_usec":192322,"thread":"1:0xffffbdf6b040","session_dhandle_name":"file:WiredTiger.wt","session_name":"connection","category":"WT_VERB_DEFAULT","category_id":9,"verbose_level":"ERROR","verbose_level_id":-3,"msg":"__posix_open_file:815:/data/db/WiredTiger.wt: handle-open: open","error_str":"Operation not permitted","error_code":1}}} chat-mongodb      | {"t":{"$date":"2024-09-21T03:26:00.195+00:00"},"s":"W",  "c":"STORAGE",  "id":22347,   "ctx":"initandlisten","msg":"Failed to start up WiredTiger under any compatibility version. This may be due to an unsupported upgrade or downgrade."} chat-mongodb      | {"t":{"$date":"2024-09-21T03:26:00.195+00:00"},"s":"F",  "c":"STORAGE",  "id":28595,   "ctx":"initandlisten","msg":"Terminating.","attr":{"reason":"1: Operation not permitted"}} chat-mongodb      | {"t":{"$date":"2024-09-21T03:26:00.195+00:00"},"s":"F",  "c":"ASSERT",   "id":23091,   "ctx":"initandlisten","msg":"Fatal assertion","attr":{"msgid":28595,"file":"src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp","line":676}} chat-mongodb      | {"t":{"$date":"2024-09-21T03:26:00.195+00:00"},"s":"F",  "c":"ASSERT",   "id":23092,   "ctx":"initandlisten","msg":"\n\n***aborting after fassert() failure\n\n"} rag_api           | 2024-09-21 03:26:00,665 - root - INFO - Initialized embeddings of type: <class 'langchain_openai.embeddings.base.OpenAIEmbeddings'> rag_api           | /usr/local/lib/python3.10/site-packages/langchain_community/vectorstores/pgvector.py:322: LangChainPendingDeprecationWarning: Please use JSONB instead of JSON for metadata. This change will allow for more efficient querying that involves filtering based on metadata.Please note that filtering operators have been changed when using JSOB metadata to be prefixed with a $ sign to avoid name collisions with columns. If you're using an existing database, you will need to create adb migration for your metadata column to be JSONB and update your queries to use the new operators. rag_api           |   warn_deprecated( rag_api           | Traceback (most recent call last): rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 145, in __init__ rag_api           |     self._dbapi_connection = engine.raw_connection() rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 3303, in raw_connection rag_api           |     return self.pool.connect() rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 449, in connect rag_api           |     return _ConnectionFairy._checkout(self) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 1263, in _checkout rag_api           |     fairy = _ConnectionRecord.checkout(pool) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 712, in checkout rag_api           |     rec = pool._do_get() rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/impl.py", line 179, in _do_get rag_api           |     with util.safe_reraise(): rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/util/langhelpers.py", line 146, in __exit__ rag_api           |     raise exc_value.with_traceback(exc_tb) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/impl.py", line 177, in _do_get rag_api           |     return self._create_connection() rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 390, in _create_connection rag_api           |     return _ConnectionRecord(self) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 674, in __init__ rag_api           |     self.__connect() rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 900, in __connect rag_api           |     with util.safe_reraise(): rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/util/langhelpers.py", line 146, in __exit__ rag_api           |     raise exc_value.with_traceback(exc_tb) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 896, in __connect rag_api           |     self.dbapi_connection = connection = pool._invoke_creator(self) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/create.py", line 643, in connect rag_api           |     return dialect.connect(*cargs, **cparams) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/default.py", line 616, in connect rag_api           |     return self.loaded_dbapi.connect(*cargs, **cparams) rag_api           |   File "/usr/local/lib/python3.10/site-packages/psycopg2/__init__.py", line 122, in connect rag_api           |     conn = _connect(dsn, connection_factory=connection_factory, **kwasync) rag_api           | psycopg2.OperationalError: could not translate host name "vectordb" to address: Name or service not known rag_api           | rag_api           | rag_api           | The above exception was the direct cause of the following exception: rag_api           | rag_api           | Traceback (most recent call last): rag_api           |   File "/usr/local/lib/python3.10/site-packages/langchain_community/vectorstores/pgvector.py", line 383, in create_vector_extension rag_api           |     session.execute(statement) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/orm/session.py", line 2306, in execute rag_api           |     return self._execute_internal( rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/orm/session.py", line 2181, in _execute_internal rag_api           |     conn = self._connection_for_bind(bind) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/orm/session.py", line 2050, in _connection_for_bind rag_api           |     return trans._connection_for_bind(engine, execution_options) rag_api           |   File "<string>", line 2, in _connection_for_bind rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/orm/state_changes.py", line 139, in _go rag_api           |     ret_value = fn(self, *arg, **kw) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/orm/session.py", line 1144, in _connection_for_bind rag_api           |     conn = bind.connect() rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 3279, in connect rag_api           |     return self._connection_cls(self) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 147, in __init__ rag_api           |     Connection._handle_dbapi_exception_noconnection( rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 2443, in _handle_dbapi_exception_noconnection rag_api           |     raise sqlalchemy_exception.with_traceback(exc_info[2]) from e rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 145, in __init__ rag_api           |     self._dbapi_connection = engine.raw_connection() rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 3303, in raw_connection rag_api           |     return self.pool.connect() rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 449, in connect rag_api           |     return _ConnectionFairy._checkout(self) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 1263, in _checkout rag_api           |     fairy = _ConnectionRecord.checkout(pool) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 712, in checkout rag_api           |     rec = pool._do_get() rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/impl.py", line 179, in _do_get rag_api           |     with util.safe_reraise(): rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/util/langhelpers.py", line 146, in __exit__ rag_api           |     raise exc_value.with_traceback(exc_tb) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/impl.py", line 177, in _do_get rag_api           |     return self._create_connection() rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 390, in _create_connection rag_api           |     return _ConnectionRecord(self) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 674, in __init__ rag_api           |     self.__connect() rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 900, in __connect rag_api           |     with util.safe_reraise(): rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/util/langhelpers.py", line 146, in __exit__ rag_api           |     raise exc_value.with_traceback(exc_tb) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 896, in __connect rag_api           |     self.dbapi_connection = connection = pool._invoke_creator(self) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/create.py", line 643, in connect rag_api           |     return dialect.connect(*cargs, **cparams) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/default.py", line 616, in connect rag_api           |     return self.loaded_dbapi.connect(*cargs, **cparams) rag_api           |   File "/usr/local/lib/python3.10/site-packages/psycopg2/__init__.py", line 122, in connect rag_api           |     conn = _connect(dsn, connection_factory=connection_factory, **kwasync) rag_api           | sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) could not translate host name "vectordb" to address: Name or service not known rag_api           | rag_api           | (Background on this error at: https://sqlalche.me/e/20/e3q8) rag_api           | rag_api           | The above exception was the direct cause of the following exception: rag_api           | rag_api           | Traceback (most recent call last): rag_api           |   File "/app/main.py", line 46, in <module> rag_api           |     from psql import PSQLDatabase, ensure_custom_id_index_on_embedding, pg_health_check rag_api           |   File "/app/psql.py", line 3, in <module> rag_api           |     from config import DSN, logger rag_api           |   File "/app/config.py", line 232, in <module> rag_api           |     vector_store = get_vector_store( rag_api           |   File "/app/store_factory.py", line 20, in get_vector_store rag_api           |     return AsyncPgVector( rag_api           |   File "/usr/local/lib/python3.10/site-packages/langchain_core/_api/deprecation.py", line 183, in warn_if_direct_instance rag_api           |     return wrapped(self, *args, **kwargs) rag_api           |   File "/usr/local/lib/python3.10/site-packages/langchain_community/vectorstores/pgvector.py", line 341, in __init__ rag_api           |     self.__post_init__() rag_api           |   File "/usr/local/lib/python3.10/site-packages/langchain_community/vectorstores/pgvector.py", line 348, in __post_init__ rag_api           |     self.create_vector_extension() rag_api           |   File "/usr/local/lib/python3.10/site-packages/langchain_community/vectorstores/pgvector.py", line 386, in create_vector_extension rag_api           |     raise Exception(f"Failed to create vector extension: {e}") from e rag_api           | Exception: Failed to create vector extension: (psycopg2.OperationalError) could not translate host name "vectordb" to address: Name or service not known rag_api           | rag_api           | (Background on this error at: https://sqlalche.me/e/20/e3q8) chat-mongodb      | {"t":{"$date":"2024-09-21T03:26:03.561+00:00"},"s":"I",  "c":"NETWORK",  "id":4915701, "ctx":"main","msg":"Initialized wire specification","attr":{"spec":{"incomingExternalClient":{"minWireVersion":0,"maxWireVersion":21},"incomingInternalClient":{"minWireVersion":0,"maxWireVersion":21},"outgoing":{"minWireVersion":6,"maxWireVersion":21},"isInternalClient":true}}} chat-mongodb      | {"t":{"$date":"2024-09-21T03:26:03.562+00:00"},"s":"I",  "c":"CONTROL",  "id":23285,   "ctx":"main","msg":"Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none'"} chat-mongodb      | {"t":{"$date":"2024-09-21T03:26:03.563+00:00"},"s":"I",  "c":"NETWORK",  "id":4648601, "ctx":"main","msg":"Implicit TCP FastOpen unavailable. If TCP FastOpen is required, set tcpFastOpenServer, tcpFastOpenClient, and tcpFastOpenQueueSize."} chat-mongodb      | {"t":{"$date":"2024-09-21T03:26:03.564+00:00"},"s":"I",  "c":"REPL",     "id":5123008, "ctx":"main","msg":"Successfully registered PrimaryOnlyService","attr":{"service":"TenantMigrationDonorService","namespace":"config.tenantMigrationDonors"}} chat-mongodb      | {"t":{"$date":"2024-09-21T03:26:03.564+00:00"},"s":"I",  "c":"REPL",     "id":5123008, "ctx":"main","msg":"Successfully registered PrimaryOnlyService","attr":{"service":"TenantMigrationRecipientService","namespace":"config.tenantMigrationRecipients"}} chat-mongodb      | {"t":{"$date":"2024-09-21T03:26:03.564+00:00"},"s":"I",  "c":"CONTROL",  "id":5945603, "ctx":"main","msg":"Multi threading initialized"} chat-mongodb      | {"t":{"$date":"2024-09-21T03:26:03.564+00:00"},"s":"I",  "c":"TENANT_M", "id":7091600, "ctx":"main","msg":"Starting TenantMigrationAccessBlockerRegistry"} chat-mongodb      | {"t":{"$date":"2024-09-21T03:26:03.564+00:00"},"s":"I",  "c":"CONTROL",  "id":4615611, "ctx":"initandlisten","msg":"MongoDB starting","attr":{"pid":1,"port":27017,"dbPath":"/data/db","architecture":"64-bit","host":"665fcff507b0"}} chat-mongodb      | {"t":{"$date":"2024-09-21T03:26:03.564+00:00"},"s":"I",  "c":"CONTROL",  "id":23403,   "ctx":"initandlisten","msg":"Build Info","attr":{"buildInfo":{"version":"7.0.14","gitVersion":"ce59cfc6a3c5e5c067dca0d30697edd68d4f5188","openSSLVersion":"OpenSSL 3.0.2 15 Mar 2022","modules":[],"allocator":"tcmalloc","environment":{"distmod":"ubuntu2204","distarch":"aarch64","target_arch":"aarch64"}}}} chat-mongodb      | {"t":{"$date":"2024-09-21T03:26:03.564+00:00"},"s":"I",  "c":"CONTROL",  "id":51765,   "ctx":"initandlisten","msg":"Operating System","attr":{"os":{"name":"Ubuntu","version":"22.04"}}} chat-mongodb      | {"t":{"$date":"2024-09-21T03:26:03.564+00:00"},"s":"I",  "c":"CONTROL",  "id":21951,   "ctx":"initandlisten","msg":"Options set by command line","attr":{"options":{"net":{"bindIp":"*"},"security":{"authorization":"disabled"}}}} chat-mongodb      | {"t":{"$date":"2024-09-21T03:26:03.569+00:00"},"s":"I",  "c":"STORAGE",  "id":22270,   "ctx":"initandlisten","msg":"Storage engine to use detected by data files","attr":{"dbpath":"/data/db","storageEngine":"wiredTiger"}} chat-mongodb      | {"t":{"$date":"2024-09-21T03:26:03.576+00:00"},"s":"I",  "c":"STORAGE",  "id":22315,   "ctx":"initandlisten","msg":"Opening WiredTiger","attr":{"config":"create,cache_size=3407M,session_max=33000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,remove=true,path=journal,compressor=snappy),builtin_extension_config=(zstd=(compression_level=6)),file_manager=(close_idle_time=600,close_scan_interval=10,close_handle_minimum=2000),statistics_log=(wait=0),json_output=(error,message),verbose=[recovery_progress:1,checkpoint_progress:1,compact_progress:1,backup:0,checkpoint:0,compact:0,evict:0,history_store:0,recovery:0,rts:0,salvage:0,tiered:0,timestamp:0,transaction:0,verify:0,log:0],"}} rag_api           | 2024-09-21 03:26:03,647 - root - INFO - Initialized embeddings of type: <class 'langchain_openai.embeddings.base.OpenAIEmbeddings'> rag_api           | /usr/local/lib/python3.10/site-packages/langchain_community/vectorstores/pgvector.py:322: LangChainPendingDeprecationWarning: Please use JSONB instead of JSON for metadata. This change will allow for more efficient querying that involves filtering based on metadata.Please note that filtering operators have been changed when using JSOB metadata to be prefixed with a $ sign to avoid name collisions with columns. If you're using an existing database, you will need to create adb migration for your metadata column to be JSONB and update your queries to use the new operators. rag_api           |   warn_deprecated( rag_api           | Traceback (most recent call last): rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 145, in __init__ rag_api           |     self._dbapi_connection = engine.raw_connection() rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 3303, in raw_connection rag_api           |     return self.pool.connect() rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 449, in connect rag_api           |     return _ConnectionFairy._checkout(self) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 1263, in _checkout rag_api           |     fairy = _ConnectionRecord.checkout(pool) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 712, in checkout rag_api           |     rec = pool._do_get() rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/impl.py", line 179, in _do_get rag_api           |     with util.safe_reraise(): rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/util/langhelpers.py", line 146, in __exit__ rag_api           |     raise exc_value.with_traceback(exc_tb) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/impl.py", line 177, in _do_get rag_api           |     return self._create_connection() rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 390, in _create_connection rag_api           |     return _ConnectionRecord(self) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 674, in __init__ rag_api           |     self.__connect() rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 900, in __connect rag_api           |     with util.safe_reraise(): rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/util/langhelpers.py", line 146, in __exit__ rag_api           |     raise exc_value.with_traceback(exc_tb) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 896, in __connect rag_api           |     self.dbapi_connection = connection = pool._invoke_creator(self) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/create.py", line 643, in connect rag_api           |     return dialect.connect(*cargs, **cparams) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/default.py", line 616, in connect rag_api           |     return self.loaded_dbapi.connect(*cargs, **cparams) rag_api           |   File "/usr/local/lib/python3.10/site-packages/psycopg2/__init__.py", line 122, in connect rag_api           |     conn = _connect(dsn, connection_factory=connection_factory, **kwasync) rag_api           | psycopg2.OperationalError: could not translate host name "vectordb" to address: Name or service not known rag_api           | rag_api           | rag_api           | The above exception was the direct cause of the following exception: rag_api           | rag_api           | Traceback (most recent call last): rag_api           |   File "/usr/local/lib/python3.10/site-packages/langchain_community/vectorstores/pgvector.py", line 383, in create_vector_extension rag_api           |     session.execute(statement) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/orm/session.py", line 2306, in execute rag_api           |     return self._execute_internal( rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/orm/session.py", line 2181, in _execute_internal rag_api           |     conn = self._connection_for_bind(bind) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/orm/session.py", line 2050, in _connection_for_bind rag_api           |     return trans._connection_for_bind(engine, execution_options) rag_api           |   File "<string>", line 2, in _connection_for_bind rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/orm/state_changes.py", line 139, in _go rag_api           |     ret_value = fn(self, *arg, **kw) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/orm/session.py", line 1144, in _connection_for_bind rag_api           |     conn = bind.connect() rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 3279, in connect rag_api           |     return self._connection_cls(self) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 147, in __init__ rag_api           |     Connection._handle_dbapi_exception_noconnection( rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 2443, in _handle_dbapi_exception_noconnection rag_api           |     raise sqlalchemy_exception.with_traceback(exc_info[2]) from e rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 145, in __init__ rag_api           |     self._dbapi_connection = engine.raw_connection() rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 3303, in raw_connection rag_api           |     return self.pool.connect() rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 449, in connect rag_api           |     return _ConnectionFairy._checkout(self) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 1263, in _checkout rag_api           |     fairy = _ConnectionRecord.checkout(pool) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 712, in checkout rag_api           |     rec = pool._do_get() rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/impl.py", line 179, in _do_get rag_api           |     with util.safe_reraise(): rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/util/langhelpers.py", line 146, in __exit__ rag_api           |     raise exc_value.with_traceback(exc_tb) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/impl.py", line 177, in _do_get rag_api           |     return self._create_connection() rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 390, in _create_connection rag_api           |     return _ConnectionRecord(self) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 674, in __init__ rag_api           |     self.__connect() rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 900, in __connect rag_api           |     with util.safe_reraise(): rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/util/langhelpers.py", line 146, in __exit__ rag_api           |     raise exc_value.with_traceback(exc_tb) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 896, in __connect rag_api           |     self.dbapi_connection = connection = pool._invoke_creator(self) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/create.py", line 643, in connect rag_api           |     return dialect.connect(*cargs, **cparams) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/default.py", line 616, in connect rag_api           |     return self.loaded_dbapi.connect(*cargs, **cparams) rag_api           |   File "/usr/local/lib/python3.10/site-packages/psycopg2/__init__.py", line 122, in connect rag_api           |     conn = _connect(dsn, connection_factory=connection_factory, **kwasync) rag_api           | sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) could not translate host name "vectordb" to address: Name or service not known rag_api           | rag_api           | (Background on this error at: https://sqlalche.me/e/20/e3q8) rag_api           | rag_api           | The above exception was the direct cause of the following exception: rag_api           | rag_api           | Traceback (most recent call last): rag_api           |   File "/app/main.py", line 46, in <module> rag_api           |     from psql import PSQLDatabase, ensure_custom_id_index_on_embedding, pg_health_check rag_api           |   File "/app/psql.py", line 3, in <module> rag_api           |     from config import DSN, logger rag_api           |   File "/app/config.py", line 232, in <module> rag_api           |     vector_store = get_vector_store( rag_api           |   File "/app/store_factory.py", line 20, in get_vector_store rag_api           |     return AsyncPgVector( rag_api           |   File "/usr/local/lib/python3.10/site-packages/langchain_core/_api/deprecation.py", line 183, in warn_if_direct_instance rag_api           |     return wrapped(self, *args, **kwargs) rag_api           |   File "/usr/local/lib/python3.10/site-packages/langchain_community/vectorstores/pgvector.py", line 341, in __init__ rag_api           |     self.__post_init__() rag_api           |   File "/usr/local/lib/python3.10/site-packages/langchain_community/vectorstores/pgvector.py", line 348, in __post_init__ rag_api           |     self.create_vector_extension() rag_api           |   File "/usr/local/lib/python3.10/site-packages/langchain_community/vectorstores/pgvector.py", line 386, in create_vector_extension rag_api           |     raise Exception(f"Failed to create vector extension: {e}") from e rag_api           | Exception: Failed to create vector extension: (psycopg2.OperationalError) could not translate host name "vectordb" to address: Name or service not known rag_api           | rag_api           | (Background on this error at: https://sqlalche.me/e/20/e3q8) chat-mongodb      | {"t":{"$date":"2024-09-21T03:26:04.344+00:00"},"s":"E",  "c":"WT",       "id":22435,   "ctx":"initandlisten","msg":"WiredTiger error message","attr":{"error":1,"message":{"ts_sec":1726889164,"ts_usec":344761,"thread":"1:0xffff838cf040","session_dhandle_name":"file:WiredTiger.wt","session_name":"connection","category":"WT_VERB_DEFAULT","category_id":9,"verbose_level":"ERROR","verbose_level_id":-3,"msg":"__posix_open_file:815:/data/db/WiredTiger.wt: handle-open: open","error_str":"Operation not permitted","error_code":1}}} chat-mongodb      | {"t":{"$date":"2024-09-21T03:26:04.367+00:00"},"s":"E",  "c":"WT",       "id":22435,   "ctx":"initandlisten","msg":"WiredTiger error message","attr":{"error":1,"message":{"ts_sec":1726889164,"ts_usec":367839,"thread":"1:0xffff838cf040","session_dhandle_name":"file:WiredTiger.wt","session_name":"connection","category":"WT_VERB_DEFAULT","category_id":9,"verbose_level":"ERROR","verbose_level_id":-3,"msg":"__posix_open_file:815:/data/db/WiredTiger.wt: handle-open: open","error_str":"Operation not permitted","error_code":1}}} vectordb          | exec /usr/local/bin/docker-entrypoint.sh: exec format error vectordb          | exec /usr/local/bin/docker-entrypoint.sh: exec format error vectordb          | exec /usr/local/bin/docker-entrypoint.sh: exec format error vectordb          | exec /usr/local/bin/docker-entrypoint.sh: exec format error vectordb          | exec /usr/local/bin/docker-entrypoint.sh: exec format error vectordb          | exec /usr/local/bin/docker-entrypoint.sh: exec format error vectordb          | exec /usr/local/bin/docker-entrypoint.sh: exec format error vectordb          | exec /usr/local/bin/docker-entrypoint.sh: exec format error chat-mongodb      | {"t":{"$date":"2024-09-21T03:26:04.387+00:00"},"s":"E",  "c":"WT",       "id":22435,   "ctx":"initandlisten","msg":"WiredTiger error message","attr":{"error":1,"message":{"ts_sec":1726889164,"ts_usec":387118,"thread":"1:0xffff838cf040","session_dhandle_name":"file:WiredTiger.wt","session_name":"connection","category":"WT_VERB_DEFAULT","category_id":9,"verbose_level":"ERROR","verbose_level_id":-3,"msg":"__posix_open_file:815:/data/db/WiredTiger.wt: handle-open: open","error_str":"Operation not permitted","error_code":1}}} chat-mongodb      | {"t":{"$date":"2024-09-21T03:26:04.390+00:00"},"s":"W",  "c":"STORAGE",  "id":22347,   "ctx":"initandlisten","msg":"Failed to start up WiredTiger under any compatibility version. This may be due to an unsupported upgrade or downgrade."} chat-mongodb      | {"t":{"$date":"2024-09-21T03:26:04.390+00:00"},"s":"F",  "c":"STORAGE",  "id":28595,   "ctx":"initandlisten","msg":"Terminating.","attr":{"reason":"1: Operation not permitted"}} chat-mongodb      | {"t":{"$date":"2024-09-21T03:26:04.390+00:00"},"s":"F",  "c":"ASSERT",   "id":23091,   "ctx":"initandlisten","msg":"Fatal assertion","attr":{"msgid":28595,"file":"src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp","line":676}} chat-mongodb      | {"t":{"$date":"2024-09-21T03:26:04.390+00:00"},"s":"F",  "c":"ASSERT",   "id":23092,   "ctx":"initandlisten","msg":"\n\n***aborting after fassert() failure\n\n"} rag_api           | 2024-09-21 03:26:08,154 - root - INFO - Initialized embeddings of type: <class 'langchain_openai.embeddings.base.OpenAIEmbeddings'> rag_api           | /usr/local/lib/python3.10/site-packages/langchain_community/vectorstores/pgvector.py:322: LangChainPendingDeprecationWarning: Please use JSONB instead of JSON for metadata. This change will allow for more efficient querying that involves filtering based on metadata.Please note that filtering operators have been changed when using JSOB metadata to be prefixed with a $ sign to avoid name collisions with columns. If you're using an existing database, you will need to create adb migration for your metadata column to be JSONB and update your queries to use the new operators. rag_api           |   warn_deprecated( rag_api           | Traceback (most recent call last): rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 145, in __init__ rag_api           |     self._dbapi_connection = engine.raw_connection() rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 3303, in raw_connection rag_api           |     return self.pool.connect() rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 449, in connect rag_api           |     return _ConnectionFairy._checkout(self) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 1263, in _checkout rag_api           |     fairy = _ConnectionRecord.checkout(pool) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 712, in checkout rag_api           |     rec = pool._do_get() rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/impl.py", line 179, in _do_get rag_api           |     with util.safe_reraise(): rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/util/langhelpers.py", line 146, in __exit__ rag_api           |     raise exc_value.with_traceback(exc_tb) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/impl.py", line 177, in _do_get rag_api           |     return self._create_connection() rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 390, in _create_connection rag_api           |     return _ConnectionRecord(self) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 674, in __init__ rag_api           |     self.__connect() rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 900, in __connect rag_api           |     with util.safe_reraise(): rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/util/langhelpers.py", line 146, in __exit__ rag_api           |     raise exc_value.with_traceback(exc_tb) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 896, in __connect rag_api           |     self.dbapi_connection = connection = pool._invoke_creator(self) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/create.py", line 643, in connect rag_api           |     return dialect.connect(*cargs, **cparams) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/default.py", line 616, in connect rag_api           |     return self.loaded_dbapi.connect(*cargs, **cparams) rag_api           |   File "/usr/local/lib/python3.10/site-packages/psycopg2/__init__.py", line 122, in connect rag_api           |     conn = _connect(dsn, connection_factory=connection_factory, **kwasync) rag_api           | psycopg2.OperationalError: could not translate host name "vectordb" to address: Name or service not known rag_api           | rag_api           | rag_api           | The above exception was the direct cause of the following exception: rag_api           | rag_api           | Traceback (most recent call last): rag_api           |   File "/usr/local/lib/python3.10/site-packages/langchain_community/vectorstores/pgvector.py", line 383, in create_vector_extension rag_api           |     session.execute(statement) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/orm/session.py", line 2306, in execute rag_api           |     return self._execute_internal( rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/orm/session.py", line 2181, in _execute_internal rag_api           |     conn = self._connection_for_bind(bind) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/orm/session.py", line 2050, in _connection_for_bind rag_api           |     return trans._connection_for_bind(engine, execution_options) rag_api           |   File "<string>", line 2, in _connection_for_bind rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/orm/state_changes.py", line 139, in _go rag_api           |     ret_value = fn(self, *arg, **kw) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/orm/session.py", line 1144, in _connection_for_bind rag_api           |     conn = bind.connect() rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 3279, in connect rag_api           |     return self._connection_cls(self) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 147, in __init__ rag_api           |     Connection._handle_dbapi_exception_noconnection( rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 2443, in _handle_dbapi_exception_noconnection rag_api           |     raise sqlalchemy_exception.with_traceback(exc_info[2]) from e rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 145, in __init__ rag_api           |     self._dbapi_connection = engine.raw_connection() rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 3303, in raw_connection rag_api           |     return self.pool.connect() rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 449, in connect rag_api           |     return _ConnectionFairy._checkout(self) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 1263, in _checkout rag_api           |     fairy = _ConnectionRecord.checkout(pool) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 712, in checkout rag_api           |     rec = pool._do_get() rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/impl.py", line 179, in _do_get rag_api           |     with util.safe_reraise(): rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/util/langhelpers.py", line 146, in __exit__ rag_api           |     raise exc_value.with_traceback(exc_tb) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/impl.py", line 177, in _do_get rag_api           |     return self._create_connection() rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 390, in _create_connection rag_api           |     return _ConnectionRecord(self) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 674, in __init__ rag_api           |     self.__connect() rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 900, in __connect rag_api           |     with util.safe_reraise(): rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/util/langhelpers.py", line 146, in __exit__ rag_api           |     raise exc_value.with_traceback(exc_tb) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 896, in __connect rag_api           |     self.dbapi_connection = connection = pool._invoke_creator(self) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/create.py", line 643, in connect rag_api           |     return dialect.connect(*cargs, **cparams) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/default.py", line 616, in connect rag_api           |     return self.loaded_dbapi.connect(*cargs, **cparams) rag_api           |   File "/usr/local/lib/python3.10/site-packages/psycopg2/__init__.py", line 122, in connect rag_api           |     conn = _connect(dsn, connection_factory=connection_factory, **kwasync) rag_api           | sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) could not translate host name "vectordb" to address: Name or service not known rag_api           | rag_api           | (Background on this error at: https://sqlalche.me/e/20/e3q8) rag_api           | rag_api           | The above exception was the direct cause of the following exception: rag_api           | rag_api           | Traceback (most recent call last): rag_api           |   File "/app/main.py", line 46, in <module> rag_api           |     from psql import PSQLDatabase, ensure_custom_id_index_on_embedding, pg_health_check rag_api           |   File "/app/psql.py", line 3, in <module> rag_api           |     from config import DSN, logger rag_api           |   File "/app/config.py", line 232, in <module> rag_api           |     vector_store = get_vector_store( rag_api           |   File "/app/store_factory.py", line 20, in get_vector_store rag_api           |     return AsyncPgVector( rag_api           |   File "/usr/local/lib/python3.10/site-packages/langchain_core/_api/deprecation.py", line 183, in warn_if_direct_instance rag_api           |     return wrapped(self, *args, **kwargs) rag_api           |   File "/usr/local/lib/python3.10/site-packages/langchain_community/vectorstores/pgvector.py", line 341, in __init__ rag_api           |     self.__post_init__() rag_api           |   File "/usr/local/lib/python3.10/site-packages/langchain_community/vectorstores/pgvector.py", line 348, in __post_init__ rag_api           |     self.create_vector_extension() rag_api           |   File "/usr/local/lib/python3.10/site-packages/langchain_community/vectorstores/pgvector.py", line 386, in create_vector_extension rag_api           |     raise Exception(f"Failed to create vector extension: {e}") from e rag_api           | Exception: Failed to create vector extension: (psycopg2.OperationalError) could not translate host name "vectordb" to address: Name or service not known rag_api           | rag_api           | (Background on this error at: https://sqlalche.me/e/20/e3q8) chat-mongodb      | {"t":{"$date":"2024-09-21T03:26:11.057+00:00"},"s":"I",  "c":"CONTROL",  "id":23285,   "ctx":"main","msg":"Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none'"} chat-mongodb      | {"t":{"$date":"2024-09-21T03:26:11.057+00:00"},"s":"I",  "c":"NETWORK",  "id":4915701, "ctx":"main","msg":"Initialized wire specification","attr":{"spec":{"incomingExternalClient":{"minWireVersion":0,"maxWireVersion":21},"incomingInternalClient":{"minWireVersion":0,"maxWireVersion":21},"outgoing":{"minWireVersion":6,"maxWireVersion":21},"isInternalClient":true}}} chat-mongodb      | {"t":{"$date":"2024-09-21T03:26:11.057+00:00"},"s":"I",  "c":"NETWORK",  "id":4648601, "ctx":"main","msg":"Implicit TCP FastOpen unavailable. If TCP FastOpen is required, set tcpFastOpenServer, tcpFastOpenClient, and tcpFastOpenQueueSize."} chat-mongodb      | {"t":{"$date":"2024-09-21T03:26:11.059+00:00"},"s":"I",  "c":"REPL",     "id":5123008, "ctx":"main","msg":"Successfully registered PrimaryOnlyService","attr":{"service":"TenantMigrationDonorService","namespace":"config.tenantMigrationDonors"}} chat-mongodb      | {"t":{"$date":"2024-09-21T03:26:11.059+00:00"},"s":"I",  "c":"REPL",     "id":5123008, "ctx":"main","msg":"Successfully registered PrimaryOnlyService","attr":{"service":"TenantMigrationRecipientService","namespace":"config.tenantMigrationRecipients"}} chat-mongodb      | {"t":{"$date":"2024-09-21T03:26:11.059+00:00"},"s":"I",  "c":"CONTROL",  "id":5945603, "ctx":"main","msg":"Multi threading initialized"} chat-mongodb      | {"t":{"$date":"2024-09-21T03:26:11.060+00:00"},"s":"I",  "c":"TENANT_M", "id":7091600, "ctx":"main","msg":"Starting TenantMigrationAccessBlockerRegistry"} chat-mongodb      | {"t":{"$date":"2024-09-21T03:26:11.060+00:00"},"s":"I",  "c":"CONTROL",  "id":4615611, "ctx":"initandlisten","msg":"MongoDB starting","attr":{"pid":1,"port":27017,"dbPath":"/data/db","architecture":"64-bit","host":"665fcff507b0"}} chat-mongodb      | {"t":{"$date":"2024-09-21T03:26:11.060+00:00"},"s":"I",  "c":"CONTROL",  "id":23403,   "ctx":"initandlisten","msg":"Build Info","attr":{"buildInfo":{"version":"7.0.14","gitVersion":"ce59cfc6a3c5e5c067dca0d30697edd68d4f5188","openSSLVersion":"OpenSSL 3.0.2 15 Mar 2022","modules":[],"allocator":"tcmalloc","environment":{"distmod":"ubuntu2204","distarch":"aarch64","target_arch":"aarch64"}}}} chat-mongodb      | {"t":{"$date":"2024-09-21T03:26:11.060+00:00"},"s":"I",  "c":"CONTROL",  "id":51765,   "ctx":"initandlisten","msg":"Operating System","attr":{"os":{"name":"Ubuntu","version":"22.04"}}} chat-mongodb      | {"t":{"$date":"2024-09-21T03:26:11.060+00:00"},"s":"I",  "c":"CONTROL",  "id":21951,   "ctx":"initandlisten","msg":"Options set by command line","attr":{"options":{"net":{"bindIp":"*"},"security":{"authorization":"disabled"}}}} chat-mongodb      | {"t":{"$date":"2024-09-21T03:26:11.066+00:00"},"s":"I",  "c":"STORAGE",  "id":22270,   "ctx":"initandlisten","msg":"Storage engine to use detected by data files","attr":{"dbpath":"/data/db","storageEngine":"wiredTiger"}} chat-mongodb      | {"t":{"$date":"2024-09-21T03:26:11.068+00:00"},"s":"I",  "c":"STORAGE",  "id":22315,   "ctx":"initandlisten","msg":"Opening WiredTiger","attr":{"config":"create,cache_size=3407M,session_max=33000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,remove=true,path=journal,compressor=snappy),builtin_extension_config=(zstd=(compression_level=6)),file_manager=(close_idle_time=600,close_scan_interval=10,close_handle_minimum=2000),statistics_log=(wait=0),json_output=(error,message),verbose=[recovery_progress:1,checkpoint_progress:1,compact_progress:1,backup:0,checkpoint:0,compact:0,evict:0,history_store:0,recovery:0,rts:0,salvage:0,tiered:0,timestamp:0,transaction:0,verify:0,log:0],"}} chat-mongodb      | {"t":{"$date":"2024-09-21T03:26:11.768+00:00"},"s":"E",  "c":"WT",       "id":22435,   "ctx":"initandlisten","msg":"WiredTiger error message","attr":{"error":1,"message":{"ts_sec":1726889171,"ts_usec":768387,"thread":"1:0xffffa36d9040","session_dhandle_name":"file:WiredTiger.wt","session_name":"connection","category":"WT_VERB_DEFAULT","category_id":9,"verbose_level":"ERROR","verbose_level_id":-3,"msg":"__posix_open_file:815:/data/db/WiredTiger.wt: handle-open: open","error_str":"Operation not permitted","error_code":1}}} chat-mongodb      | {"t":{"$date":"2024-09-21T03:26:11.779+00:00"},"s":"E",  "c":"WT",       "id":22435,   "ctx":"initandlisten","msg":"WiredTiger error message","attr":{"error":1,"message":{"ts_sec":1726889171,"ts_usec":779918,"thread":"1:0xffffa36d9040","session_dhandle_name":"file:WiredTiger.wt","session_name":"connection","category":"WT_VERB_DEFAULT","category_id":9,"verbose_level":"ERROR","verbose_level_id":-3,"msg":"__posix_open_file:815:/data/db/WiredTiger.wt: handle-open: open","error_str":"Operation not permitted","error_code":1}}} chat-mongodb      | {"t":{"$date":"2024-09-21T03:26:11.789+00:00"},"s":"E",  "c":"WT",       "id":22435,   "ctx":"initandlisten","msg":"WiredTiger error message","attr":{"error":1,"message":{"ts_sec":1726889171,"ts_usec":789957,"thread":"1:0xffffa36d9040","session_dhandle_name":"file:WiredTiger.wt","session_name":"connection","category":"WT_VERB_DEFAULT","category_id":9,"verbose_level":"ERROR","verbose_level_id":-3,"msg":"__posix_open_file:815:/data/db/WiredTiger.wt: handle-open: open","error_str":"Operation not permitted","error_code":1}}} chat-mongodb      | {"t":{"$date":"2024-09-21T03:26:11.791+00:00"},"s":"W",  "c":"STORAGE",  "id":22347,   "ctx":"initandlisten","msg":"Failed to start up WiredTiger under any compatibility version. This may be due to an unsupported upgrade or downgrade."} chat-mongodb      | {"t":{"$date":"2024-09-21T03:26:11.791+00:00"},"s":"F",  "c":"STORAGE",  "id":28595,   "ctx":"initandlisten","msg":"Terminating.","attr":{"reason":"1: Operation not permitted"}} chat-mongodb      | {"t":{"$date":"2024-09-21T03:26:11.791+00:00"},"s":"F",  "c":"ASSERT",   "id":23091,   "ctx":"initandlisten","msg":"Fatal assertion","attr":{"msgid":28595,"file":"src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp","line":676}} chat-mongodb      | {"t":{"$date":"2024-09-21T03:26:11.791+00:00"},"s":"F",  "c":"ASSERT",   "id":23092,   "ctx":"initandlisten","msg":"\n\n***aborting after fassert() failure\n\n"} rag_api           | 2024-09-21 03:26:15,851 - root - INFO - Initialized embeddings of type: <class 'langchain_openai.embeddings.base.OpenAIEmbeddings'> rag_api           | /usr/local/lib/python3.10/site-packages/langchain_community/vectorstores/pgvector.py:322: LangChainPendingDeprecationWarning: Please use JSONB instead of JSON for metadata. This change will allow for more efficient querying that involves filtering based on metadata.Please note that filtering operators have been changed when using JSOB metadata to be prefixed with a $ sign to avoid name collisions with columns. If you're using an existing database, you will need to create adb migration for your metadata column to be JSONB and update your queries to use the new operators. rag_api           |   warn_deprecated( rag_api           | Traceback (most recent call last): rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 145, in __init__ rag_api           |     self._dbapi_connection = engine.raw_connection() rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 3303, in raw_connection rag_api           |     return self.pool.connect() rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 449, in connect rag_api           |     return _ConnectionFairy._checkout(self) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 1263, in _checkout rag_api           |     fairy = _ConnectionRecord.checkout(pool) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 712, in checkout rag_api           |     rec = pool._do_get() rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/impl.py", line 179, in _do_get rag_api           |     with util.safe_reraise(): rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/util/langhelpers.py", line 146, in __exit__ rag_api           |     raise exc_value.with_traceback(exc_tb) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/impl.py", line 177, in _do_get rag_api           |     return self._create_connection() rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 390, in _create_connection rag_api           |     return _ConnectionRecord(self) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 674, in __init__ rag_api           |     self.__connect() rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 900, in __connect rag_api           |     with util.safe_reraise(): rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/util/langhelpers.py", line 146, in __exit__ rag_api           |     raise exc_value.with_traceback(exc_tb) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 896, in __connect rag_api           |     self.dbapi_connection = connection = pool._invoke_creator(self) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/create.py", line 643, in connect rag_api           |     return dialect.connect(*cargs, **cparams) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/default.py", line 616, in connect rag_api           |     return self.loaded_dbapi.connect(*cargs, **cparams) rag_api           |   File "/usr/local/lib/python3.10/site-packages/psycopg2/__init__.py", line 122, in connect rag_api           |     conn = _connect(dsn, connection_factory=connection_factory, **kwasync) rag_api           | psycopg2.OperationalError: could not translate host name "vectordb" to address: Name or service not known rag_api           | rag_api           | rag_api           | The above exception was the direct cause of the following exception: rag_api           | rag_api           | Traceback (most recent call last): rag_api           |   File "/usr/local/lib/python3.10/site-packages/langchain_community/vectorstores/pgvector.py", line 383, in create_vector_extension rag_api           |     session.execute(statement) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/orm/session.py", line 2306, in execute rag_api           |     return self._execute_internal( rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/orm/session.py", line 2181, in _execute_internal rag_api           |     conn = self._connection_for_bind(bind) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/orm/session.py", line 2050, in _connection_for_bind rag_api           |     return trans._connection_for_bind(engine, execution_options) rag_api           |   File "<string>", line 2, in _connection_for_bind rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/orm/state_changes.py", line 139, in _go rag_api           |     ret_value = fn(self, *arg, **kw) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/orm/session.py", line 1144, in _connection_for_bind rag_api           |     conn = bind.connect() rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 3279, in connect rag_api           |     return self._connection_cls(self) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 147, in __init__ rag_api           |     Connection._handle_dbapi_exception_noconnection( rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 2443, in _handle_dbapi_exception_noconnection rag_api           |     raise sqlalchemy_exception.with_traceback(exc_info[2]) from e rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 145, in __init__ rag_api           |     self._dbapi_connection = engine.raw_connection() rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 3303, in raw_connection rag_api           |     return self.pool.connect() rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 449, in connect rag_api           |     return _ConnectionFairy._checkout(self) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 1263, in _checkout rag_api           |     fairy = _ConnectionRecord.checkout(pool) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 712, in checkout rag_api           |     rec = pool._do_get() rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/impl.py", line 179, in _do_get rag_api           |     with util.safe_reraise(): rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/util/langhelpers.py", line 146, in __exit__ rag_api           |     raise exc_value.with_traceback(exc_tb) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/impl.py", line 177, in _do_get rag_api           |     return self._create_connection() rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 390, in _create_connection rag_api           |     return _ConnectionRecord(self) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 674, in __init__ rag_api           |     self.__connect() rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 900, in __connect rag_api           |     with util.safe_reraise(): rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/util/langhelpers.py", line 146, in __exit__ rag_api           |     raise exc_value.with_traceback(exc_tb) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 896, in __connect rag_api           |     self.dbapi_connection = connection = pool._invoke_creator(self) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/create.py", line 643, in connect rag_api           |     return dialect.connect(*cargs, **cparams) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/default.py", line 616, in connect rag_api           |     return self.loaded_dbapi.connect(*cargs, **cparams) rag_api           |   File "/usr/local/lib/python3.10/site-packages/psycopg2/__init__.py", line 122, in connect rag_api           |     conn = _connect(dsn, connection_factory=connection_factory, **kwasync) rag_api           | sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) could not translate host name "vectordb" to address: Name or service not known rag_api           | rag_api           | (Background on this error at: https://sqlalche.me/e/20/e3q8) rag_api           | rag_api           | The above exception was the direct cause of the following exception: rag_api           | rag_api           | Traceback (most recent call last): rag_api           |   File "/app/main.py", line 46, in <module> rag_api           |     from psql import PSQLDatabase, ensure_custom_id_index_on_embedding, pg_health_check rag_api           |   File "/app/psql.py", line 3, in <module> rag_api           |     from config import DSN, logger rag_api           |   File "/app/config.py", line 232, in <module> rag_api           |     vector_store = get_vector_store( rag_api           |   File "/app/store_factory.py", line 20, in get_vector_store rag_api           |     return AsyncPgVector( rag_api           |   File "/usr/local/lib/python3.10/site-packages/langchain_core/_api/deprecation.py", line 183, in warn_if_direct_instance rag_api           |     return wrapped(self, *args, **kwargs) rag_api           |   File "/usr/local/lib/python3.10/site-packages/langchain_community/vectorstores/pgvector.py", line 341, in __init__ rag_api           |     self.__post_init__() rag_api           |   File "/usr/local/lib/python3.10/site-packages/langchain_community/vectorstores/pgvector.py", line 348, in __post_init__ rag_api           |     self.create_vector_extension() rag_api           |   File "/usr/local/lib/python3.10/site-packages/langchain_community/vectorstores/pgvector.py", line 386, in create_vector_extension rag_api           |     raise Exception(f"Failed to create vector extension: {e}") from e rag_api           | Exception: Failed to create vector extension: (psycopg2.OperationalError) could not translate host name "vectordb" to address: Name or service not known rag_api           | rag_api           | (Background on this error at: https://sqlalche.me/e/20/e3q8) vectordb          | exec /usr/local/bin/docker-entrypoint.sh: exec format error vectordb          | exec /usr/local/bin/docker-entrypoint.sh: exec format error vectordb          | exec /usr/local/bin/docker-entrypoint.sh: exec format error vectordb          | exec /usr/local/bin/docker-entrypoint.sh: exec format error vectordb          | exec /usr/local/bin/docker-entrypoint.sh: exec format error vectordb          | exec /usr/local/bin/docker-entrypoint.sh: exec format error vectordb          | exec /usr/local/bin/docker-entrypoint.sh: exec format error vectordb          | exec /usr/local/bin/docker-entrypoint.sh: exec format error vectordb          | exec /usr/local/bin/docker-entrypoint.sh: exec format error LibreChat         | 2024-09-21 03:26:22 error: KeyvMongo connection error: getaddrinfo ENOTFOUND mongodb LibreChat         | 2024-09-21 03:26:22 error: There was an uncaught error: getaddrinfo ENOTFOUND mongodb LibreChat exited with code 0 LibreChat         | LibreChat         | ><EMAIL_ADDRESS>backend LibreChat         | > cross-env NODE_ENV=production node api/server/index.js LibreChat         | LibreChat         | 2024-09-21 03:26:23 info: [Optional] Redis not initialized. Note: Redis support is experimental. chat-meilisearch  | 2024-09-21T03:26:24.444694Z  INFO HTTP request{method=POST host="meilisearch:7700" route=/indexes query_parameters= user_agent=node status_code=202}: meilisearch: close time.busy=1.87ms time.idle=15.8ms chat-meilisearch  | 2024-09-21T03:26:24.461925Z  INFO HTTP request{method=POST host="meilisearch:7700" route=/indexes query_parameters= user_agent=node status_code=202}: meilisearch: close time.busy=1.63ms time.idle=33.3ms chat-meilisearch  | 2024-09-21T03:26:24.469609Z  INFO index_scheduler: Batch failed Index convosalready exists. chat-meilisearch  | 2024-09-21T03:26:24.491029Z  INFO index_scheduler: Batch failed Indexmessages already exists. chat-mongodb      | {"t":{"$date":"2024-09-21T03:26:24.803+00:00"},"s":"I",  "c":"CONTROL",  "id":23285,   "ctx":"main","msg":"Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none'"} chat-mongodb      | {"t":{"$date":"2024-09-21T03:26:24.804+00:00"},"s":"I",  "c":"NETWORK",  "id":4915701, "ctx":"main","msg":"Initialized wire specification","attr":{"spec":{"incomingExternalClient":{"minWireVersion":0,"maxWireVersion":21},"incomingInternalClient":{"minWireVersion":0,"maxWireVersion":21},"outgoing":{"minWireVersion":6,"maxWireVersion":21},"isInternalClient":true}}} chat-mongodb      | {"t":{"$date":"2024-09-21T03:26:24.806+00:00"},"s":"I",  "c":"NETWORK",  "id":4648601, "ctx":"main","msg":"Implicit TCP FastOpen unavailable. If TCP FastOpen is required, set tcpFastOpenServer, tcpFastOpenClient, and tcpFastOpenQueueSize."} chat-mongodb      | {"t":{"$date":"2024-09-21T03:26:24.808+00:00"},"s":"I",  "c":"REPL",     "id":5123008, "ctx":"main","msg":"Successfully registered PrimaryOnlyService","attr":{"service":"TenantMigrationDonorService","namespace":"config.tenantMigrationDonors"}} chat-mongodb      | {"t":{"$date":"2024-09-21T03:26:24.808+00:00"},"s":"I",  "c":"REPL",     "id":5123008, "ctx":"main","msg":"Successfully registered PrimaryOnlyService","attr":{"service":"TenantMigrationRecipientService","namespace":"config.tenantMigrationRecipients"}} chat-mongodb      | {"t":{"$date":"2024-09-21T03:26:24.808+00:00"},"s":"I",  "c":"CONTROL",  "id":5945603, "ctx":"main","msg":"Multi threading initialized"} chat-mongodb      | {"t":{"$date":"2024-09-21T03:26:24.808+00:00"},"s":"I",  "c":"TENANT_M", "id":7091600, "ctx":"main","msg":"Starting TenantMigrationAccessBlockerRegistry"} chat-mongodb      | {"t":{"$date":"2024-09-21T03:26:24.809+00:00"},"s":"I",  "c":"CONTROL",  "id":4615611, "ctx":"initandlisten","msg":"MongoDB starting","attr":{"pid":1,"port":27017,"dbPath":"/data/db","architecture":"64-bit","host":"665fcff507b0"}} chat-mongodb      | {"t":{"$date":"2024-09-21T03:26:24.809+00:00"},"s":"I",  "c":"CONTROL",  "id":23403,   "ctx":"initandlisten","msg":"Build Info","attr":{"buildInfo":{"version":"7.0.14","gitVersion":"ce59cfc6a3c5e5c067dca0d30697edd68d4f5188","openSSLVersion":"OpenSSL 3.0.2 15 Mar 2022","modules":[],"allocator":"tcmalloc","environment":{"distmod":"ubuntu2204","distarch":"aarch64","target_arch":"aarch64"}}}} chat-mongodb      | {"t":{"$date":"2024-09-21T03:26:24.809+00:00"},"s":"I",  "c":"CONTROL",  "id":51765,   "ctx":"initandlisten","msg":"Operating System","attr":{"os":{"name":"Ubuntu","version":"22.04"}}} chat-mongodb      | {"t":{"$date":"2024-09-21T03:26:24.809+00:00"},"s":"I",  "c":"CONTROL",  "id":21951,   "ctx":"initandlisten","msg":"Options set by command line","attr":{"options":{"net":{"bindIp":"*"},"security":{"authorization":"disabled"}}}} chat-mongodb      | {"t":{"$date":"2024-09-21T03:26:24.819+00:00"},"s":"I",  "c":"STORAGE",  "id":22270,   "ctx":"initandlisten","msg":"Storage engine to use detected by data files","attr":{"dbpath":"/data/db","storageEngine":"wiredTiger"}} chat-mongodb      | {"t":{"$date":"2024-09-21T03:26:24.823+00:00"},"s":"I",  "c":"STORAGE",  "id":22315,   "ctx":"initandlisten","msg":"Opening WiredTiger","attr":{"config":"create,cache_size=3407M,session_max=33000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,remove=true,path=journal,compressor=snappy),builtin_extension_config=(zstd=(compression_level=6)),file_manager=(close_idle_time=600,close_scan_interval=10,close_handle_minimum=2000),statistics_log=(wait=0),json_output=(error,message),verbose=[recovery_progress:1,checkpoint_progress:1,compact_progress:1,backup:0,checkpoint:0,compact:0,evict:0,history_store:0,recovery:0,rts:0,salvage:0,tiered:0,timestamp:0,transaction:0,verify:0,log:0],"}} chat-mongodb      | {"t":{"$date":"2024-09-21T03:26:25.535+00:00"},"s":"E",  "c":"WT",       "id":22435,   "ctx":"initandlisten","msg":"WiredTiger error message","attr":{"error":1,"message":{"ts_sec":1726889185,"ts_usec":535905,"thread":"1:0xffffa7e6b040","session_dhandle_name":"file:WiredTiger.wt","session_name":"connection","category":"WT_VERB_DEFAULT","category_id":9,"verbose_level":"ERROR","verbose_level_id":-3,"msg":"__posix_open_file:815:/data/db/WiredTiger.wt: handle-open: open","error_str":"Operation not permitted","error_code":1}}} chat-mongodb      | {"t":{"$date":"2024-09-21T03:26:25.546+00:00"},"s":"E",  "c":"WT",       "id":22435,   "ctx":"initandlisten","msg":"WiredTiger error message","attr":{"error":1,"message":{"ts_sec":1726889185,"ts_usec":546024,"thread":"1:0xffffa7e6b040","session_dhandle_name":"file:WiredTiger.wt","session_name":"connection","category":"WT_VERB_DEFAULT","category_id":9,"verbose_level":"ERROR","verbose_level_id":-3,"msg":"__posix_open_file:815:/data/db/WiredTiger.wt: handle-open: open","error_str":"Operation not permitted","error_code":1}}} chat-mongodb      | {"t":{"$date":"2024-09-21T03:26:25.555+00:00"},"s":"E",  "c":"WT",       "id":22435,   "ctx":"initandlisten","msg":"WiredTiger error message","attr":{"error":1,"message":{"ts_sec":1726889185,"ts_usec":555756,"thread":"1:0xffffa7e6b040","session_dhandle_name":"file:WiredTiger.wt","session_name":"connection","category":"WT_VERB_DEFAULT","category_id":9,"verbose_level":"ERROR","verbose_level_id":-3,"msg":"__posix_open_file:815:/data/db/WiredTiger.wt: handle-open: open","error_str":"Operation not permitted","error_code":1}}} chat-mongodb      | {"t":{"$date":"2024-09-21T03:26:25.557+00:00"},"s":"W",  "c":"STORAGE",  "id":22347,   "ctx":"initandlisten","msg":"Failed to start up WiredTiger under any compatibility version. This may be due to an unsupported upgrade or downgrade."} chat-mongodb      | {"t":{"$date":"2024-09-21T03:26:25.557+00:00"},"s":"F",  "c":"STORAGE",  "id":28595,   "ctx":"initandlisten","msg":"Terminating.","attr":{"reason":"1: Operation not permitted"}} chat-mongodb      | {"t":{"$date":"2024-09-21T03:26:25.557+00:00"},"s":"F",  "c":"ASSERT",   "id":23091,   "ctx":"initandlisten","msg":"Fatal assertion","attr":{"msgid":28595,"file":"src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp","line":676}} chat-mongodb      | {"t":{"$date":"2024-09-21T03:26:25.557+00:00"},"s":"F",  "c":"ASSERT",   "id":23092,   "ctx":"initandlisten","msg":"\n\n***aborting after fassert() failure\n\n"} rag_api           | 2024-09-21 03:26:30,045 - root - INFO - Initialized embeddings of type: <class 'langchain_openai.embeddings.base.OpenAIEmbeddings'> rag_api           | /usr/local/lib/python3.10/site-packages/langchain_community/vectorstores/pgvector.py:322: LangChainPendingDeprecationWarning: Please use JSONB instead of JSON for metadata. This change will allow for more efficient querying that involves filtering based on metadata.Please note that filtering operators have been changed when using JSOB metadata to be prefixed with a $ sign to avoid name collisions with columns. If you're using an existing database, you will need to create adb migration for your metadata column to be JSONB and update your queries to use the new operators. rag_api           |   warn_deprecated( rag_api           | Traceback (most recent call last): rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 145, in __init__ rag_api           |     self._dbapi_connection = engine.raw_connection() rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 3303, in raw_connection rag_api           |     return self.pool.connect() rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 449, in connect rag_api           |     return _ConnectionFairy._checkout(self) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 1263, in _checkout rag_api           |     fairy = _ConnectionRecord.checkout(pool) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 712, in checkout rag_api           |     rec = pool._do_get() rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/impl.py", line 179, in _do_get rag_api           |     with util.safe_reraise(): rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/util/langhelpers.py", line 146, in __exit__ rag_api           |     raise exc_value.with_traceback(exc_tb) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/impl.py", line 177, in _do_get rag_api           |     return self._create_connection() rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 390, in _create_connection rag_api           |     return _ConnectionRecord(self) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 674, in __init__ rag_api           |     self.__connect() rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 900, in __connect rag_api           |     with util.safe_reraise(): rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/util/langhelpers.py", line 146, in __exit__ rag_api           |     raise exc_value.with_traceback(exc_tb) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 896, in __connect rag_api           |     self.dbapi_connection = connection = pool._invoke_creator(self) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/create.py", line 643, in connect rag_api           |     return dialect.connect(*cargs, **cparams) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/default.py", line 616, in connect rag_api           |     return self.loaded_dbapi.connect(*cargs, **cparams) rag_api           |   File "/usr/local/lib/python3.10/site-packages/psycopg2/__init__.py", line 122, in connect rag_api           |     conn = _connect(dsn, connection_factory=connection_factory, **kwasync) rag_api           | psycopg2.OperationalError: could not translate host name "vectordb" to address: Name or service not known rag_api           | rag_api           | rag_api           | The above exception was the direct cause of the following exception: rag_api           | rag_api           | Traceback (most recent call last): rag_api           |   File "/usr/local/lib/python3.10/site-packages/langchain_community/vectorstores/pgvector.py", line 383, in create_vector_extension rag_api           |     session.execute(statement) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/orm/session.py", line 2306, in execute rag_api           |     return self._execute_internal( rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/orm/session.py", line 2181, in _execute_internal rag_api           |     conn = self._connection_for_bind(bind) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/orm/session.py", line 2050, in _connection_for_bind rag_api           |     return trans._connection_for_bind(engine, execution_options) rag_api           |   File "<string>", line 2, in _connection_for_bind rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/orm/state_changes.py", line 139, in _go rag_api           |     ret_value = fn(self, *arg, **kw) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/orm/session.py", line 1144, in _connection_for_bind rag_api           |     conn = bind.connect() rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 3279, in connect rag_api           |     return self._connection_cls(self) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 147, in __init__ rag_api           |     Connection._handle_dbapi_exception_noconnection( rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 2443, in _handle_dbapi_exception_noconnection rag_api           |     raise sqlalchemy_exception.with_traceback(exc_info[2]) from e rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 145, in __init__ rag_api           |     self._dbapi_connection = engine.raw_connection() rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 3303, in raw_connection rag_api           |     return self.pool.connect() rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 449, in connect rag_api           |     return _ConnectionFairy._checkout(self) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 1263, in _checkout rag_api           |     fairy = _ConnectionRecord.checkout(pool) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 712, in checkout rag_api           |     rec = pool._do_get() rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/impl.py", line 179, in _do_get rag_api           |     with util.safe_reraise(): rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/util/langhelpers.py", line 146, in __exit__ rag_api           |     raise exc_value.with_traceback(exc_tb) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/impl.py", line 177, in _do_get rag_api           |     return self._create_connection() rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 390, in _create_connection rag_api           |     return _ConnectionRecord(self) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 674, in __init__ rag_api           |     self.__connect() rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 900, in __connect rag_api           |     with util.safe_reraise(): rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/util/langhelpers.py", line 146, in __exit__ rag_api           |     raise exc_value.with_traceback(exc_tb) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 896, in __connect rag_api           |     self.dbapi_connection = connection = pool._invoke_creator(self) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/create.py", line 643, in connect rag_api           |     return dialect.connect(*cargs, **cparams) rag_api           |   File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/default.py", line 616, in connect rag_api           |     return self.loaded_dbapi.connect(*cargs, **cparams) rag_api           |   File "/usr/local/lib/python3.10/site-packages/psycopg2/__init__.py", line 122, in connect rag_api           |     conn = _connect(dsn, connection_factory=connection_factory, **kwasync) rag_api           | sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) could not translate host name "vectordb" to address: Name or service not known rag_api           | rag_api           | (Background on this error at: https://sqlalche.me/e/20/e3q8) rag_api           | rag_api           | The above exception was the direct cause of the following exception: rag_api           | rag_api           | Traceback (most recent call last): rag_api           |   File "/app/main.py", line 46, in <module> rag_api           |     from psql import PSQLDatabase, ensure_custom_id_index_on_embedding, pg_health_check rag_api           |   File "/app/psql.py", line 3, in <module> rag_api           |     from config import DSN, logger rag_api           |   File "/app/config.py", line 232, in <module> rag_api           |     vector_store = get_vector_store( rag_api           |   File "/app/store_factory.py", line 20, in get_vector_store rag_api           |     return AsyncPgVector( rag_api           |   File "/usr/local/lib/python3.10/site-packages/langchain_core/_api/deprecation.py", line 183, in warn_if_direct_instance rag_api           |     return wrapped(self, *args, **kwargs) rag_api           |   File "/usr/local/lib/python3.10/site-packages/langchain_community/vectorstores/pgvector.py", line 341, in __init__ rag_api           |     self.__post_init__() rag_api           |   File "/usr/local/lib/python3.10/site-packages/langchain_community/vectorstores/pgvector.py", line 348, in __post_init__ rag_api           |     self.create_vector_extension() rag_api           |   File "/usr/local/lib/python3.10/site-packages/langchain_community/vectorstores/pgvector.py", line 386, in create_vector_extension rag_api           |     raise Exception(f"Failed to create vector extension: {e}") from e rag_api           | Exception: Failed to create vector extension: (psycopg2.OperationalError) could not translate host name "vectordb" to address: Name or service not known rag_api           | rag_api           | (Background on this error at: https://sqlalche.me/e/20/e3q8) vectordb          | exec /usr/local/bin/docker-entrypoint.sh: exec format error vectordb          | exec /usr/local/bin/docker-entrypoint.sh: exec format error vectordb          | exec /usr/local/bin/docker-entrypoint.sh: exec format error

@jumpei-kurata are you still getting an error message when starting the app? I am keen to see this feature also.

What would happen to the data entered? For my use case, it would be helpful to capture this data locally and send it off to the LLM as training data. I would like to capture it locally for reflection purposes so users can reflect on what is working / not working for them. Once it's captured, it could be shown back to the users.


Remove amirrezaask/fuzzy.nvim

This repo has not been updated since 2021-05-16 06:20:55 UTC.
Can @amirrezaask confirm whether this repo is still intended for use?

@tversteeg Yes please remove this repo, I am not using nvim anymore so I don't update this.


Add something like editor.cursorWidth for underline cursor style

I really like the underline cursor style, however it is too thin to my liking. I suggest adding a setting like editor.cursorWidth which works for the underline cursor style to make it thicker.

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!


Use ios14.4 to make all devices consistent.

Updating all the devices to be used by luci mac/ios to 14.4 to make the configurations consistent.

Landing as TBR to validate the setups while I'm in the lab

LGTM


Bug: Remove trailing whitespaces in configuration

Reference PR #1167

PR 1167 was merged and this issue closed.


Update changelog

Description
Update changelog
Related Issue
Type of change

[ ] This change requires a documentation update
[ ] This change affects the client
[ ] This change affects the server
[ ] This change affects the API
[x] This change only concerns the documentation

How Has This Been Tested?
N/A
Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my code
[x] I have commented my code, particularly in hard-to-understand areas
[x] My changes generate no new warnings
[x] I have updated the documentation according to my changes

Merged.


Settings revamp + viewmodel

What did you fix? (provide a description or issue closes statement)
This reworks the settings save/load code to use implicit json serialization.
It also add a viewmodel for the Settings window and removes a lot of direct event methods, replacing them with attached properties (e.g. the numeric only), value converters (the negative offset y), and inline processing in the viewmodel setters.
Finally it adds a readonly settings model that is used by anywhere that doesn't need to edit settings, slowly moving away from the static Settings class.
It also adds a scrollbar to the settings window along with a vertical resize handle, plus makes the scrollbar a bit wider.

Considerations

Does this contain a new dependency? [Yes]
Have I run the linter? [Yes]
Is is a bug fix, feature request, or enhancement? [Enhancement]

@dapal-003 Replying here as the new scrollbar is in this MR.

Very interesting. Could you give it a try on high and low resolutions and see if it's still fine under high/low DPI settings in Windows?

It seems to behave as expected with DPI settings. If I ramp DPI up too high on my low res laptop screen it can become difficult to use the whole settings window as I only have 900 height and 594 * 1.5 scaling = 891 which hides behind my taskbar. That'd be an odd thing for a user to do though!

Merge conflict, pls resolve

Merge conflict, pls resolve

Done. Updated the new default values for the two touched settings.

Sadly some more merge conflicts arose while merging two older branches in, could you please update and resolve the conflicts? Thanks

Fixed again!