Product
Introducing License Enforcement in Socket
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
weather-chatbot-phi3
Advanced tools
An LLM Chatbot integrated with Open Weather API for Real-Time Weather Information.
An LLM Chatbot integrated with Open Weather API for Real-Time Weather Information.
LangChain
for agent-based interactions.llama-cpp-python
.phi-3-mini-4k-instruct-gguf
model.You can install the package using pip:
pip install weather-chatbot-phi3
weather-chatbot-phi3
from weather_chatbot import app
app.main()
##Try it out on Google Colab
You can try out the Weather Chatbot on Google Colab by clicking here.
This project leverages the power of LangChain
for orchestrating the LLM interactions. Here's a breakdown of the key components:
WeatherLookup
: Fetches current weather data.ForecastLookup
: Retrieves weather forecast for the next two days.llama-cpp-python
The language model used is the phi-3-mini-4k-instruct-gguf
, which supports a context length of 128k tokens. This model is run on the CPU using llama-cpp-python
, ensuring that it can operate efficiently without the need for GPU resources.
This project is licensed under the CC BY-NC-SA 4.0 License.
FAQs
An LLM Chatbot integrated with Open Weather API for Real-Time Weather Information.
We found that weather-chatbot-phi3 demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.