You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
langchain/docs/tracing
Shrined 10dab053b4
Add Enum for agent types (#2321)
This pull request adds an enum class for the various types of agents
used in the project, located in the `agent_types.py` file. Currently,
the project is using hardcoded strings for the initialization of these
agents, which can lead to errors and make the code harder to maintain.
With the introduction of the new enums, the code will be more readable
and less error-prone.

The new enum members include:

- ZERO_SHOT_REACT_DESCRIPTION
- REACT_DOCSTORE
- SELF_ASK_WITH_SEARCH
- CONVERSATIONAL_REACT_DESCRIPTION
- CHAT_ZERO_SHOT_REACT_DESCRIPTION
- CHAT_CONVERSATIONAL_REACT_DESCRIPTION

In this PR, I have also replaced the hardcoded strings with the
appropriate enum members throughout the codebase, ensuring a smooth
transition to the new approach.
1 year ago
..
agent_with_tracing.ipynb Add Enum for agent types (#2321) 1 year ago
default_empty.png Harrison/tracing docs (#804) 2 years ago
explore.png Harrison/tracing docs (#804) 2 years ago
explore_llm.png Harrison/tracing docs (#804) 2 years ago
explore_trace.png Harrison/tracing docs (#804) 2 years ago
first_trace.png Harrison/tracing docs (#804) 2 years ago
homepage.png Harrison/tracing docs (#804) 2 years ago
hosted_installation.md Harrison/tracing docs (#806) 2 years ago
local_installation.md tracing improvements to docs (#1947) 1 year ago