Ross McNairn commited on
Commit ·
54b8802
1
Parent(s): a81d6b4
initial package config
Browse files- .gitignore +4 -0
- README.md +1 -0
- hello_wordsmith/__init__.py +0 -0
- setup.py +27 -0
.gitignore
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
.mypy_cache
|
| 2 |
+
build
|
| 3 |
+
env
|
| 4 |
+
*.egg-info
|
README.md
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
This is a simple package wrapping llama-index CLI with Wordsmith defaults for a "Hello World" interaction with RAG.
|
hello_wordsmith/__init__.py
ADDED
|
File without changes
|
setup.py
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from setuptools import setup, find_packages
|
| 2 |
+
|
| 3 |
+
setup(
|
| 4 |
+
name='hello-wordsmith',
|
| 5 |
+
version='0.1.0',
|
| 6 |
+
description='A simple Python package to interface with llama-index RAG over wordsmith data.',
|
| 7 |
+
long_description=open('README.md').read(),
|
| 8 |
+
long_description_content_type='text/markdown',
|
| 9 |
+
url='https://huggingface.co/datasets/derek-at-work/test/source env/bin/activate',
|
| 10 |
+
author='Derek Johnston',
|
| 11 |
+
author_email='derek@wordsmith.ai',
|
| 12 |
+
license='MIT',
|
| 13 |
+
packages=find_packages(),
|
| 14 |
+
install_requires=[
|
| 15 |
+
"llama-index",
|
| 16 |
+
"chromadb",
|
| 17 |
+
"llama-index-vector-stores-chroma"
|
| 18 |
+
],
|
| 19 |
+
classifiers=[
|
| 20 |
+
'Intended Audience :: End Users',
|
| 21 |
+
'Topic :: Software Development :: Build Tools',
|
| 22 |
+
'License :: OSI Approved :: MIT License',
|
| 23 |
+
'Programming Language :: Python :: 3',
|
| 24 |
+
'Programming Language :: Python :: 3.7',
|
| 25 |
+
],
|
| 26 |
+
python_requires='>=3.6',
|
| 27 |
+
)
|