Promptedgraphs

Latest version: v0.4.3

Safety actively analyzes 641954 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 2

0.3.1

Custom tracking of apis
python
spacy_usage = Usage(model='spacy')
spacy_usage.start()
ents_spacy = await extract_entities_spacy....
spacy_usage.end()
print(spacy_usage)

Can compare api costs and durations across multiple models

![image](https://github.com/closedloop-technologies/PromptedGraphs/assets/2898137/6656292f-1322-47ee-a976-4ebbd06147e0)

0.3.0

Enables the generation of structured data. We can brainstorm thousands of samples of arbitrary datatypes.

The way to display the results has improved with a cleaner wrapper of the spacy.displacy functionality

0.2.1

Added the ability for nested data structures to be extracted from text and returned in Pydantic DataModels

0.2.0

Implemented a clean way to extract typed objects (via Pydantic) from text.

`data = extract_data(text=msg, output_type=list[UserIntent])`

0.1.0

Initial release
only has entity extraction implemented

Page 2 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.