22Nikk0 commited on
Commit
a8cb063
·
verified ·
1 Parent(s): 31276f2

Update agentic.py

Browse files
Files changed (1) hide show
  1. agentic.py +4 -2
agentic.py CHANGED
@@ -13,7 +13,7 @@ from langchain_aws import ChatBedrock
13
  from langchain_google_genai import ChatGoogleGenerativeAI
14
  # from langchain_google_vertexai import ChatVertexAI
15
 
16
- from langfuse.callback import CallbackHandler
17
 
18
  import base64
19
  import json
@@ -33,7 +33,7 @@ from dotenv import load_dotenv
33
  load_dotenv()
34
 
35
  # Initialize Langfuse CallbackHandler for LangGraph/Langchain (tracing)
36
- langfuse_handler = CallbackHandler()
37
 
38
  ######## STATE ########
39
  class State(TypedDict):
@@ -684,7 +684,9 @@ FINAL ANSWER: [YOUR FINAL ANSWER]
684
 
685
  ## Response Format
686
  - If asked for a number:
 
687
  - Provide the number without commas, dollar signs, percent signs, or any units (unless specified).
 
688
  - If asked for a string:
689
  - Write the string without articles (a, an, the).
690
  - Don't answer a full sentence when a short version is enough.
 
13
  from langchain_google_genai import ChatGoogleGenerativeAI
14
  # from langchain_google_vertexai import ChatVertexAI
15
 
16
+ # from langfuse.callback import CallbackHandler
17
 
18
  import base64
19
  import json
 
33
  load_dotenv()
34
 
35
  # Initialize Langfuse CallbackHandler for LangGraph/Langchain (tracing)
36
+ # langfuse_handler = CallbackHandler()
37
 
38
  ######## STATE ########
39
  class State(TypedDict):
 
684
 
685
  ## Response Format
686
  - If asked for a number:
687
+ For exemple 'How many' or a question asking for a number result
688
  - Provide the number without commas, dollar signs, percent signs, or any units (unless specified).
689
+ - Provide digits, not words
690
  - If asked for a string:
691
  - Write the string without articles (a, an, the).
692
  - Don't answer a full sentence when a short version is enough.