Skip to content

Commit

Permalink
add info about proxy into README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
themanyfaceddemon committed Apr 24, 2024
1 parent 2a97def commit fa3312e
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,21 @@ print(response)
}
```

**Using proxy**:

```python
from meta_ai_api import MetaAI

proxy = {
'http': 'http://proxy_address:port',
'https': 'https://proxy_address:port'
}

ai = MetaAI(proxy=proxy)
response = ai.prompt(message="How to find out which mushrooms are edible?")
print(response)
```

**Streaming Response**:

```python
Expand Down

0 comments on commit fa3312e

Please sign in to comment.