-
Notifications
You must be signed in to change notification settings - Fork 30
feat(ai-studio): add Azion Security Agent template #330
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Conversation
…mplate for deployment using LangGraph framework.This template provides:- React Agent implementation with TypeScript- SQL Database integration for RAG- Document chunking and vector search capabilities- LangSmith integration for request tracing- Comprehensive evaluation framework for RAG quality- Production-ready deployment configurationThe template enables developers to deploy AI agents.
templates/ai-studio/azion-security-agent/src/services/authService.ts
Dismissed
Show dismissed
Hide dismissed
| // OPTION 2: Create instance and setup database separately | ||
| // | ||
| // const vectorStore = new AzionVectorStore(embeddingModel, { | ||
| // dbName: VECTOR_STORE_DB_NAME, | ||
| // tableName: VECTOR_STORE_TABLE_NAME | ||
| // }); | ||
| // await vectorStore.setupDatabase({ | ||
| // mode: "hybrid", | ||
| // columns: ["*"] | ||
| // }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need this commented code?
| "@langchain/langgraph": "0.2.67", | ||
| "@langchain/mcp-adapters": "^0.6.0", | ||
| "@langchain/openai": "0.5.10", | ||
| "azion": "^1.11.1", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| "azion": "^1.11.1", | |
| "azion": "latest", |
Legacy lib versions should be restricted to the v3 branch.
| // AzionRetriever - a tool that retrieves information from the vector database (Edge SQL) | ||
| // const azionRetriever = new AzionRetriever(embeddingModel, | ||
| // {entityExtractor, | ||
| // dbName:VECTOR_STORE_DB_NAME, | ||
| // vectorTable:VECTOR_STORE_TABLE_NAME, | ||
| // ftsTable:VECTOR_STORE_TABLE_NAME+"_fts", | ||
| // ftsK:3, | ||
| // similarityK:3, | ||
| // searchType:"hybrid", | ||
| // promptEntityExtractor:'Extraia as entidades relevantes para a busca. Apenas responda com as entidades, sem explicações e pontuação.' | ||
| // }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need this commented code?
| transport: "http", | ||
| url: MCP_SERVER_URL, | ||
| } | ||
| // You can put more MCP servers here |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| // You can put more MCP servers here | |
| // You can put more MCP servers here |
| // const retrieverTool = createRetrieverTool(azionRetriever,{ | ||
| // name: "AzionRetriever", | ||
| // description: "Ferramenta para buscar informacoes no banco de dados da Azion" | ||
| // }); | ||
|
|
||
| // |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need this commented code?
Template for deployment using LangGraph framework.This template provides:- React Agent implementation with TypeScript- SQL Database integration for RAG- Document chunking and vector search capabilities- LangSmith integration for request tracing- Comprehensive evaluation framework for RAG quality- Production-ready deployment configurationThe template enables developers to deploy AI agents.