mirror of
https://github.com/ianarawjo/ChainForge.git
synced 2025-03-14 08:16:37 +00:00
* Refactor: modularize response boxes into a separate component * Type store.js. Change info to vars. NOTE: This may break backwards compat. * Refactor addNodes in App.tsx to be simpler. * Turn AlertModal into a Provider with useContext * Remove fetch_from_backend. * Add build/ to gitignore * Add support for image models and add Dall-E models. * Better rate limiting with Bottleneck * Fix new Chrome bug with file import readers not appearing as arrays; and fix bug with exportCache * Add ability to add custom right-click context menu items per node * Convert to/from TF and Items nodes * Add lazyloader for images * Add compression to images by default before storing in cache * Add image compression toggle in Global Settings * Move Alert Provider to top level of index.js
48 lines
1.4 KiB
Python
48 lines
1.4 KiB
Python
from setuptools import setup, find_packages
|
|
|
|
def readme():
|
|
with open('README.md', encoding='utf-8') as f:
|
|
return f.read()
|
|
|
|
setup(
|
|
name='chainforge',
|
|
version='0.3.1.0',
|
|
packages=find_packages(),
|
|
author="Ian Arawjo",
|
|
description="A Visual Programming Environment for Prompt Engineering",
|
|
long_description=readme(),
|
|
long_description_content_type='text/markdown',
|
|
keywords='prompt engineering LLM response evaluation',
|
|
license="MIT",
|
|
url="https://github.com/ianarawjo/ChainForge/",
|
|
install_requires=[
|
|
# Package dependencies
|
|
"flask>=2.2.3",
|
|
"flask[async]",
|
|
"flask_cors",
|
|
"requests",
|
|
"urllib3==1.26.6",
|
|
"openai",
|
|
"anthropic",
|
|
"google-generativeai",
|
|
"dalaipy>=2.0.2",
|
|
"mistune>=2.0", # for LLM response markdown parsing
|
|
],
|
|
entry_points={
|
|
'console_scripts': [
|
|
'chainforge = chainforge.app:main',
|
|
],
|
|
},
|
|
classifiers=[
|
|
# Package classifiers
|
|
'Development Status :: 3 - Alpha',
|
|
'Intended Audience :: Developers',
|
|
'License :: OSI Approved :: MIT License',
|
|
'Programming Language :: Python :: 3',
|
|
'Programming Language :: Python :: 3.8',
|
|
'Programming Language :: Python :: 3.9',
|
|
'Programming Language :: Python :: 3.10',
|
|
],
|
|
python_requires=">=3.8",
|
|
include_package_data=True,
|
|
) |