Giter Site home page Giter Site logo

textkernel / tx-dotnet Goto Github PK

View Code? Open in Web Editor NEW
12.0 12.0 3.0 6.67 MB

The official C# SDK for the Textkernel Tx v10 API. Includes a resume parser (CV parser), job parser, resume search engine, and resume matching engine.

Home Page: https://developer.textkernel.com/tx-platform

License: Apache License 2.0

C# 98.59% CSS 1.26% JavaScript 0.16%
csharp cv cv-parser cv-parsing dotnet job job-parser job-parsing matching nuget parse-resume parser parsing resume resume-parser resume-parsing sdk searching textkernel tx

tx-dotnet's People

Contributors

prestonfox avatar sovren-ci avatar sovren-jparks avatar sovren-jwesson avatar sovren-zebner avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

tx-dotnet's Issues

Unable to filter on lat/long

FilterCriteria.LocationCriteria.Locations[0].GeoCoordinates is a class of the wrong type. It should be a GeoPoint. This causes it not to be respected when it's serialized and sent to the API.

SovrenClient.DeleteMultipleDocuments throws System.NotSupportedException: 'DELETE cannot have a body'

Using Sovren.SDK v1.5.1 and .NET 5.0 and getting this exception:

{
	"ClassName": "System.NotSupportedException",
	"Message": "DELETE cannot have a body",
	"Data": {},
	"InnerException": null,
	"HelpURL": null,
	"StackTraceString": "   at Sovren.Rest.RestRequest.AddJsonBody(String json, Encoding encoding)",
	"RemoteStackTraceString": null,
	"RemoteStackIndex": 0,
	"ExceptionMethod": null,
	"HResult": -2146233067,
	"Source": "Sovren.SDK",
	"WatsonBuckets": null
}

Capturing raw JSON output

I am attempting to store the raw JSON response from a resume parsing using the SDK. I am using the basic example of:

ParseRequest request = new ParseRequest(doc, new ParseOptions());

When examining the SkillsData output in response.Value.ResumeData I am not seeing the values for ID, Name, or PercentOfOverall. The same is happening when looking at the SubTaxonomies. This data is all present when looking at the SkillsData = List<Sovren.Models.Resume.Skills.ResumeTaxonomyRoot> in the response. Is this by design? The information is also displayed when using the demo parser on the Sovren website.

Thank you.

SovrenClient and dependency injection/unit testing

From a customer request:

We have been using the Sovren V10 SDK in a couple of our microservices and for the most part its working great, however there is one issue we’ve had. Since the SovrenClient class is marked as sealed, it has been difficult to mock in tests and register in dependency injection. We have created an adapter class around SovrenClient for the time being as a workaround, but we were curious if there was a reason for this class to be sealed or if some changes could be made to better support dependency injection/unit testing. Our ideal scenario would be to have SovrenClient inherit from an ISovrenClient interface with an extension method provided by the SDK to add ISovrenClient to the DI service registrations (e.g. “services.AddSovrenClient()”).

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.