MCPcopy
hub / github.com/AgentOps-AI/agentops / IGenAIAttributes

Interface IGenAIAttributes

app/dashboard/types/ISpan.ts:59–83  ·  view source on GitHub ↗

* OpenAI/LLM specific attributes

Source from the content-addressed store, hash-verified

57 * OpenAI/LLM specific attributes
58 */
59interface IGenAIAttributes {
60 system?: string;
61 prompt?: IMessage[];
62 completion?: IMessage[];
63 request?: {
64 model?: string;
65 [key: string]: any;
66 };
67 response?: {
68 id?: string;
69 model?: string;
70 [key: string]: any;
71 };
72 usage?: {
73 prompt_tokens?: string;
74 completion_tokens?: string;
75 total_tokens?: string;
76 [key: string]: any;
77 };
78 openai?: {
79 api_base?: string;
80 [key: string]: any;
81 };
82 [key: string]: any;
83}
84
85/**
86 * LLM specific attributes

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…