Coder Social home page Coder Social logo

affinda-python's People

Contributors

andrewbird2 avatar anthony-affinda avatar laraibarjamand avatar mc-alt avatar ralish avatar rockstarr-programmerr avatar tobyzerner avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

affinda-python's Issues

[BUG] Index a new document throws an error

Describe the bug
Index a new document API using create_index_document() returns an error. I ran the exact code from the example and made sure that identifier and index_name both exists.

`from affinda import AffindaAPI, TokenCredential

token = "REPLACE_TOKEN"
index_name = "REPLACE_INDEX_NAME"
identifier = "REPLACE_IDENTIFIER"

credential = TokenCredential(token=token)
client = AffindaAPI(credential=credential)

request_body = {
"document": identifier,
}

resp = client.create_index_document(name=index_name, body=request_body)

print(resp.as_dict())`

This is the error that is returned

{'type': 'validation_error', 'errors': [{'attr': 'non_field_errors', 'code': 'unique', 'detail': 'The fields document, index must make a unique set.'}]}

This used to work last month... Can you help me with this? Thanks!

Environment

  • Client version: '1.5.0'

request help on the underlined technology

Dear expert,

I am quite interested in how you can remove the person photos in a resume, it seems awesome.
Is it based on AI models or just simple libraries can achieve that, I can't find any information about this.

Sincerely hope you can give me some clue. Thanks very much.

Best Regards,
ttbuffey

[BUG] How can I use customData for search?

ResumeSearchParameters() provides custom_data field to add custom data via ResumeSearchParametersCustomData Objects but it's not documented how I can do this.

I would like to search for resume based on Referees. Could you provide a guidance or example?

Thanks!

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.