-
Notifications
You must be signed in to change notification settings - Fork 8
All dry Agent -> Watercolor agent #24
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
Open
RodinIvan
wants to merge
8
commits into
main
Choose a base branch
from
all-dry-watercolor
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
8376dd3
All dry Agent -> Watercolor agent
RodinIvan fb36deb
Updated files according to comments
RodinIvan 7cd2d7f
upd numbering
RodinIvan 445c988
Merge branch 'main' into all-dry-watercolor
meanmail 01e2a72
Merge branch 'main' into all-dry-watercolor
meanmail 94d6684
Merge branch 'main' into all-dry-watercolor
meanmail d58a27b
Merge branch 'main' into all-dry-watercolor
meanmail 7d9a9fb
Merge branch 'main' into all-dry-watercolor
meanmail File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,10 +1,10 @@ | ||
| { | ||
| "id": 19, | ||
| "description": "A web-based chatbot application that helps users dry various items using AI image processing and natural language capabilities.", | ||
| "description": "A web-based chatbot application that helps users watercolor paint various items using AI image processing and natural language capabilities.", | ||
| "title": "Agent \"All Dry\"", | ||
| "categories": "AI, RAG, Langchain", | ||
| "categories": "AI, Langchain, Image Generation", | ||
| "cover_url": "https://pdqqywctjlfcaeeaykvj.supabase.co/storage/v1/object/public/aidl-bucket//output_4-2.png", | ||
| "readme": "# Item Drying Assistant\n\nA web-based chatbot application that helps users dry various items using AI image processing and natural language capabilities.\n\n[Link to project](https://enlightby.ai/#/projects/19) \n[Install Enlighter extention](https://marketplace.visualstudio.com/items?itemName=ai-dl.enlighter) \n[Join Discord Server](https://discord.gg/VfAzUvUxRM)\n\n## Features\n\n- Chat interface for discussing drying methods\n- Image upload capability for processing wet items\n- AI-powered image transformation to make items appear dry\n- Specialized assistant focused on drying-related advice\n\n## Architecture\n\nThis application uses:\n- **Gradio**: For the web interface\n- **LangChain**: For the agent implementation\n- **Stable Diffusion**: For image processing\n- **OpenRouter API**: For accessing Gemini model\n\n## Components\n\n1. **Image Dryer**: Uses Stable Diffusion to transform images\n2. **Chat Model**: Connects to OpenRouter API to access Gemini model\n3. **Drying Agent**: Integrates chat and image processing\n4. **Main Application**: Provides the Gradio web interface\n\n## Setup\n\n1. Clone this repository\n2. Create a virtual environment:\n ```\n python -m venv venv\n source venv/bin/activate # On Windows: venv\\Scripts\\activate\n ```\n3. Install dependencies:\n ```\n pip install -r requirements.txt\n ```\n4. Set your OpenRouter API key (optional, default key is provided):\n ```\n export OPENROUTER_API_KEY=your_api_key_here\n ```\n\n## Running the Application\n\nRun the application with:\n```\npython app.py\n```\n\nThe application will start a local web server and provide a URL to access the interface.\n\n## Testing\n\nRun the tests with:\n```\npython test_app.py\n```\n\nThis will test all components of the application and save test results in the `test_results` directory.\n\n## Usage\n\n1. Type a message about an item you want to dry\n2. Optionally upload an image of a wet item\n3. The assistant will provide advice and process the image to show how it would look when dry\n4. Continue the conversation to get more specific advice\n\n## Example Prompts\n\n- \"How do I dry a wet book?\"\n- \"Can you help me dry this wet painting?\" (with image upload)\n- \"What's the best way to dry a wet phone?\"\n- \"I spilled water on my laptop, how can I dry it?\"\n \n \n \n ", | ||
| "short_description": "Use RAG to keep your images dry \u2014 experiment with AI agents for image handling", | ||
| "readme": "# Item Watercolor Painting Assistant\n\nA web-based chatbot application that helps users watercolor paint various items using AI image processing and natural language capabilities.\n\n[Link to project](https://enlightby.ai/#/projects/19) \n[Install Enlighter extention](https://marketplace.visualstudio.com/items?itemName=ai-dl.enlighter) \n[Join Discord Server](https://discord.gg/VfAzUvUxRM)\n\n## Features\n\n- Chat interface for discussing watercolor painting methods\n- Image upload capability for processing items\n- AI-powered image transformation to make items appear as watercolor paintings\n- Specialized assistant focused on watercolor painting advice\n\n## Architecture\n\nThis application uses:\n- **Gradio**: For the web interface\n- **LangChain**: For the agent implementation\n- **Stable Diffusion**: For image processing\n- **OpenRouter API**: For accessing Gemini model\n\n## Components\n\n1. **Image Watercolor Painter**: Uses Stable Diffusion to transform images\n2. **Chat Model**: Connects to OpenRouter API to access Gemini model\n3. **Watercolor Painting Agent**: Integrates chat and image processing\n4. **Main Application**: Provides the Gradio web interface\n\n## Setup\n\n1. Clone this repository\n2. Create a virtual environment:\n ```\n python -m venv venv\n source venv/bin/activate # On Windows: venv\\Scripts\\activate\n ```\n3. Install dependencies:\n ```\n pip install -r requirements.txt\n ```\n4. Set your OpenRouter API key (optional, default key is provided):\n ```\n export OPENROUTER_API_KEY=your_api_key_here\n ```\n\n## Running the Application\n\nRun the application with:\n```\npython app.py\n```\n\nThe application will start a local web server and provide a URL to access the interface.\n\n## Testing\n\nRun the tests with:\n```\npython test_app.py\n```\n\nThis will test all components of the application and save test results in the `test_results` directory.\n\n## Usage\n\n1. Type a message about an item you want to watercolor paint\n2. Optionally upload an image of an item\n3. The assistant will provide advice and process the image to show how it would look as a watercolor painting\n4. Continue the conversation to get more specific advice\n\n## Example Prompts\n\n- \"How do I watercolor paint a book?\"\n- \"Can you help me watercolor paint this painting?\" (with image upload)\n- \"What's the best way to watercolor paint a phone?\"\n- \"I want to watercolor paint my laptop, how can I do it?\"\n \n \n \n ", | ||
| "short_description": "Use RAG to watercolor paint your images — experiment with AI agents for image handling", | ||
| "ides": "cursor" | ||
| } |
14 changes: 14 additions & 0 deletions
14
project_49_agent_all_dry_junie/1_2015_what_are_you_going_to_build.html
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| <!-- Enlighter Metainfo | ||
| { | ||
| "id": 2015, | ||
| "title": "What are you going to build?", | ||
| "next_button_title": null | ||
| } | ||
| --> | ||
| <p>In this course, you will create an AI agent. It will be very simple, performing just one task - changing the style of the image to watercolor.</p> | ||
| <p>Your application will be accessible through a browser, it will have a chat window where you can specify how best to change the style of the image, a form for uploading the image and a result window. All of this will generate a Cursor for you.</p> | ||
| <p>First, a bit of theory and at the same time familiarization with Junie functions</p> | ||
| <p>Ask Cursor a question in chat and he will answer you, because he knows very well what an AI agent is.</p> | ||
|
RodinIvan marked this conversation as resolved.
Outdated
|
||
| <p><checkable-item title="Run this prompt in chat"><callout type="chat"> | ||
| Explain to me, as if I am 14 years old and don't know much about computers, what an AI agent is. Give me examples and metaphors to help me understand. | ||
| </callout></checkable-item></p> | ||
8 changes: 8 additions & 0 deletions
8
project_49_agent_all_dry_junie/2_134_set_up_your_cursor_chat_assistant.html
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| <!-- Enlighter Metainfo | ||
| { | ||
| "id": 134, | ||
| "title": "Set up your Junie Chat Assistant", | ||
| "next_button_title": null | ||
| } | ||
| --> | ||
| <content-template name="junie_install"></content-template> |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.