construct-hub icon indicating copy to clipboard operation
construct-hub copied to clipboard

Python version for generative-ai-cdk-constructs

Open santoshsg1308 opened this issue 11 months ago • 4 comments

Can you please let us know when can we expect the docs for python equivalent of https://constructs.dev/packages/@cdklabs/generative-ai-cdk-constructs/v/0.1.87?submodule=opensearch_vectorindex&lang=python

Basically we want to create an opensearchserverless collection with custom vector field and index name and further create a knowledgebase as well .

As a priority we would like to know if there is a to create index and a vector field on an existing opensearch serverless collection as we would eventually want to define multiple knowledgebases pointing to a specific index and vector field in the same opensearch serverless collection

santoshsg1308 avatar Mar 13 '24 14:03 santoshsg1308

Hey @santoshsg1308, it appears as though the Python documentation for this construct stopped working between versions 0.1.39 and 0.1.40. I'll take a deeper look into this and see what I can find.

truggeriaws avatar Mar 13 '24 17:03 truggeriaws

I have managed to create opensearch serverless collection with vector index and attaching it to a knowledgebase using the generative-ai-cdk-constructs library in python now. Can you please direct me how do I attach them to a VPC as we would like to have them inside a VPC ? Also is there a way to overiride the vector collection creation to have more control over the collection name and the policies it creates

santoshsg1308 avatar Mar 14 '24 15:03 santoshsg1308

@santoshsg1308 For questions about the usage of the package, please file an issue on the construct specific Github.

truggeriaws avatar Mar 14 '24 20:03 truggeriaws