File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,9 @@ SOLI is an open, CC-BY licensed standard designed to represent universal element
18
18
- Access detailed information about each class, including labels, definitions, and examples
19
19
- Convert classes to OWL XML or Markdown format
20
20
21
+ ## Changelog
22
+ The changelog can be found at [ CHANGES.md] ( CHANGES.md ) .
23
+
21
24
## Installation
22
25
23
26
You can install the SOLI Python library using pip:
@@ -58,6 +61,26 @@ for area in areas_of_law:
58
61
print (area.label)
59
62
```
60
63
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
+
61
84
## Documentation
62
85
63
86
For more detailed information about using the SOLI Python library, please refer to our [ full documentation] ( https://soli-python.readthedocs.io/ ) .
You can’t perform that action at this time.
0 commit comments