Skip to content

Commit 3739c66

Browse files
Update README.md
1 parent 51090a2 commit 3739c66

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

README.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,18 @@
1-
# image-classifier-demo
1+
# image-classifier-demo
2+
3+
Simple demo for building image classification by utilizing Langchain.rb, LLMs and function calling.
4+
5+
### Installation
6+
1. `git clone`
7+
2. `bundle install`
8+
3. `cp .env.example .env` and fill it out with [OpenAI API key](https://platform.openai.com/api-keys).
9+
10+
### Running
11+
```ruby
12+
bundle exec ruby image-classifier.rb --url=<your-image-url>
13+
```
14+
15+
You can try the script with by passing this image URL:
16+
```ruby
17+
bundle exec ruby image-classifier.rb --url="https://gist.githubusercontent.com/andreibondarev/b6f444194d0ee7ab7302a4d83184e53e/raw/db2e55ce2d29f3f6a7e3540e5abfd451c6a3d2a8/sf-cable-car.jpg"
18+
```

0 commit comments

Comments
 (0)