cdklabs / construct-hub

AWS CDK construct library that can be used to deploy instances of the Construct Hub in any AWS Account.

Home Page:https://constructs.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python version for generative-ai-cdk-constructs

santoshsg1308 opened this issue · 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

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.

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 For questions about the usage of the package, please file an issue on the construct specific Github.

Fixed in #1421 via https://github.com/aws/jsii-rosetta/releases/tag/v5.4.34

Need to make sure this is deployed and then check again.