Skip to content

Commit 5256e24

Browse files
committed
updated readme
1 parent 98d91ee commit 5256e24

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ SOLI is an open, CC-BY licensed standard designed to represent universal element
1818
- Access detailed information about each class, including labels, definitions, and examples
1919
- Convert classes to OWL XML or Markdown format
2020

21+
## Changelog
22+
The changelog can be found at [CHANGES.md](CHANGES.md).
23+
2124
## Installation
2225

2326
You can install the SOLI Python library using pip:
@@ -58,6 +61,26 @@ for area in areas_of_law:
5861
print(area.label)
5962
```
6063

64+
## Searching with an LLM
65+
66+
```python
67+
# Search with an LLM
68+
async def search_example():
69+
for result in await soli.parallel_search_by_llm(
70+
"redline lease agreement",
71+
search_sets=[
72+
soli.get_areas_of_law(max_depth=1),
73+
soli.get_player_actors(max_depth=2),
74+
],
75+
):
76+
print(result)
77+
78+
import asyncio
79+
asyncio.run(search_example())
80+
```
81+
82+
LLM search uses the `alea_llm_client` to provide abstraction across multiple APIs and providers.
83+
6184
## Documentation
6285

6386
For more detailed information about using the SOLI Python library, please refer to our [full documentation](https://soli-python.readthedocs.io/).

0 commit comments

Comments
 (0)