Skip to content

Instantly share code, notes, and snippets.

LinkedIn Post Analysis Plugins via Semantic Kernel

Overview

The Semantic Kernel framework is a powerful tool that allows users to leverage large language models to transform, analyze, or generate content based on custom-defined prompts. It's particularly useful for domain-specific transformations, complex content analyses, or any other application where a generic predefined language model doesn't suffice.

Plugins

Plugins in the Semantic Kernel framework are essentially predefined templates or prompts that instruct the underlying language model to perform specific tasks. These can range from content translation to perception analysis, summarization, and more.

Setting up Semantic Kernel

@RuolinZheng08
RuolinZheng08 / backtracking_template.py
Last active March 28, 2024 18:48
[Algo] Backtracking Template & N-Queens Solution
def is_valid_state(state):
# check if it is a valid solution
return True
def get_candidates(state):
return []
def search(state, solutions):
if is_valid_state(state):
solutions.append(state.copy())
@vasanthk
vasanthk / System Design.md
Last active April 24, 2024 17:22
System Design Cheatsheet

System Design Cheatsheet

Picking the right architecture = Picking the right battles + Managing trade-offs

Basic Steps

  1. Clarify and agree on the scope of the system
  • User cases (description of sequences of events that, taken together, lead to a system doing something useful)
    • Who is going to use it?
    • How are they going to use it?
@speric
speric / gist:6096965
Created July 28, 2013 01:20
vimtutor Lesson Summaries
Lesson 1 SUMMARY
1. The cursor is moved using either the arrow keys or the hjkl keys.
h (left) j (down) k (up) l (right)
2. To start Vim from the shell prompt type: vim FILENAME <ENTER>
3. To exit Vim type: <ESC> :q! <ENTER> to trash all changes.
OR type: <ESC> :wq <ENTER> to save the changes.