Skip to content

Commit 4a5bae2

Browse files
authored
Update README.md
1 parent 20ddfa5 commit 4a5bae2

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

README.md

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -41,24 +41,6 @@ for result in search.results:
4141
print(f"{result.title}: {result.url}")
4242
```
4343

44-
## Content API
45-
46-
Extract and process content from URLs:
47-
48-
```python
49-
from perplexity import Perplexity
50-
51-
client = Perplexity()
52-
53-
content = client.content.create(
54-
urls=["https://en.wikipedia.org/wiki/Perplexity_AI"]
55-
)
56-
57-
for result in content.results:
58-
print(f"Title: {result.title}")
59-
print(f"Content: {result.content[:200]}...")
60-
```
61-
6244
## Chat Completions
6345

6446
The full API of this library can be found in [api.md](api.md).

0 commit comments

Comments
 (0)