forked from llmware-ai/llmware
-
Notifications
You must be signed in to change notification settings - Fork 0
/
welcome_to_llmware_windows.sh
66 lines (58 loc) · 2.66 KB
/
welcome_to_llmware_windows.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
#! /bin/bash
# Welcome to LLMWare script - handles some basic setup for first-time cloning of the repo
# Windows version
# Install core dependencies
pip3 install -r ./llmware/requirements.txt
# Note: this step is optional but adds many commonly-used optional dependencies (including in several examples)
pip3 install -r ./llmware/requirements_extras.txt
# Move selected examples into root path for easy execution from command line
scp ./examples/Getting_Started/welcome_example.py .
scp ./fast_start/rag/*.py .
scp ./examples/UI/gguf_streaming_chatbot.py .
scp ./examples/SLIM-Agents/agent-llmfx-getting-started.py .
scp ./examples/SLIM-Agents/using_slim_extract_model.py .
scp ./examples/SLIM-Agents/using_slim_summary.py .
scp ./examples/Models/bling_fast_start.py .
scp ./examples/Models/dragon_gguf_fast_start.py .
scp ./examples/Prompts/document_summarizer.py .
scp ./examples/Use_Cases/web_services_slim_fx.py .
scp ./examples/Use_Cases/invoice_processing.py .
scp ./examples/Models/using-whisper-cpp-sample-files.py .
scp ./examples/Parsing/parsing_microsoft_ir_docs.py .
scp ./examples/Models/chat_models_gguf_fast_start.py .
scp ./examples/Models/gguf_streaming.py .
echo "Welcome Steps Completed"
echo "1. Installed Core Dependencies"
echo "2. Installed Several Optional Dependencies Useful for Running Examples"
echo "3. Moved selected Getting Started examples into /root path"
echo " -- welcome_example.py"
echo " -- example-1-create_first_library.py"
echo " -- example-2-build_embeddings.py"
echo " -- example-3-prompts_and_models.py"
echo " -- example-4-rag-text-query.py"
echo " -- example-5-rag-semantic-query.py"
echo " -- example-6-rag-multi-step-query.py"
echo " -- gguf_streaming.py"
echo " -- bling_fast_start.py"
echo " -- using_slim_extract_model.py"
echo " -- using_slim_summary.py"
echo " -- dragon_gguf_fast_start.py"
echo " -- invoice_processing.py"
echo " -- gguf_streaming_chatbot.py"
echo " -- agent-llmfx-getting-started.py"
echo " -- whisper-cpp-sample-files.py"
echo " -- web_services_slim_fx.py"
echo " -- parsing_microsoft_ir_docs.py"
echo " -- document_summarizer.py"
echo " -- chat_models_gguf_fast_start.py ."
echo ""
echo "To run an example from command-line: py welcome_example.py"
echo "To run gguf_streaming_chatbot.py: streamlit run gguf_streaming_chatbot.py"
echo "Note: check the /examples folder for 100+ additional examples"
echo "Note: on first time use, models will be downloaded and cached locally"
echo "Note: open up the examples and edit for more configuration options"
echo ""
echo "Running welcome_example.py"
py welcome_example.py
# keeps bash console open (may be in separate window)
bash