We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51090a2 commit 3739c66Copy full SHA for 3739c66
README.md
@@ -1 +1,18 @@
1
-# image-classifier-demo
+# 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
17
+bundle exec ruby image-classifier.rb --url="https://gist.githubusercontent.com/andreibondarev/b6f444194d0ee7ab7302a4d83184e53e/raw/db2e55ce2d29f3f6a7e3540e5abfd451c6a3d2a8/sf-cable-car.jpg"
18
0 commit comments