mirror of
				https://github.com/microsoft/autogen.git
				synced 2025-11-04 03:39:52 +00:00 
			
		
		
		
	* Add custom embedding function * Add support to custom vector db * Improve docstring * Improve docstring * Improve docstring * Add support to customized is_termination_msg fucntion * Add a test for customize vector db with lancedb * Fix tests * Add test for embedding_function * Update docstring
		
			
				
	
	
		
			68 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			68 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			Python
		
	
	
	
	
	
import setuptools
 | 
						|
import os
 | 
						|
 | 
						|
here = os.path.abspath(os.path.dirname(__file__))
 | 
						|
 | 
						|
with open("README.md", "r", encoding="UTF-8") as fh:
 | 
						|
    long_description = fh.read()
 | 
						|
 | 
						|
 | 
						|
# Get the code version
 | 
						|
version = {}
 | 
						|
with open(os.path.join(here, "autogen/version.py")) as fp:
 | 
						|
    exec(fp.read(), version)
 | 
						|
__version__ = version["__version__"]
 | 
						|
 | 
						|
install_requires = [
 | 
						|
    "openai",
 | 
						|
    "diskcache",
 | 
						|
    "termcolor",
 | 
						|
    "flaml",
 | 
						|
    "python-dotenv",
 | 
						|
]
 | 
						|
 | 
						|
 | 
						|
setuptools.setup(
 | 
						|
    name="pyautogen",
 | 
						|
    version=__version__,
 | 
						|
    author="AutoGen",
 | 
						|
    author_email="auto-gen@outlook.com",
 | 
						|
    description="Enabling Next-Gen LLM Applications via Multi-Agent Conversation Framework",
 | 
						|
    long_description=long_description,
 | 
						|
    long_description_content_type="text/markdown",
 | 
						|
    url="https://github.com/microsoft/autogen",
 | 
						|
    packages=setuptools.find_packages(include=["autogen*"], exclude=["test"]),
 | 
						|
    # package_data={
 | 
						|
    #     "autogen.default": ["*/*.json"],
 | 
						|
    # },
 | 
						|
    # include_package_data=True,
 | 
						|
    install_requires=install_requires,
 | 
						|
    extras_require={
 | 
						|
        "test": [
 | 
						|
            "chromadb",
 | 
						|
            "lancedb",
 | 
						|
            "coverage>=5.3",
 | 
						|
            "datasets",
 | 
						|
            "ipykernel",
 | 
						|
            "nbconvert",
 | 
						|
            "nbformat",
 | 
						|
            "pre-commit",
 | 
						|
            "pydantic==1.10.9",
 | 
						|
            "pytest-asyncio",
 | 
						|
            "pytest>=6.1.1",
 | 
						|
            "sympy",
 | 
						|
            "tiktoken",
 | 
						|
            "wolframalpha",
 | 
						|
        ],
 | 
						|
        "blendsearch": ["flaml[blendsearch]"],
 | 
						|
        "mathchat": ["sympy", "pydantic==1.10.9", "wolframalpha"],
 | 
						|
        "retrievechat": ["chromadb", "tiktoken", "sentence_transformers", "pypdf"],
 | 
						|
    },
 | 
						|
    classifiers=[
 | 
						|
        "Programming Language :: Python :: 3",
 | 
						|
        "License :: OSI Approved :: MIT License",
 | 
						|
        "Operating System :: OS Independent",
 | 
						|
    ],
 | 
						|
    python_requires=">=3.8",
 | 
						|
)
 |