Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
davilajose23 committed May 22, 2024
1 parent 4dfaf72 commit bfc353a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ If bundler is not being used to manage dependencies, install the gem by executin
```

## Usage
Find all available params on [Unstructured documentation](https://unstructured-io.github.io/unstructured/apis/api_parameters.html)

```ruby
server_url = "https://api.unstructured.io" # "http://localhost:8000" if you are running a docker container
client = Unstructured::Client.new(server_url: server_url, api_key: ENV["UNSTRUCTURED_API_KEY"])
Expand All @@ -28,7 +30,6 @@ params = {
new_after_n_chars: 1000
}
chunks = client.partition(file_path, params)

```

## Development
Expand Down

0 comments on commit bfc353a

Please sign in to comment.