Skip to content

greptime instrument sdk for popular LLM (LangChain, OpenAI, etc.)

License

Notifications You must be signed in to change notification settings

GreptimeTeam/greptimeai

Repository files navigation

greptimeai

Observability and analytics tool for LLM framework, service, etc.

Installation

To start, ensure you have Python 3.8 or newer. If you just want to use the package, run:

pip install --upgrade greptimeai

Setup

To get started, create a service by registering greptimeai, and get:

  • host
  • database
  • token

Set it as the GREPTIMEAI_xxx environment variable before using the library:

export GREPTIMEAI_HOST=''
export GREPTIMEAI_DATABASE=''
export GREPTIMEAI_TOKEN=''

or you can pass them via parameters.

Examples

You can find complete guides on greptimeai-cookbook

Contributing

Contributions are highly encouraged!

Pull requests that add support for or fix a bug in a feature will likely be accepted after review.

Licensing

All code in this repository is licensed under the Apache License 2.0.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be licensed as above, without any additional terms or conditions.

About

greptime instrument sdk for popular LLM (LangChain, OpenAI, etc.)

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages