Skip to content

Commit 621015c

Browse files
authored
Merge pull request llmware-ai#691 from llmware-ai/readme-updates-and-cleanup
various readme updates and wheel archive cleanup
2 parents d07da0f + 20242cd commit 621015c

22 files changed

+114
-29
lines changed

‎Quest/README.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
2+
3+
Quest: Are you ready for the adventure? Coming soon ...
4+
===============
5+

‎examples/Getting_Started/README.md‎

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
🚀 Getting Set up - Key Items 🚀
2+
===============
3+
4+
**How to get started with LLMWare?**
5+
6+
In this repository, we have small code snippets with a lot of annotation that describe key setup items to get started quickly and successfully with LLMWare:
7+
8+
1. [**Configuring a DB**](https://www.github.com/llmware-ai/llmware/tree/main/examples/Getting_Started/configure_db.py) - for a fast start, you don't have to do anything except set the .active_db parameter to "sqlite" and all libraries will be written on a local embedded sqlite instance with no installation required.
9+
10+
11+
from llmware.configs import LLMWareConfig
12+
LLMWareConfig().set_active_db("sqlite")
13+
14+
15+
After writing content into your first library, you will find the sqlite db at the path defined here:
16+
17+
from llmware.configs import SQLiteConfig
18+
SQLiteConfig().get_config("sqlite_db_folder_path")
19+
20+
21+
2. [**Loading Sample Files**](https://www.github.com/llmware-ai/llmware/tree/main/examples/Getting_Started/loading_sample_files.py) - for an overview of the sample files available and how to pull down (integrated into many examples too.)
22+
23+
24+
from llmware.setup import Setup
25+
Setup().load_sample_files()
26+
27+
28+
3. [**Using the Model Catalog**](https://www.github.com/llmware-ai/llmware/tree/main/examples/Getting_Started/using_the_model_catalog.py) - this is the primary model discovery and loading class for LLMWare.
29+
30+
31+
from llmware.models import ModelCatalog
32+
all_models = ModelCatalog().list_all_models()
33+
for model in all_models: print("model: ", model)
34+
35+
36+
4. [**Working with Libraries**](https://www.github.com/llmware-ai/llmware/tree/main/examples/Getting_Started/working_with_libraries.py) - Libraries are the main organizing construct for text collections in LLMWare.
37+
38+
39+
As you are getting started, we would also recommend that you check out the [**Fast Start**](https://www.github.com/llmware-ai/llmware/tree/main/fast_start) examples and videos as well!
40+
41+
42+
43+
### **Let's get started! 🚀**
44+
45+

‎examples/Use_Cases/README.md‎

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
🚀 Use Cases Examples 🚀
2+
===============
3+
4+
**End-to-End Scenarios**
5+
6+
In this repository, we feature several 'end-to-end' examples that show how to use LLMWare in a complex recipe combining different elements to accomplish a specific objective. While each example is still high-level, it is shared in the spirit of providing a high-level framework 'starting point' that can be developed in more detail for a variety of common use cases. All of these examples use small, specialized models, running locally - 'Small, but Mighty' !
7+
8+
9+
1. [**Research Automation with Agents and Web Services**](https://www.github.com/llmware-ai/llmware/tree/main/examples/Use_Cases/web_services_slim_fx.py)
10+
11+
- Prepare a 30-key research analysis on a company
12+
- Extract key lookup and other information from an earnings press release
13+
- Automatically use the lookup data for real-time stock information from YFinance
14+
- Automatically use the lookup date for background company history information in Wikipedia
15+
- Run LLM prompts to ask key questions of the Wikipedia sources
16+
- Aggregate into a consolidated research analysis
17+
- All with local open source models
18+
19+
20+
2. [**Invoice Processing**](https://www.github.com/llmware-ai/llmware/tree/main/examples/Use_Cases/invoice_processing.py)
21+
22+
- Parse a batch of invoices (provided as sample files)
23+
- Extract key information from the invoices
24+
- Save the prompt state for follow-up review and analysis
25+
26+
27+
3. [**Analyzing and Extracting Voice Transcripts**](https://www.github.com/llmware-ai/llmware/tree/main/examples/Use_Cases/parsing_great_speeches.py)
28+
29+
- Voice transcription of 50+ wav files of great speeches of the 20th century
30+
- Run text queries against the transcribed wav files
31+
- Execute LLM agent inferences to extract and identify key elements of interest
32+
- Prepare 'bibliography' with the key extracted points, including time-stamp
33+
34+
35+
4. [**MSA Processing**](https://www.github.com/llmware-ai/llmware/tree/main/examples/Use_Cases/msa_processing.py)
36+
37+
- Identify the termination provisions in Master Service Agreements among a larger batch of contracts
38+
- Parse and query a large batch of contracts and identify the agreements with "Master Service Agreement" on the first page
39+
- Find the termination provisions in each MSA
40+
- Prompt LLM to read the termination provisions and answer a key question
41+
- Run a fact-check and source-check on the LLM response
42+
- Save all of the responses in CSV and JSON for follow-up review.
43+
44+
45+
5. [**Querying a CSV**](https://www.github.com/llmware-ai/llmware/tree/main/examples/Use_Cases/agent_with_custom_tables.py)
46+
47+
- Start running natural language queries on CSVs with Postgres and slim-sql-tool.
48+
- Load a sample 'customer_table.csv' into Postgres
49+
- Start running natural language queries that get converted into SQL and query the DB
50+
51+
52+
6. [**Contract Analysis**](https://www.github.com/llmware-ai/llmware/tree/main/examples/Use_Cases/contract_analysis_on_laptop_with_bling_models.py)
53+
54+
- Extract key information from set of employment agreement
55+
- Use a simple retrieval strategy with keyword search to identify key provisions and topic areas
56+
- Prompt LLM to read the key provisions and answer questions based on those source materials
57+
58+
59+
Check back often - we are updating these examples regularly - and many of these examples have companion videos as well.
60+
61+
62+
### **Let's get started! 🚀**
63+
64+

‎wheel_archives/ubuntu20/.DS_Store‎

6 KB
Binary file not shown.

‎wheel_archives/ubuntu20/README.md‎

Lines changed: 0 additions & 29 deletions
This file was deleted.
6 KB
Binary file not shown.
6 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)