-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactored response parsing to make it a lot easier to understand and…
… add filters
- Loading branch information
1 parent
61b3618
commit eb443a4
Showing
6 changed files
with
1,045 additions
and
960 deletions.
There are no files selected for viewing
1,711 changes: 890 additions & 821 deletions
1,711
docs/developer tutorials/train and evaluate models.ipynb
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/bin/bash | ||
killall ollama | ||
killall streamlit | ||
# Define a file to store the PIDs | ||
PID_FILE="processes.pid" | ||
|
||
# Start processes and save their PIDs | ||
cd ollama | ||
./get_ollama.sh & | ||
echo $! > $PID_FILE | ||
|
||
cd ../llm_service | ||
uvicorn llm_service:app --host 0.0.0.0 --port 8081 & | ||
echo $! > $PID_FILE | ||
|
||
cd .. | ||
# Keep the script running to maintain the background processes | ||
wait |