Skip to content

stephenc222/example-semantic-kernel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Semantic Kernel Example

This project is an example for the Semantic Kernel, which is a system that allows for the execution of various skills or plugins. The kernel is initialized in app.py and one plugin, JobSearchPlugin, is imported and used.

My blog post on the Semantic Kernel can be found here.

JobSearchPlugin

The JobSearchPlugin is defined in plugins/JobSearch.py. It uses the Google Jobs API to search for jobs based on a query. The search_jobs method is decorated with sk_function and sk_function_context_parameter decorators to provide metadata about the function.

Running the Project

To run the project, first make sure to have Python 3.9.6 at least installed, then install packages:

pip3 install -r requirements.txt

Then execute the main function in app.py with python3 app.py. This will initialize the kernel, import the plugins, and run a job search (using the SerpAPI internally).

About

Example project demonstrating the Semantic Kernel

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages