SushantGautam commited on
Commit
69f8025
2 Parent(s): 8a082d4 2397c44

Merge branch 'main' of https://github.com/simula/soccer-rag

Browse files
Files changed (2) hide show
  1. src/extractor.py +1 -1
  2. src/sql_chain.py +1 -1
src/extractor.py CHANGED
@@ -28,7 +28,7 @@ os.environ["OPENAI_API_KEY"] = os.getenv('OPENAI_API_KEY')
28
  # os.environ["ANTHROPIC_API_KEY"] = os.getenv('ANTHROPIC_API_KEY')
29
 
30
  if os.getenv('LANGSMITH'):
31
- os.environ['LANGCHAIN_TRACING_V2'] = 'false'
32
  os.environ['LANGCHAIN_ENDPOINT'] = 'https://api.smith.langchain.com'
33
  os.environ[
34
  'LANGCHAIN_API_KEY'] = os.getenv("LANGSMITH_API_KEY")
 
28
  # os.environ["ANTHROPIC_API_KEY"] = os.getenv('ANTHROPIC_API_KEY')
29
 
30
  if os.getenv('LANGSMITH'):
31
+ os.environ['LANGCHAIN_TRACING_V2'] = 'true'
32
  os.environ['LANGCHAIN_ENDPOINT'] = 'https://api.smith.langchain.com'
33
  os.environ[
34
  'LANGCHAIN_API_KEY'] = os.getenv("LANGSMITH_API_KEY")
src/sql_chain.py CHANGED
@@ -25,7 +25,7 @@ logger = logging.getLogger(__name__)
25
  os.environ["OPENAI_API_KEY"] = os.getenv('OPENAI_API_KEY')
26
 
27
  if os.getenv('LANGSMITH'):
28
- os.environ['LANGCHAIN_TRACING_V2'] = 'false'
29
  os.environ['LANGCHAIN_ENDPOINT'] = 'https://api.smith.langchain.com'
30
  os.environ[
31
  'LANGCHAIN_API_KEY'] = os.getenv("LANGSMITH_API_KEY")
 
25
  os.environ["OPENAI_API_KEY"] = os.getenv('OPENAI_API_KEY')
26
 
27
  if os.getenv('LANGSMITH'):
28
+ os.environ['LANGCHAIN_TRACING_V2'] = 'true'
29
  os.environ['LANGCHAIN_ENDPOINT'] = 'https://api.smith.langchain.com'
30
  os.environ[
31
  'LANGCHAIN_API_KEY'] = os.getenv("LANGSMITH_API_KEY")