This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using Microsoft.SemanticKernel; | |
| using System.ComponentModel; | |
| namespace SynergyOS.WebApi.Infrastructure | |
| { | |
| public class ConversationContextManager | |
| { private readonly ConversationContext conversationContext; | |
| public ConversationContextManager( | |
| ConversationContext context) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Getting this error: | |
| Error 10 'System.Type' does not contain a definition for 'CustomAttributes' and no extension method 'CustomAttributes' accepting a first argument of type 'System.Type' could be found (are you missing a using directive or an assembly reference?) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| curl -XPUT localhost:9200/mps/ -d '{ | |
| "index": { | |
| "analysis": { | |
| "filter": { | |
| "my_synonym": { | |
| "synonyms_path": "analysers/synonyms_a_short.txt", | |
| "ignore_case": true, | |
| "type": "synonym" | |
| }, | |
| "my_snow": { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| curl -XPUT localhost:9200/mps/ -d '{ | |
| "index": { | |
| "analysis": { | |
| "filter": { | |
| "my_synonym": { | |
| "synonyms_path": "analysers/synonyms_a_short.txt", | |
| "ignore_case": true, | |
| "type": "synonym" | |
| }, | |
| "my_snow": { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "index": { | |
| "analysis": { | |
| "filter": { | |
| "my_synonym": { | |
| "synonyms_path": "analysers/synonyms_a_short.txt", | |
| "ignore_case": true, | |
| "type": "synonym" | |
| }, | |
| "my_snow": { |