radicalxdev / kai-ai-backend

This is the Kai Teaching Assistant ai repo.
MIT License
12 stars 46 forks source link

Added metadata.json for Kaichat to select models #26

Closed akashvenus closed 3 weeks ago

akashvenus commented 1 month ago

To fix issue #22

mikhailocampo commented 1 month ago

@akashvenus Looks good for metadata json. I like your format and maybe we can apply the same to other projects

For now, can you update the function for Quizzify under app/features/Quizzify/tools.py for where we actually call the model? I think we manually create a VertexAI instance and pass the hardcoded gemini-1.0-pro-002 but now that you have this on metadata use that variable instead

akashvenus commented 1 month ago

Done the changes. Could you please review it when you get time ? Thank you

akashvenus commented 1 month ago

Sure !!!

mikhailocampo commented 3 weeks ago

Since Langchain released a new way to authenticate outside of just the VertexAI class, we can actually use the GoogleGenerativeAI class and specify the model there

We will also need to have the model name definition within the metadata.json of the respective tool rather than separate file i suppose