Add support per user for configuring the preferred search model from the config page

- Honor this setting across the relevant places where embeddings are used
- Convert the VectorField object to have None for dimensions in order to make the search model easily configurable
This commit is contained in:
sabaimran
2023-12-20 13:25:43 +05:30
parent 0f6e4ff683
commit 5ff9df9d4c
10 changed files with 117 additions and 17 deletions

View File

@@ -66,7 +66,7 @@ dependencies = [
"gpt4all >= 2.0.0; platform_system == 'Windows' or platform_system == 'Darwin'",
"itsdangerous == 2.1.2",
"httpx == 0.25.0",
"pgvector == 0.2.3",
"pgvector == 0.2.4",
"psycopg2-binary == 2.9.9",
"google-auth == 2.23.3",
"python-multipart == 0.0.6",