Giter Club home page Giter Club logo

ice-breaker-langchain's Introduction

Ice Breaker

Project Description: Ice Breaker Overview The "Ice Breaker" project is designed to help users quickly generate engaging conversation starters based on a person's LinkedIn profile information. By leveraging the power of Azure OpenAI and a custom LinkedIn profile scraper, this tool provides a short summary and interesting facts about individuals, making it easier to initiate meaningful conversations.

Key Features LinkedIn Profile Scraping: The project includes a function to scrape publicly available data from LinkedIn profiles, either using mock data for testing or a real API for live data. Azure OpenAI Integration: Utilizes the Azure OpenAI API to process and generate natural language summaries and interesting facts based on the scraped LinkedIn data. Prompt Templates: Customizable prompt templates that format the input data to ensure relevant and accurate output from the language model. Environment Configuration: Securely manages API keys and other sensitive information using environment variables. Components LinkedIn Profile Scraper:

Function: scrape_linkedin_profile Description: Scrapes data from a LinkedIn profile URL. Uses mock data for testing purposes and can be configured to use a real API endpoint. Azure OpenAI Integration:

Library: langchain_openai.AzureChatOpenAI Description: Integrates with Azure OpenAI to generate content based on LinkedIn profile data. Prompt Template:

Class: langchain.prompts.PromptTemplate Description: Defines the format and structure of the prompts sent to the language model. Environment Management:

Library: dotenv Description: Loads environment variables from a .env file to securely manage API keys and other configuration settings.

Workflow Load Environment Variables: Ensures all necessary configurations and API keys are loaded securely. Scrape LinkedIn Profile: Fetches profile data using the provided LinkedIn URL. If in testing mode, uses mock data. Generate Content: Uses Azure OpenAI to create a short summary and two interesting facts about the person based on their LinkedIn profile. Output: The generated content is printed or returned, ready to be used for conversation starters.

ice-breaker-langchain's People

Contributors

rawataman101 avatar emarco177 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.