affinda / affinda-python Goto Github PK
View Code? Open in Web Editor NEWPython client library for the Affinda API
Home Page: https://affinda.com
License: MIT License
Python client library for the Affinda API
Home Page: https://affinda.com
License: MIT License
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
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
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!
The web based interface allows adding of tags. I am wondering if there is any to add / search resumes using the API?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.