Skip to content

Commit

Permalink
Update postBuild
Browse files Browse the repository at this point in the history
  • Loading branch information
ssp24 authored Jun 19, 2024
1 parent 2bc8411 commit da16486
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions postBuild
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
# postBuild

# Enable the jupyter-ai extension
jupyter serverextension enable --py jupyter_ai
jupyter nbextension install --py jupyter_ai --sys-prefix
jupyter nbextension enable --py jupyter_ai --sys-prefix
# Create jupyter_ai_config.yml with default settings
echo "openai:" >> jupyter_ai_config.yml
echo " default_llm: openai:gpt-3.5-turbo" >> jupyter_ai_config.yml
echo " default_embedding_model: openai:embed-gpt-3.5-turbo" >> jupyter_ai_config.yml

# Load jupyter_ai_config.py
echo "Executing jupyter_ai_config.py"
python jupyter_ai_config.py
# Debugging statement
echo "jupyter_ai_config.yml created with default settings"

# Debugging statements
echo "postBuild script executed"
Expand Down

0 comments on commit da16486

Please sign in to comment.