mirror of
https://github.com/Alexander-D-Karpov/akarpov
synced 2024-11-22 13:16:33 +03:00
added distinct search project
This commit is contained in:
parent
b3b015488b
commit
3f844bbca1
834
poetry.lock
generated
834
poetry.lock
generated
File diff suppressed because it is too large
Load Diff
|
@ -88,12 +88,9 @@ django-tables2 = "^2.5.3"
|
||||||
django-filter = "^23.2"
|
django-filter = "^23.2"
|
||||||
tablib = "^3.4.0"
|
tablib = "^3.4.0"
|
||||||
django-location-field = "^2.7.0"
|
django-location-field = "^2.7.0"
|
||||||
pydantic = "^2.0.2"
|
|
||||||
channels-redis = "^4.1.0"
|
channels-redis = "^4.1.0"
|
||||||
django-ipware = "^5.0.0"
|
django-ipware = "^5.0.0"
|
||||||
fastapi = {extras = ["all"], version = "^0.101.0"}
|
|
||||||
sqlalchemy = "^2.0.19"
|
sqlalchemy = "^2.0.19"
|
||||||
pydantic-settings = "^2.0.2"
|
|
||||||
yt-dlp = "^2023.7.6"
|
yt-dlp = "^2023.7.6"
|
||||||
pytube = "^15.0.0"
|
pytube = "^15.0.0"
|
||||||
urllib3 = ">=1.26"
|
urllib3 = ">=1.26"
|
||||||
|
@ -110,6 +107,7 @@ pgvector = "^0.2.2"
|
||||||
pycld2 = "^0.41"
|
pycld2 = "^0.41"
|
||||||
textract = "^1.6.5"
|
textract = "^1.6.5"
|
||||||
uuid6 = "^2023.5.2"
|
uuid6 = "^2023.5.2"
|
||||||
|
fastapi = "0.86.0"
|
||||||
|
|
||||||
|
|
||||||
[build-system]
|
[build-system]
|
||||||
|
|
0
search/__init__.py
Normal file
0
search/__init__.py
Normal file
6
search/pipeline.py
Normal file
6
search/pipeline.py
Normal 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
2185
search/poetry.lock
generated
Normal file
File diff suppressed because it is too large
Load Diff
18
search/pyproject.toml
Normal file
18
search/pyproject.toml
Normal 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"
|
Loading…
Reference in New Issue
Block a user