motleycrew.common.enums
Various enums used in the project.
Classes
Backends for parallel crew execution. |
|
- class motleycrew.common.enums.LLMProvider
Bases:
object- OPENAI = 'openai'
- ANTHROPIC = 'anthropic'
- REPLICATE = 'replicate'
- TOGETHER = 'together'
- GROQ = 'groq'
- OLLAMA = 'ollama'
- ALL = {'anthropic', 'groq', 'ollama', 'openai', 'replicate', 'together'}
- class motleycrew.common.enums.LLMFramework
Bases:
object- LANGCHAIN = 'langchain'
- LLAMA_INDEX = 'llama_index'
- ALL = {'langchain', 'llama_index'}
- class motleycrew.common.enums.TaskUnitStatus
Bases:
object- PENDING = 'pending'
- RUNNING = 'running'
- DONE = 'done'
- ALL = {'done', 'pending', 'running'}
- class motleycrew.common.enums.LunaryRunType
Bases:
object- LLM = 'llm'
- AGENT = 'agent'
- TOOL = 'tool'
- CHAIN = 'chain'
- EMBED = 'embed'
- ALL = {'agent', 'chain', 'embed', 'llm', 'tool'}
- class motleycrew.common.enums.LunaryEventName
Bases:
object- START = 'start'
- END = 'end'
- UPDATE = 'update'
- ERROR = 'error'
- ALL = {'end', 'error', 'start', 'update'}
- class motleycrew.common.enums.AsyncBackend
Bases:
objectBackends for parallel crew execution.
- ASYNCIO
Asynchronous execution using asyncio.
- THREADING
Parallel execution using threads.
- NONE
Synchronous execution.
- ASYNCIO = 'asyncio'
- THREADING = 'threading'
- NONE = 'none'
- ALL = {'asyncio', 'none', 'threading'}