Skip to content

Natural language search experiment using Semantic Kernel.

Notifications You must be signed in to change notification settings

MickMelon/SemanticSearch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Semantic Search Research Project with ASP.NET Core

This Semantic Search Research Project represents an experimental endeavor to explore the possibilities of integrating natural language search capabilities within web applications. Leveraging Semantic Kernel with OpenAI large language models (LLMs), the project transforms common language queries into searchable parameters.

For example, a query like "I want a 3-bedroom house in Manchester for 250k" is translated into a structured search, providing a glimpse into a more intuitive and human-centric way to interact with applications: api/properties?rooms=3&town=Manchester&price=250000.

Purpose and Scope

  • Research and Exploration: This project is primarily aimed at researching the feasibility and effectiveness of using natural language in search queries.
  • Experimental Integration: Experimenting with AI services like OpenAI to understand how natural language can be utilised in real-world scenarios.
  • Not for Production: Please note that this project is experimental and not intended for production use. It serves as a proof-of-concept and a basis for further research and development.

Getting Started

  1. Generate an OpenAI API key.
  2. Add the key and your organisation ID to dotnet user secrets by running following commands within the SemanticSearch.WebApi directory:
dotnet user-secrets set "OpenAiOptions:ApiKey" "{your key}"
dotnet user-secrets set "OpenAiOptions:OrganizationId" "{your org id}"
  1. Build and run the project using standard ASP.NET Core commands or via something like Visual Studio:
dotnet build && dotnet run

Examples

image image image

Contributions

All contributions are welcome :)

About

Natural language search experiment using Semantic Kernel.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages