Skip to content

Commit

Permalink
Update jupyter_ai_config.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ssp24 authored Jun 19, 2024
1 parent b4f5073 commit 7e203c2
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion jupyter_ai_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,10 @@
"openai": api_key
}

config.default_llm = "openai:gpt-3.5-turbo"
# Define default language model and embedding model after activation
def set_defaults():
config.default_llm = "openai:gpt-3.5-turbo"
config.default_embedding_model = "openai:embed-gpt-3.5-turbo"

# Call set_defaults() to set defaults after extension activation
set_defaults()

0 comments on commit 7e203c2

Please sign in to comment.