cdklabs / construct-hub

AWS CDK construct library that can be used to deploy instances of the Construct Hub in any AWS Account.
Apache License 2.0
199 stars 26 forks source link

Python version for generative-ai-cdk-constructs #1394

Open santoshsg1308 opened 3 months ago

santoshsg1308 commented 3 months ago

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

truggeriaws commented 3 months ago

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.

santoshsg1308 commented 3 months ago

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

truggeriaws commented 3 months ago

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