Skip to content

Commit

Permalink
undo prints
Browse files Browse the repository at this point in the history
  • Loading branch information
dhananjay-mk committed Jun 14, 2024
1 parent 8925a6b commit 83fa435
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions notebooks/ch03/functions/context_engineering.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,13 +230,11 @@ def get_context_data(user_query: str, feature_view, weather_fg, model_air_qualit

# Extract function calls from the completion
functions = extract_function_calls(completion)
print(f"found functions:{functions}")

# If function calls were found
if functions:
# Invoke the function with provided arguments
data = invoke_function(functions[0], feature_view, weather_fg, model_air_quality)
print(f"data from invoke_func: {data}")

# Return formatted data as string
if isinstance(data, pd.DataFrame):
Expand Down

0 comments on commit 83fa435

Please sign in to comment.