* OpenAI/LLM specific attributes
| 57 | * OpenAI/LLM specific attributes |
| 58 | */ |
| 59 | interface 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 |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…