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/ecosystem
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
..
ai21.md Docs refactor (#480) 2 years ago
aim_tracking.ipynb Add Enum for agent types (#2321) 1 year ago
apify.md Harrison/apify (#2215) 1 year ago
atlas.md big docs refactor (#1978) 1 year ago
bananadev.md [DOCS] Assorted wording, punctuation, and consistency revisions (#1443) 2 years ago
cerebriumai.md Add GooseAI, CerebriumAI, Petals, ForefrontAI (#981) 2 years ago
chroma.md big docs refactor (#1978) 1 year ago
clearml_tracking.ipynb Add Enum for agent types (#2321) 1 year ago
cohere.md fix: numerous broken documentation links (#2070) 1 year ago
deepinfra.md Add DeepInfra LLM support (#1232) 2 years ago
deeplake.md big docs refactor (#1978) 1 year ago
forefrontai.md Add GooseAI, CerebriumAI, Petals, ForefrontAI (#981) 2 years ago
google_search.md big docs refactor (#1978) 1 year ago
google_serper.md Add Enum for agent types (#2321) 1 year ago
gooseai.md Add GooseAI, CerebriumAI, Petals, ForefrontAI (#981) 2 years ago
graphsignal.md [DOCS] Assorted wording, punctuation, and consistency revisions (#1443) 2 years ago
hazy_research.md Docs refactor (#480) 2 years ago
helicone.md [DOCS] Assorted wording, punctuation, and consistency revisions (#1443) 2 years ago
huggingface.md fix: numerous broken documentation links (#2070) 1 year ago
jina.md Harrison/jina (#2043) 1 year ago
llamacpp.md Llama.cpp doc update: fix ipynb path (#2364) 1 year ago
milvus.md big docs refactor (#1978) 1 year ago
modal.md Add Writer, Banana, Modal, StochasticAI (#1270) 2 years ago
nlpcloud.md Docs refactor (#480) 2 years ago
openai.md fix: numerous broken documentation links (#2070) 1 year ago
opensearch.md big docs refactor (#1978) 1 year ago
petals.md Update petals.md (#1225) 2 years ago
pgvector.md big docs refactor (#1978) 1 year ago
pinecone.md big docs refactor (#1978) 1 year ago
promptlayer.md fix: numerous broken documentation links (#2070) 1 year ago
qdrant.md big docs refactor (#1978) 1 year ago
replicate.md Add replicate take 2 (#2077) 1 year ago
runhouse.md fix: numerous broken documentation links (#2070) 1 year ago
searx.md searx: implement async + helper tool providing json results (#2129) 1 year ago
serpapi.md big docs refactor (#1978) 1 year ago
stochasticai.md Add Writer, Banana, Modal, StochasticAI (#1270) 2 years ago
unstructured.md feat: document loader for epublications (#2202) 1 year ago
wandb_tracking.ipynb Add Enum for agent types (#2321) 1 year ago
weaviate.md big docs refactor (#1978) 1 year ago
wolfram_alpha.md big docs refactor (#1978) 1 year ago
writer.md Add Writer, Banana, Modal, StochasticAI (#1270) 2 years ago