2023-05-18 00:17:35 -04:00
|
|
|
from setuptools import setup, find_packages
|
|
|
|
|
2023-05-23 15:11:05 -04:00
|
|
|
def readme():
|
2023-05-23 22:35:39 -04:00
|
|
|
with open('README.md', encoding='utf-8') as f:
|
2023-05-23 15:11:05 -04:00
|
|
|
return f.read()
|
|
|
|
|
2023-05-18 00:17:35 -04:00
|
|
|
setup(
|
|
|
|
name='chainforge',
|
Better edges, ReactFlow v11, AlephAlpha integration, better .gitignores (#139)
* add aleph alpha to installg guide description
* add aleph alpha to settings to add key
* add settings for alephalpha
* add aleph alpha to models
* add aleph alpha api key to keymap
* no visible changes, removed console.log
* current working copy
* added settings for aleph alpha, added test, working api request
* removed console log
* added static build with Aleph Alpha integration
* added static build with Aleph Alpha integration
* Corrected from ALEPH_ALPHA_KEY to ALEPH_ALPHA_API_KEY
* add additional settings requested
* merge conflicts
* add build to gitignore, best practice, reduces conflicts
* remove empty lines
* Delete chainforge/react-server/build directory
build directory should not be in remote
* remove unnecessary changes
* Update backend.ts
* ...
* fixed import
* add aleph alpha to store, remove available llms from modelsettings, remove double palm key input from globalsettings
* Update to ReactFlow v11
* Add remove button to edge on hover
* Quality of life improvements (#133)
* Quality of life improvements for node and python
* Pinned minor version for mantine modules
* Updated package-lock.json
* Added .gitignore to react-server
* Updated .gitignore to python module
---------
Co-authored-by: ianarawjo <fatso784@gmail.com>
* update gitignore
* Minor fixes to AlephAlpha integration code
* Tested npm i and rebuilt react
* Force commit the react build
* Update package version
---------
Co-authored-by: Denise Wagenführ <denise.wagenfuehr@capgemini.com>
Co-authored-by: fguderia <falko.guderian@capgemini.com>
Co-authored-by: denise710 <53524926+denise710@users.noreply.github.com>
Co-authored-by: wday-cs <119377799+wday-cs@users.noreply.github.com>
2023-09-25 09:44:18 -04:00
|
|
|
version='0.2.6.3',
|
2023-05-18 00:17:35 -04:00
|
|
|
packages=find_packages(),
|
|
|
|
author="Ian Arawjo",
|
|
|
|
description="A Visual Programming Environment for Prompt Engineering",
|
2023-05-23 15:11:05 -04:00
|
|
|
long_description=readme(),
|
|
|
|
long_description_content_type='text/markdown',
|
|
|
|
keywords='prompt engineering LLM response evaluation',
|
|
|
|
license="MIT",
|
2023-05-18 00:17:35 -04:00
|
|
|
url="https://github.com/ianarawjo/ChainForge/",
|
|
|
|
install_requires=[
|
|
|
|
# Package dependencies
|
2023-05-23 14:29:44 -04:00
|
|
|
"flask>=2.2.3",
|
2023-05-18 00:17:35 -04:00
|
|
|
"flask[async]",
|
|
|
|
"flask_cors",
|
2023-06-15 15:41:58 -04:00
|
|
|
"requests",
|
2023-05-18 00:17:35 -04:00
|
|
|
"urllib3==1.26.6",
|
2023-05-23 14:57:38 -04:00
|
|
|
"openai",
|
|
|
|
"anthropic",
|
|
|
|
"google-generativeai",
|
|
|
|
"dalaipy>=2.0.2",
|
2023-06-03 14:32:37 -04:00
|
|
|
"mistune>=2.0", # for LLM response markdown parsing
|
2023-05-18 00:17:35 -04:00
|
|
|
],
|
|
|
|
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',
|
2023-05-22 13:19:46 -04:00
|
|
|
'Programming Language :: Python :: 3.10',
|
2023-05-18 00:17:35 -04:00
|
|
|
],
|
2023-05-22 13:19:46 -04:00
|
|
|
python_requires=">=3.8",
|
2023-05-18 00:17:35 -04:00
|
|
|
include_package_data=True,
|
|
|
|
)
|