-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dall-E tool + usage example #2
Conversation
Also fixed a bug with agents self-delegating tasks |
Please an argument when creating that tool that if True causes the agent to download the image, save it locally, and return the path instead of returning the cloud URL |
Should be done here |
|
||
def create_dalle_image_generator_langchain_tool(images_directory: Optional[str] = None): | ||
def run_dalle_and_save_images_partial(description: str): | ||
return run_dalle_and_save_images( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As the name suggests, using functools.partial would have been more elegant here, but who cares :)
* Start work on the docs, refactor source as needed * Notebook example with AutoGen integration * Integrate notebooks into doc structure * Begin of refactor of agents: remove 'delegation', delegation_crewai.py runs * Rename "goal" to "description" in all agents * Intermediate work on a nicer delegation demo * Intermediate work on a nicer delegation demo * MOTLEYDEV-43: rename TaskRecipe to Task and Task to TaskUnit * Merge branch 'refactors' into rename-task-recipe * Support long paths for cache in CI * Make sure cache paths are not too long * Fix tests * Fix tests #2 * Fix callback merging * Better caching interface + demo * add (update) event in LunaryEventName * Caching and observability demo * Fix caching module after messy merge * fix caching tests * typo --------- Co-authored-by: whimo <[email protected]> Co-authored-by: User <[email protected]>
No description provided.