@@ -119,7 +119,7 @@ def enable(
119119 _tracer : Optional [ddtrace .Tracer ] = None ,
120120 ) -> None :
121121 """
122- Enable LLM Observability tracing.
122+ Enable LLMObs tracing.
123123
124124 :param str ml_app: The name of your ml application.
125125 :param bool integrations_enabled: Set to `true` to enable LLM integrations.
@@ -289,7 +289,7 @@ def llm(
289289 session_id : Optional [str ] = None ,
290290 ml_app : Optional [str ] = None ,
291291 ) -> Span :
292- print ("[✧ LLM Observability ] LLM ✨: {} running ..." .format (name ))
292+ print ("[✧ LLMObs ] LLM ✨: {} running ..." .format (name ), flush = True )
293293 """
294294 Trace an invocation call to an LLM where inputs and outputs are represented as text.
295295
@@ -327,7 +327,7 @@ def tool(cls, name: Optional[str] = None, session_id: Optional[str] = None, ml_a
327327
328328 :returns: The Span object representing the traced operation.
329329 """
330- print ("[✧ LLM Observability ] Tool 🔧: {} running ..." .format (name ))
330+ print ("[✧ LLMObs ] Tool 🔧: {} running ..." .format (name ), flush = True )
331331 if cls .enabled is False :
332332 log .warning (SPAN_START_WHILE_DISABLED_WARNING )
333333 return cls ._instance ._start_span ("tool" , name = name , session_id = session_id , ml_app = ml_app )
@@ -344,14 +344,14 @@ def task(cls, name: Optional[str] = None, session_id: Optional[str] = None, ml_a
344344
345345 :returns: The Span object representing the traced operation.
346346 """
347- print ("[✧ LLM Observability ] Task 📌: {} running..." .format (name ))
347+ print ("[✧ LLMObs ] Task 📌: {} running..." .format (name ), flush = True )
348348 if cls .enabled is False :
349349 log .warning (SPAN_START_WHILE_DISABLED_WARNING )
350350 return cls ._instance ._start_span ("task" , name = name , session_id = session_id , ml_app = ml_app )
351351
352352 @classmethod
353353 def agent (cls , name : Optional [str ] = None , session_id : Optional [str ] = None , ml_app : Optional [str ] = None ) -> Span :
354- print ("[✧ LLM Observability ] Agent 🤖: {} running ..." .format (name ))
354+ print ("[✧ LLMObs ] Agent 🤖: {} running ..." .format (name ), flush = True )
355355 """
356356 Trace a dynamic workflow in which an embedded language model (agent) decides what sequence of actions to take.
357357
@@ -370,7 +370,7 @@ def agent(cls, name: Optional[str] = None, session_id: Optional[str] = None, ml_
370370 def workflow (
371371 cls , name : Optional [str ] = None , session_id : Optional [str ] = None , ml_app : Optional [str ] = None
372372 ) -> Span :
373- print ("[✧ LLM Observability ] Workflow 🔗: {} running ..." .format (name ))
373+ print ("[✧ LLMObs ] Workflow 🔗: {} running ..." .format (name ), flush = True )
374374 """
375375 Trace a predefined or static sequence of operations.
376376
@@ -428,7 +428,7 @@ def embedding(
428428 def retrieval (
429429 cls , name : Optional [str ] = None , session_id : Optional [str ] = None , ml_app : Optional [str ] = None
430430 ) -> Span :
431- print ("[✧ LLM Observability ] Retrieval 🔎: {} running ..." .format (name ))
431+ print ("[✧ LLMObs ] Retrieval 🔎: {} running ..." .format (name ), flush = True )
432432 """
433433 Trace a vector search operation involving a list of documents being returned from an external knowledge base.
434434
0 commit comments