added distinct search project

This commit is contained in:
Alexander Karpov 2023-11-06 20:11:15 +03:00
parent b3b015488b
commit 3f844bbca1
6 changed files with 2333 additions and 714 deletions

834
poetry.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -88,12 +88,9 @@ django-tables2 = "^2.5.3"
django-filter = "^23.2"
tablib = "^3.4.0"
django-location-field = "^2.7.0"
pydantic = "^2.0.2"
channels-redis = "^4.1.0"
django-ipware = "^5.0.0"
fastapi = {extras = ["all"], version = "^0.101.0"}
sqlalchemy = "^2.0.19"
pydantic-settings = "^2.0.2"
yt-dlp = "^2023.7.6"
pytube = "^15.0.0"
urllib3 = ">=1.26"
@ -110,6 +107,7 @@ pgvector = "^0.2.2"
pycld2 = "^0.41"
textract = "^1.6.5"
uuid6 = "^2023.5.2"
fastapi = "0.86.0"
[build-system]

0
search/__init__.py Normal file
View File

6
search/pipeline.py Normal file
View File

@ -0,0 +1,6 @@
from haystack import Document
from milvus_haystack import MilvusDocumentStore
ds = MilvusDocumentStore()
ds.write_documents([Document("Some Content")])
ds.get_all_documents()

2185
search/poetry.lock generated Normal file

File diff suppressed because it is too large Load Diff

18
search/pyproject.toml Normal file
View File

@ -0,0 +1,18 @@
[tool.poetry]
name = "search"
version = "0.1.0"
description = ""
authors = ["Alexander-D-Karpov <alexandr.d.karpov@gmail.com>"]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.11"
farm-haystack = "^1.21.2"
fastapi = "0.99.1"
pydantic = "1.10.13"
milvus-haystack = "^0.0.2"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"