Observed since 21 Oct, 10:39 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
ai-enterprise-agent
AI Agent simplifies the implementation and use of generative AI with LangChain.
AI Agent simplifies the implementation and use of generative AI with LangChain, was inspired by the project autogen
Use the package manager pip to install AI Agent.
pip install ai_enterprise_agent
import asyncio
from ai_enterprise_agent.agent import Agent
from ai_enterprise_agent.interface.settings import (CHAIN_TYPE, DATABASE_TYPE, DIALECT_TYPE,
LLM_TYPE, PROCESSING_TYPE, VECTOR_STORE_TYPE)
agent = Agent({
'processing_type': PROCESSING_TYPE.single,
'chains': [CHAIN_TYPE.simple_chain],
'model': {
"type": LLM_TYPE.azure,
"api_key": <api_key>,
"model": <model>,
"endpoint": <endpoint>,
"api_version": <api_version>,
"temperature": 0.0
},
"system": {
"system_message": ""
},
})
response = asyncio.run(
agent._call(
input={
"question": "Who's Leonardo Da Vinci?.",
"chat_thread_id": "<chat_thread_id>"
}
)
)
print(response)
When using LLM with Orchestrator Mode the Agent finds the best way to answer the question in your base knowledge.
agent = Agent({
'processing_type': PROCESSING_TYPE.orchestrator,
'chains': [CHAIN_TYPE.simple_chain, CHAIN_TYPE.sql_chain],
'model': {
"type": LLM_TYPE.azure,
"api_key": <api_key>,
"model": <model>,
"endpoint": <endpoint>,
"api_version": <api_version>,
"temperature": 0.0
},
"database": {
"type": DIALECT_TYPE.postgres,
"host": <host>,
"port": <port>,
"username": <username>,
"password": <password>,
"database": <database>,
"includes_tables": ['table-1', 'table-2'],
},
"system": {
"system_message": ""
},
})
response = asyncio.run(
agent._call(
input={
"question": "How many employees there?",
"chat_thread_id": "<chat_thread_id>"
}
)
)
print(response)
If you've ever wanted to contribute to open source, and a great cause, now is your chance!
See the contributing docs for more information
|
JP. Nobrega 💬 📖 👀 📢 |
Túlio César Gaio 💬 📖 👀 📢 |
Download counts and popularity will appear here as the collector receives them.
| Package / target | Requirement | Relationship |
|---|---|---|
aiohttpEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | aiohttp==3.9.3 | runtime |
aiosignalEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | aiosignal==1.3.1 | runtime |
annotated-typesEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | annotated-types==0.6.0 | runtime |
anyioEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | anyio==4.3.0 | runtime |
attrsEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | attrs==23.2.0 | runtime |
azure-ai-documentintelligenceEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | azure-ai-documentintelligence==1.0.0b3 | runtime |
azure-commonEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | azure-common==1.1.28 | runtime |
azure-coreEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | azure-core==1.30.1 | runtime |
azure-identityEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | azure-identity==1.15.0 | runtime |
azure-searchEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | azure-search==1.0.0b2 | runtime |
azure-search-documentsEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | azure-search-documents==11.4.0 | runtime |
boto3Environment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | boto3==1.34.70 | runtime |
botocoreEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | botocore==1.34.70 | runtime |
cachetoolsEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | cachetools==5.3.3 | runtime |
certifiEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | certifi==2024.2.2 | runtime |
cffiEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | cffi==1.16.0 | runtime |
charset-normalizerEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | charset-normalizer==3.3.2 | runtime |
coloramaEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | colorama==0.4.6 | runtime |
cryptographyEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | cryptography==42.0.5 | runtime |
dataclasses-jsonEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | dataclasses-json==0.6.4 | runtime |
distroEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | distro==1.9.0 | runtime |
frozenlistEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | frozenlist==1.4.1 | runtime |
google-ai-generativelanguageEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | google-ai-generativelanguage==0.4.0 | runtime |
google-api-coreEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | google-api-core==2.17.1 | runtime |
google-authEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | google-auth==2.28.2 | runtime |
google-generativeaiEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | google-generativeai==0.4.1 | runtime |
googleapis-common-protosEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | googleapis-common-protos==1.63.0 | runtime |
greenletEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | greenlet==3.0.3 | runtime |
grpcioEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | grpcio==1.62.1 | runtime |
grpcio-statusEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | grpcio-status==1.62.1 | runtime |
h11Environment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | h11==0.14.0 | runtime |
httpcoreEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | httpcore==1.0.4 | runtime |
httpxEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | httpx==0.27.0 | runtime |
idnaEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | idna==3.6 | runtime |
isodateEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | isodate==0.6.1 | runtime |
jmespathEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | jmespath==1.0.1 | runtime |
jsonpatchEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | jsonpatch==1.33 | runtime |
jsonpointerEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | jsonpointer==2.4 | runtime |
langchainEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | langchain==0.1.14 | runtime |
langchain-communityEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | langchain-community==0.0.31 | runtime |
langchain-coreEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | langchain-core==0.1.37 | runtime |
langchain-google-genaiEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | langchain-google-genai==0.0.11 | runtime |
langchain-openaiEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | langchain-openai==0.1.1 | runtime |
langchain-pineconeEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | langchain-pinecone==0.0.3 | runtime |
langchain-text-splittersEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | langchain-text-splitters==0.0.1 | runtime |
langsmithEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | langsmith==0.1.27 | runtime |
marshmallowEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | marshmallow==3.21.1 | runtime |
msalEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | msal==1.28.0 | runtime |
msal-extensionsEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | msal-extensions==1.1.0 | runtime |
msrestEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | msrest==0.7.1 | runtime |
multidictEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | multidict==6.0.5 | runtime |
mypy-extensionsEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | mypy-extensions==1.0.0 | runtime |
nanoidEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | nanoid==2.0.0 | runtime |
numpyEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | numpy==1.26.4 | runtime |
oauthlibEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | oauthlib==3.2.2 | runtime |
openaiEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | openai==1.14.3 | runtime |
opensearch-pyEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | opensearch-py==2.5.0 | runtime |
orjsonEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | orjson==3.9.15 | runtime |
packagingEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | packaging==23.2 | runtime |
pinecone-clientEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | pinecone-client==3.2.2 | runtime |
portalockerEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | portalocker==2.8.2 | runtime |
proto-plusEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | proto-plus==1.23.0 | runtime |
protobufEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | protobuf==4.25.3 | runtime |
psycopg2Environment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | psycopg2==2.9.9 | runtime |
psycopg2-binaryEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | psycopg2-binary==2.9.9 | runtime |
pyasn1Environment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | pyasn1==0.5.1 | runtime |
pyasn1-modulesEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | pyasn1-modules==0.3.0 | runtime |
pycparserEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | pycparser==2.21 | runtime |
pydanticEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | pydantic==2.6.4 | runtime |
pydantic-coreEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | pydantic-core==2.16.3 | runtime |
PyJWTEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | PyJWT==2.8.0 | runtime |
pypdfEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | pypdf==4.2.0 | runtime |
python-dateutilEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | python-dateutil==2.9.0.post0 | runtime |
PyYAMLEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | PyYAML==6.0.1 | runtime |
redisEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | redis==5.0.3 | runtime |
regexEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | regex==2023.12.25 | runtime |
requestsEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | requests==2.31.0 | runtime |
requests-oauthlibEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | requests-oauthlib==2.0.0 | runtime |
rsaEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | rsa==4.9 | runtime |
s3transferEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | s3transfer==0.10.1 | runtime |
setuptoolsEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | setuptools==69.2.0 | runtime |
sixEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | six==1.16.0 | runtime |
sniffioEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | sniffio==1.3.1 | runtime |
SQLAlchemyEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | SQLAlchemy==2.0.29 | runtime |
tenacityEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | tenacity==8.2.3 | runtime |
tiktokenEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | tiktoken==0.5.2 | runtime |
tqdmEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | tqdm==4.66.2 | runtime |
typing-inspectEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | typing-inspect==0.9.0 | runtime |
typing-extensionsEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | typing-extensions==4.10.0 | runtime |
urllib3Environment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | urllib3==1.26.18 | runtime |
yarlEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.9",
"evaluation": "NOT_EVALUATED"
} | yarl==1.9.4 | runtime |
bdist_wheel · 35.51 KB · Python py3
sdist · 23.2 KB · Python source
Observed since 21 Oct, 10:39 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:57768a58893bbc0b449eec39f418f781058ae4c066d72e3d8a100157edbd8f97