This PR was made for solving Issue #38. It includes:
All VertexAI and VertexAIEmbeddings are replaced with langchain_google_genai classes like GoogleGenerativeAI and GoogleGenerativeAIEmbeddings respectively.
Quizzify:Dynamo:Kai Chat:
Instances of SA and PROJECT ID declarations were removed and replaced by the GOOGLE_API_KEY env variable.
Implemented the .env.sample file for guiding new users about how to set their local .env file as a method for storing and retrieving the API key securely.
For optimizing both Dynamo and Quizzify performance, I've implemented PR #39 for Dynamo and PR #40 for Quizzify. Both are working appropriately.
For accessing to the .env file, I've implemented python-dotenv so you can access to your .env variable values using: os.getenv("ENV_VARIABLE_NAME")
This PR was made for solving Issue #38. It includes:
All VertexAI and VertexAIEmbeddings are replaced with
Dynamo:
Kai Chat:
![image](https://github.com/radicalxdev/kai-ai-backend/assets/113047749/324f1af1-9298-4f95-b9fd-99ad3847eea6)
langchain_google_genai
classes like GoogleGenerativeAI and GoogleGenerativeAIEmbeddings respectively. Quizzify:Instances of SA and PROJECT ID declarations were removed and replaced by the GOOGLE_API_KEY env variable.
Implemented the .env.sample file for guiding new users about how to set their local .env file as a method for storing and retrieving the API key securely.![image](https://github.com/radicalxdev/kai-ai-backend/assets/113047749/47036496-c2ab-4cc0-9f9e-87cea80c573c)
For optimizing both Dynamo and Quizzify performance, I've implemented PR #39 for Dynamo and PR #40 for Quizzify. Both are working appropriately.
For accessing to the .env file, I've implemented
python-dotenv
so you can access to your .env variable values using: os.getenv("ENV_VARIABLE_NAME")