amd-gaia 0.14.1__py3-none-any.whl → 0.14.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
gaia/rag/demo.py CHANGED
@@ -85,7 +85,7 @@ def demo_basic_rag():
85
85
  print(
86
86
  "1. Activate environment: source .venv/bin/activate (Linux/macOS) or .\\.venv\\Scripts\\Activate.ps1 (Windows)"
87
87
  )
88
- print("2. Install RAG dependencies: pip install -e .[rag]")
88
+ print('2. Install RAG dependencies: uv pip install -e ".[rag]"')
89
89
  print("3. Either use the test PDF or get your own PDF file")
90
90
  print("4. Run: answer = quick_rag('document.pdf', 'What is this about?')")
91
91
 
@@ -123,10 +123,10 @@ def demo_basic_rag():
123
123
  print(" .\\.venv\\Scripts\\Activate.ps1")
124
124
  print(" ")
125
125
  print(" # Install RAG extras")
126
- print(" pip install -e .[rag]")
126
+ print(' uv pip install -e ".[rag]"')
127
127
  print(" ")
128
128
  print(" # Or install dependencies individually:")
129
- print(" pip install pypdf sentence-transformers faiss-cpu")
129
+ print(" uv pip install pypdf sentence-transformers faiss-cpu")
130
130
 
131
131
  print("\n" + "=" * 60)
132
132
 
@@ -215,7 +215,7 @@ def demo_error_handling():
215
215
 
216
216
  except ImportError as e:
217
217
  print(f"❌ Missing dependencies: {e}")
218
- print("Install with: pip install -e \".[rag]\"")
218
+ print('Install with: uv pip install -e ".[rag]"')
219
219
 
220
220
  print("-" * 40)
221
221
 
@@ -290,7 +290,7 @@ def main():
290
290
  print("1. Activate virtual environment:")
291
291
  print(" Linux/macOS: source .venv/bin/activate")
292
292
  print(" Windows: .\\.venv\\Scripts\\Activate.ps1")
293
- print("2. Install RAG dependencies: pip install -e .[rag]")
293
+ print('2. Install RAG dependencies: uv pip install -e ".[rag]"')
294
294
  print("3. Get a PDF document to test with")
295
295
  print("4. Try the CLI commands: gaia rag --help")
296
296
  print("5. Use RAG in Python: from gaia.rag.sdk import RAGSDK, quick_rag")
gaia/rag/pdf_utils.py CHANGED
@@ -129,7 +129,7 @@ def extract_images_from_page_pymupdf(pdf_path: str, page_num: int) -> List[dict]
129
129
  doc.close()
130
130
 
131
131
  except ImportError:
132
- logger.error("PyMuPDF not installed. Install: pip install pymupdf")
132
+ logger.error("PyMuPDF not installed. Install: uv pip install pymupdf")
133
133
  except Exception as e:
134
134
  logger.error(f"Error extracting images from page {page_num}: {e}")
135
135
 
gaia/rag/sdk.py CHANGED
@@ -175,9 +175,9 @@ class RAGSDK:
175
175
  error_msg = (
176
176
  f"\n❌ Error: Missing required RAG dependencies: {', '.join(missing)}\n\n"
177
177
  f"Please install the RAG dependencies:\n"
178
- f" pip install -e .[rag]\n\n"
178
+ f' uv pip install -e ".[rag]"\n\n'
179
179
  f"Or install packages directly:\n"
180
- f" pip install {' '.join(missing)}\n"
180
+ f" uv pip install {' '.join(missing)}\n"
181
181
  )
182
182
  raise ImportError(error_msg)
183
183
 
gaia/talk/sdk.py CHANGED
@@ -360,7 +360,7 @@ class TalkSDK:
360
360
  return True
361
361
  except ImportError:
362
362
  self.log.warning(
363
- 'RAG dependencies not available. Install with: pip install -e ".[rag]"'
363
+ 'RAG dependencies not available. Install with: uv pip install -e ".[rag]"'
364
364
  )
365
365
  return False
366
366
  except Exception as e:
gaia/version.py CHANGED
@@ -6,7 +6,7 @@ import os
6
6
  import subprocess
7
7
  from importlib.metadata import version as get_package_version_metadata
8
8
 
9
- __version__ = "0.14.1"
9
+ __version__ = "0.14.2"
10
10
 
11
11
  # Lemonade version used across CI and installer
12
12
  LEMONADE_VERSION = "9.1.0"