feat(ai-studio): add Azion Security Agent template#330
Open
VitorAEltz wants to merge 1 commit intodevfrom
Open
feat(ai-studio): add Azion Security Agent template#330VitorAEltz wants to merge 1 commit intodevfrom
VitorAEltz wants to merge 1 commit intodevfrom
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
pablodiehl
reviewed
Dec 2, 2025
Comment on lines
+37
to
+46
| // 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: ["*"] | ||
| // }); |
Contributor
There was a problem hiding this comment.
Do we need this commented code?
pablodiehl
reviewed
Dec 2, 2025
| "@langchain/langgraph": "0.2.67", | ||
| "@langchain/mcp-adapters": "^0.6.0", | ||
| "@langchain/openai": "0.5.10", | ||
| "azion": "^1.11.1", |
Contributor
There was a problem hiding this comment.
Suggested change
| "azion": "^1.11.1", | |
| "azion": "latest", |
Legacy lib versions should be restricted to the v3 branch.
pablodiehl
reviewed
Dec 2, 2025
Comment on lines
+24
to
+34
| // 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.' | ||
| // }); |
Contributor
There was a problem hiding this comment.
Do we need this commented code?
pablodiehl
reviewed
Dec 2, 2025
| transport: "http", | ||
| url: MCP_SERVER_URL, | ||
| } | ||
| // You can put more MCP servers here |
Contributor
There was a problem hiding this comment.
Suggested change
| // You can put more MCP servers here | |
| // You can put more MCP servers here |
pablodiehl
reviewed
Dec 2, 2025
Comment on lines
+61
to
+66
| // const retrieverTool = createRetrieverTool(azionRetriever,{ | ||
| // name: "AzionRetriever", | ||
| // description: "Ferramenta para buscar informacoes no banco de dados da Azion" | ||
| // }); | ||
|
|
||
| // |
Contributor
There was a problem hiding this comment.
Do we need this commented code?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.