API Reference ============= This section contains the complete API reference for chemsource. Main Classes ------------ .. automodule:: chemsource :members: :undoc-members: :show-inheritance: ChemSource Class ---------------- .. autoclass:: chemsource.ChemSource :members: :undoc-members: :show-inheritance: Configuration ------------- .. automodule:: chemsource.config :members: :undoc-members: :show-inheritance: Classification -------------- .. automodule:: chemsource.classifier :members: :undoc-members: :show-inheritance: Information Retrieval --------------------- .. automodule:: chemsource.retriever :members: :undoc-members: :show-inheritance: Constants --------- .. autodata:: chemsource.config.BASE_PROMPT :annotation: = Default classification prompt template The default prompt template used for chemical compound classification. This prompt instructs the AI model to classify compounds into categories such as MEDICAL, ENDOGENOUS, FOOD, PERSONAL CARE, and INDUSTRIAL.