-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
65 lines (58 loc) · 2.07 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
import os
from distutils.core import setup
from setuptools import find_packages
def readme():
readme_path = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'README.md')
with open(readme_path) as fobj:
return fobj.read()
def requirements():
# requirements_path = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'requirements.txt')
# with open(requirements_path) as fobj:
# return [line.strip('\n') for line in fobj.readlines()]
return [
"langchain==0.0.336",
"sentence-transformers==2.2.2",
"df-extract==0.0.2.1",
"elasticsearch==8.8.2",
"qdrant-client==1.4.0",
"jq==1.4.0",
"httpx==0.25.0",
"pydantic==1.10.11",
"fastapi==0.95.1",
"auto-gptq==0.5.0",
"openai==1.2.0",
"uvicorn==0.22.0",
"tiktoken==0.4.0",
"ibm-watson-machine-learning==1.0.327",
"langchain-experimental==0.0.24",
"python-dotenv==1.0.0",
"mysql-connector-python==8.3.0",
"pyodbc==5.0.1",
"SQLAlchemy==2.0.23",
"opensearch-py==2.6.0"
]
setup(
name='semantic_ai',
version='v0.0.6.1',
description='Sematic AI RAG System',
long_description=readme(),
long_description_content_type='text/markdown',
author='DecisionFacts',
author_email='[email protected]',
maintainer='DecisionFacts',
maintainer_email='[email protected]',
license='Apache License 2.0',
url='https://github.com/decisionfacts/semantic-ai',
download_url='https://github.com/decisionfacts/semantic-ai.git',
keywords=['pdf machine-learning ocr deep-neural-networks openai docx approximate-nearest-neighbor-search '
'semantic-search document-parser rag fastapi vector-database inference-api openai-api llm'
' retrieval-augmented-generation llama2 '],
packages=find_packages(),
include_package_data=True,
install_requires=requirements(),
entry_points={
"console_scripts": [
"semantic_ai=semantic_ai.main:main",
],
},
)