A Python package to access different LLMs, embeddings, vector stores etc.
Explore the docs »
View Demo
.
Report Bug
.
Request Feature
- About the Project
- Features
- Getting Started
- Usage
- Roadmap
- Contributing
- License
- Contact
- Acknowledgements
LLM Gateway Core is a Python package that simplifies access to different LLMs, embeddings, vector stores, etc. With the help of credentials (API key, username, password, etc.), you can access any LLM provider with a single package.
Milap comes with a multitude of features:
- Create Google Meetings: Automate the process of scheduling new Google meetings. Customize settings such as date, time, participants, and more.
- Update Existing Meetings: Modify details of scheduled meetings, such as changing the time, adding participants, or updating the agenda.
- Delete Meetings: Provides functionality to cancel meetings, which can be integrated into various applications to handle schedule changes dynamically.
- Fetch Meeting Information: Retrieve details about meetings, including participant lists, meeting times, and links, which can be used for reminders, attendance tracking, and more.
To install Milap, follow these steps:
With pip:
pip install llm-gateway-core
With Poetry:
peotry add llm-gateway-core
chat_obj = Chat(
model_name="groq/gemma2-9b-it",
sync=False,
api_key="<api-key>",
)
response = await chat_obj.generate(
[{"role": "user", "content": "How are you?"}]
)
import asyncio
async def main():
chat_obj = Chat(
model_name="groq/gemma2-9b-it",
sync=False,
api_key="<api-key>",
)
response = await chat_obj.generate(
[{"role": "user", "content": "How are you?"}]
)
async for chunk in response:
print(chunk.choices[0].delta.content, end="")
asyncio.run(main())
Read the Documentation here
See the open issues for a list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- If you have suggestions for adding or removing projects, feel free to open an issue to discuss it, or directly create a pull request after you edit the README.md file with necessary changes.
- Please make sure you check your spelling and grammar.
- Create individual PR for each suggestion.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/<feature>
) - Commit your Changes (
git commit -m 'Add some <feature>'
) - Push to the Branch (
git push origin feature/<feature>
) - Open a Pull Request
Distributed under the MIT License. See LICENSE for more information.
Subhomoy Roy Choudhury - Github - Linkedin - Twitter
Project Link: https://github.com/LLM-Gateway-ORG/llm-gateway-core